/* The Himalayan Touch styles.
   Shared: page-hero, balance-cta-section (assets/css/custom.css). */

body.page-template-himalayan-touch-page {
    --ht-navy: #0c1c38;
    --ht-text: #3d4656;
    --ht-muted: #6b717a;
    --ht-gold: #b8976b;
    --ht-sage-bg: #f3f5ea;
}

/* ---- Shared bits ---- */
.ht-title {
    margin: 0 0 14px;
    color: var(--ht-navy);
    font-family: var(--font-secondary);
    font-size: var(--fs-h2);
    font-weight: 600;
    line-height: 1.15;
}
.ht-kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #454b52;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.ht-kicker--side::after {
    content: '';
    width: 34px;
    height: 1px;
    background: var(--ht-gold);
}
.ht-kicker--under {
    flex-direction: column;
    gap: 12px;
}
.ht-kicker--under::after {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--ht-gold);
}
.ht-heading {
    margin-bottom: 34px;
    text-align: center;
}
.ht-heading .ht-title {
    margin-top: 14px;
}
.ht-sub {
    margin: 0;
    color: #6f736f;
    font-size: var(--fs-body);
}
.ht-rule {
    display: block;
    width: 48px;
    height: 2px;
    margin: 0 auto 28px;
    background: var(--ht-gold);
}
.ht-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 3px;
    background: #465127;
    color: #fff;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .2s ease;
}
.ht-btn:hover {
    background: #363f1e;
    color: #fff;
}

/* ---- Intro ---- */
.ht-intro {
    padding: 78px 0 70px;
    background: #fff;
    text-align: center;
}
.ht-intro p {
    margin: 0 auto 18px;
    color: var(--ht-text);
    font-size: var(--fs-lead);
    line-height: 1.6;
}
.ht-intro .ht-title {
    margin-bottom: 26px;
}

/* ---- Two traditions ---- */
.ht-traditions {
    padding: 64px 0 70px;
    background: var(--ht-sage-bg);
}
.ht-venn {
    position: relative;
    width: min(660px, 100%);
    aspect-ratio: 660 / 400;
    margin: 0 auto 40px;
    container-type: inline-size;
}
.ht-venn__circle {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60.6%;
    aspect-ratio: 1;
    border-radius: 50%;
    text-align: center;
}
.ht-venn__circle--left {
    left: 0;
    padding-right: 20%;
    background: radial-gradient(circle at 40% 40%, #e8ecdb, #dfe5cf);
    color: #0e3616;
}
.ht-venn__circle--right {
    right: 0;
    padding-left: 20%;
    background: radial-gradient(circle at 60% 40%, #f8e8cf, #f2dcb9);
    color: #5e320e;
    mix-blend-mode: multiply;
}
.ht-venn__circle svg,
.ht-venn__center svg {
    width: 9cqw;
    height: 9cqw;
    margin-bottom: 1.4cqw;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ht-venn__circle h3 {
    margin: 0 0 1.4cqw;
    color: inherit;
    font-family: var(--font-secondary);
    font-size: 4.2cqw;
    font-weight: 600;
    line-height: 1.1;
}
.ht-venn__circle p {
    margin: 0;
    color: #636963;
    font-size: 2.4cqw;
    line-height: 1.55;
}
.ht-venn__center {
    position: absolute;
    top: 0;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 21%;
    height: 60.6cqw;
    transform: translateX(-50%);
    color: #1d351d;
    font-family: var(--font-secondary);
    font-size: 2.6cqw;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}
.ht-venn__center svg {
    width: 7cqw;
    height: 7cqw;
}
.ht-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    text-align: center;
}
.ht-points__item {
    padding: 0 24px;
}
.ht-points__item + .ht-points__item {
    border-left: 1px solid #c4c7b9;
}
.ht-points__item > span,
.ht-trio__item > span,
.ht-practices__item > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.ht-points__item > span {
    width: 80px;
    height: 80px;
    margin-bottom: 18px;
}
.ht-points__item svg,
.ht-trio__item svg,
.ht-practices__item svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ht-points__item svg { width: 42px; height: 42px; }
.ht-points__item--green > span { background: #dce4cd; color: #113818; }
.ht-points__item--sand > span { background: #f4e1c3; color: #5c3411; }
.ht-points__item--sky > span { background: #d1e8f6; color: #0e4671; }
.ht-points__item p {
    margin: 0;
    color: #575e65;
    font-size: var(--fs-body);
    line-height: 1.55;
}

/* ---- Body / Breath / Mind ---- */
.ht-process {
    padding: 64px 0 64px;
    background: #fff;
}
.ht-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    text-align: center;
}
.ht-trio__item {
    padding: 0 26px;
}
.ht-trio__item + .ht-trio__item {
    border-left: 1px solid #d9dbd6;
}
.ht-trio__item > span {
    width: 104px;
    height: 104px;
    margin-bottom: 14px;
}
.ht-trio__item svg { width: 54px; height: 54px; }
/* Body / Breath / Mind illustrations (13 Oct) - same round PNGs as Knowledge & Insights */
.ht-trio__img {
    display: block;
    width: 150px;
    height: 150px;
    margin: 0 auto 16px;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 6px 14px rgb(60 40 20 / 12%));
}
@media (max-width: 575px) {
    .ht-trio__img {
        width: 130px;
        height: 130px;
    }
}
.ht-trio__item--body > span { background: #dfe7d4; color: #133d17; }
.ht-trio__item--breath > span { background: #d6ecf8; color: #133c6d; }
.ht-trio__item--mind > span { background: #f5e6d1; color: #6e3416; }
.ht-trio__item h3 {
    margin: 0 0 10px;
    font-family: var(--font-secondary);
    font-size: var(--fs-h3);
    font-weight: 600;
}
.ht-trio__item--body h3 { color: #133d17; }
.ht-trio__item--breath h3 { color: #133c6d; }
.ht-trio__item--mind h3 { color: #6e3416; }
.ht-trio__item p {
    margin: 0;
    color: #5f636b;
    font-size: var(--fs-body);
    line-height: 1.55;
}
.ht-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 960px;
    margin: 36px auto 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}
.ht-flow__step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--ht-navy);
    font-family: var(--font-secondary);
    font-size: var(--fs-lead);
    font-weight: 600;
}
.ht-flow__step::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.ht-flow__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 9px;
    left: calc(50% + 26px);
    width: calc(100% - 52px);
    height: 2px;
    background: linear-gradient(90deg, #c9cdc4 calc(100% - 8px), transparent 0) no-repeat,
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='%23c9cdc4' stroke-width='1.5'%3E%3Cpath d='M2 1l5 4-5 4'/%3E%3C/svg%3E") right center / 10px 10px no-repeat;
    overflow: visible;
}
.ht-flow__step--body::before { background: #88a16a; }
.ht-flow__step--breath::before { background: #b8e1f7; }
.ht-flow__step--mind::before { background: #f4d4a3; }
.ht-flow__step--awareness::before { background: #93a870; }
.ht-flow__step--body { color: #133d17; }
.ht-flow__step--breath { color: #133c6d; }
.ht-flow__step--mind { color: #6e3416; }
.ht-flow__step--awareness { color: #133d17; }

/* ---- Practices ---- */
.ht-practices {
    padding: 64px 0 60px;
    background: #eff3e5;
}
.ht-practices__row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 1060px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.ht-practices__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #5b605e;
    font-size: var(--fs-body);
    text-align: center;
}
.ht-practices__item + .ht-practices__item {
    border-left: 1px solid #cdd3c2;
}
.ht-practices__item > span {
    width: 86px;
    height: 86px;
}
.ht-practices__item svg { width: 46px; height: 46px; }
.ht-practices__item--sage > span { background: #dae3c8; color: #4f5b42; }
.ht-practices__item--sky > span { background: #d9ebf7; color: #265b95; }
.ht-practices__item--sand > span { background: #f3e2c6; color: #703f19; }
.ht-practices__item--mauve > span { background: #e2d8d9; color: #535352; }
.ht-practices__item--leaf > span { background: #d8e1c6; color: #2a4422; }
.ht-practices__note {
    margin: 42px auto 0;
    color: #6f736f;
    font-size: var(--fs-body);
    line-height: 1.6;
    text-align: center;
}

/* ---- Legacy ---- */
.ht-legacy {
    padding: 70px 0;
    background: #f8f0e5;
}
.ht-legacy__row {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 70px;
    align-items: center;
}
.ht-legacy__figure img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
}
.ht-legacy__content .ht-title {
    margin: 14px 0 20px;
}
.ht-legacy__content p {
    margin: 0 0 16px;
    color: #5d5c58;
    font-size: var(--fs-body);
    line-height: 1.6;
}
.ht-legacy__content .ht-btn {
    margin-top: 14px;
}

/* ---- Two panels ---- */
.ht-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.ht-panel {
    position: relative;
    overflow: hidden;
    padding: 50px clamp(28px, 4vw, 64px) 60px;
}
.ht-panel--sky {
    padding-left: var(--container-edge);
    background: #e2f3fd;
}
.ht-panel--white {
    background: #fff;
}
.ht-panel__leaf {
    position: absolute;
    right: -10px;
    bottom: -30px;
    width: 200px;
    fill: #cfe3ef;
    stroke: #b7d1e0;
    stroke-width: 1.2;
    opacity: .7;
    pointer-events: none;
}
.ht-panel--white .ht-panel__leaf {
    fill: none;
    stroke: #bcd3e2;
}
.ht-panel__leaf path:first-child {
    fill: none;
}
.ht-panel > *:not(svg) {
    position: relative;
}
.ht-panel__title {
    margin: 22px 0 18px;
    color: #031335;
    font-family: var(--font-secondary);
    font-size: var(--fs-h2);
    font-weight: 600;
    line-height: 1.15;
}
.ht-panel p {
    max-width: 560px;
    margin: 0 0 14px;
    color: #404b54;
    font-size: var(--fs-body);
    line-height: 1.6;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .ht-points,
    .ht-trio {
        grid-template-columns: 1fr;
        row-gap: 36px;
    }
    .ht-points__item + .ht-points__item,
    .ht-trio__item + .ht-trio__item {
        border-left: 0;
    }
    .ht-practices__row {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 30px;
    }
    .ht-practices__item:nth-child(4) {
        border-left: 0;
    }
    .ht-legacy__row {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    .ht-legacy__figure {
        max-width: 280px;
        margin: 0 auto;
    }
    .ht-panels {
        grid-template-columns: 1fr;
    }
    .ht-panel--sky {
        padding-left: 28px;
    }
}
@media (max-width: 575px) {
    .ht-flow {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 24px;
    }
    .ht-flow__step::after {
        display: none;
    }
    .ht-practices__row {
        grid-template-columns: repeat(2, 1fr);
    }
    .ht-practices__item + .ht-practices__item {
        border-left: 0;
    }
}

/* Desktop sizing for icons and cards */
.ht-venn__circle svg { width: 11cqw; height: 11cqw; }
.ht-points__item svg { width: 48px; height: 48px; }
.ht-points__item p, .ht-trio__item p { font-size: var(--fs-lead); }
.ht-trio__item svg { width: 62px; height: 62px; }
.ht-practices__item svg { width: 54px; height: 54px; }
.ht-practices__item { font-size: var(--fs-lead); }
.ht-legacy__content p { font-size: var(--fs-lead); }
