/* ============================================================
   HOPE WELLNESS — hopewellness.asia
   Pinegrow project stylesheet (Plain CSS — no framework)
   Palette: forest #173D30 | forest-soft #214B3C | cream #F5F0E3 | yellow #F2D548
   ============================================================ */
:root {
    --forest: #173D30;
    --forest-soft: #214B3C;
    --cream: #F5F0E3;
    --yellow: #F2D548;
    --header-h: 76px;
}

/* ---------- Reset & base ---------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    width: 100%;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    color: var(--forest);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 4px;
}

/* Anchor offset so the sticky header never covers a section title */
section[id],
main[id] {
    scroll-margin-top: calc(var(--header-h) + 8px);
}

/* ---------- Shared editorial primitives ---------- */
.editorial-inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: clamp(54px, 7vw, 112px) clamp(20px, 5.6vw, 95px) clamp(58px, 7vw, 110px);
}

.eyebrow {
    margin: 0 0 clamp(28px, 4vw, 58px);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .17em;
}

.display-heading {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    line-height: .86;
    letter-spacing: .005em;
}

.display-heading span {
    display: block;
    width: fit-content;
}

.intro {
    max-width: 760px;
    margin: clamp(30px, 4vw, 58px) 0 0;
    font-size: clamp(15px, 1.3vw, 20px);
    line-height: 1.75;
}

.reveal {
    animation: rise-in .7s ease-out both;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Photo slots (image + text fallback) ---------- */
.photo-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* When the image file is missing, hide it and show the text note */
.photo-img[data-missing="true"] {
    display: none;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--cream);
    border-bottom: 1px solid rgba(23, 61, 48, .2);
}

.header-inner {
    width: 100%;
    max-width: 1600px;
    margin: auto;
    padding: 18px clamp(20px, 3.2vw, 54px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 30px;
    line-height: 1;
    letter-spacing: .025em;
    text-decoration: none;
    white-space: nowrap;
    color: var(--forest);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.nav-item {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .025em;
    text-decoration: none;
    white-space: nowrap;
    color: var(--forest);
    transition: opacity .18s ease;
}

.nav-item:hover {
    opacity: .62;
}

.connect {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 21px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    white-space: nowrap;
    background: var(--forest);
    color: var(--cream);
    transition: transform .18s ease;
}

.connect:hover {
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
}

.menu-button {
    min-height: 44px;
    min-width: 44px;
    padding: 0 12px;
    border: 1px solid var(--forest);
    background: var(--cream);
    color: var(--forest);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    cursor: pointer;
}

.mobile-panel {
    border-top: 1px solid rgba(23, 61, 48, .2);
    padding: 12px 20px 24px;
}

.mobile-panel[hidden] {
    display: none;
}

.mobile-panel a {
    display: block;
    padding: 12px 0;
}

.mobile-panel .connect {
    display: inline-flex;
    margin-top: 10px;
    padding: 12px 22px;
}

@media (max-width: 1100px) {
    .desktop-nav,
    .desktop-connect {
        display: none !important;
    }

    .mobile-menu {
        display: block;
    }
}

/* ============================================================
   01 — HERO
   ============================================================ */
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
    min-height: 680px;
}

.copy-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(38px, 5vw, 82px) clamp(24px, 5.6vw, 95px) 38px;
    background: var(--cream);
}

.hero-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(76px, 8.1vw, 150px);
    font-weight: 400;
    line-height: .84;
    letter-spacing: .007em;
    margin: 0;
}

.hero-heading span {
    display: block;
    white-space: nowrap;
}

.hero-heading .accent-line {
    color: var(--yellow);
}

.subhead {
    font-size: clamp(16px, 1.3vw, 20px);
    font-weight: 700;
    line-height: 1.5;
    margin: clamp(28px, 3.5vw, 36px) 0 12px;
}

.body-copy {
    max-width: 52ch;
    margin: 0;
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.action-link {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .2s ease;
}

.action-link:hover {
    transform: translateY(-2px);
}

.action-primary {
    background: var(--forest);
    color: var(--cream);
}

.action-primary:hover {
    box-shadow: 5px 5px 0 var(--yellow);
}

.action-secondary {
    background: var(--cream);
    color: var(--forest);
    border: 1px solid var(--forest);
}

.action-secondary:hover {
    box-shadow: 5px 5px 0 var(--yellow);
}

@media (max-width: 800px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .copy-panel {
        padding: 42px 24px 40px;
    }

    .hero-heading {
        font-size: clamp(68px, 14vw, 110px);
    }
}

@media (max-width: 480px) {
    .hero-heading {
        font-size: clamp(56px, 15.5vw, 72px);
    }

    .copy-panel {
        padding: 36px 20px;
    }

    .action-link {
        width: 100%;
    }
}

/* ============================================================
   02 — WHY HOPE
   ============================================================ */
.why-section {
    background: var(--cream);
}

.why-section .display-heading {
    font-size: clamp(62px, 9.3vw, 152px);
    line-height: .87;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3.2vw, 52px);
    margin-top: clamp(62px, 8vw, 126px);
}

.benefit {
    min-width: 0;
}

.benefit-rule {
    height: 1px;
    width: 100%;
    background: var(--forest);
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 24px 0 20px;
    color: var(--forest);
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
}

.benefit h3 {
    margin: 0 0 15px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .075em;
    line-height: 1.5;
}

.benefit p {
    margin: 0;
    max-width: 37ch;
    font-size: clamp(15px, 1vw, 18px);
    line-height: 1.8;
}

.visual-section {
    margin-top: clamp(70px, 9vw, 142px);
}

.why-photo-frame {
    min-height: clamp(310px, 39vw, 580px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    position: relative;
    background: var(--forest);
}

.why-photo-frame::after {
    content: "";
    position: absolute;
    inset: clamp(12px, 2vw, 28px);
    border: 1px solid rgba(245, 240, 227, .37);
    pointer-events: none;
    z-index: 2;
}

.closing {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: clamp(38px, 5vw, 74px);
}

.closing-rule {
    width: 36px;
    height: 4px;
    flex: none;
    margin-top: 11px;
    background: var(--yellow);
}

.closing p {
    margin: 0;
    font-size: clamp(18px, 1.25vw, 18px);
    font-weight: 600;
    line-height: 1.6;
}

.closing-line {
    margin: 0;
    font-size: clamp(18px, 1.25vw, 18px);
    font-weight: 600;
    line-height: 1.6;
}

@media (max-width: 750px) {
    .benefits {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .benefit-icon {
        margin: 18px 0 12px;
    }

    .visual-section {
        margin-top: 76px;
    }
}

@media (max-width: 480px) {
    .why-section .display-heading {
        font-size: clamp(48px, 12.1vw, 64px);
    }

    .why-photo-frame {
        min-height: 0;
        height: 300px;
        padding: 20px;
    }

    .photo-img {
        object-position: center 35%;
    }
}

/* Safety net — HP kecil (320–360px) */
@media (max-width: 360px) {
    .why-photo-frame {
        height: 240px;
    }
}

/* ============================================================
   03 — WHAT WE DO
   ============================================================ */
.what-section {
    background: var(--cream);
}

.what-section .display-heading {
    font-size: clamp(76px, 10vw, 160px);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 48px);
    margin-top: clamp(68px, 8vw, 126px);
}

.approach-column {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.column-rule {
    width: 100%;
    height: 1px;
    flex: none;
    background: var(--forest);
}

.column-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding-top: 18px;
}

.number {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(58px, 6vw, 94px);
    line-height: 1;
}

.column-label {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .14em;
}

.approach-photo-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 4.4;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid rgba(245, 240, 227, .32);
    background: var(--forest);
    overflow: hidden;
}

.approach-photo-frame::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(245, 240, 227, .38);
    pointer-events: none;
    z-index: 2;
}

.column-title {
    margin: 28px 0 12px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 2.8vw, 30px);
    font-weight: 400;
    line-height: 1.02;
}

.column-copy {
    margin: 0;
    max-width: 42ch;
    font-size: clamp(15px, 1vw, 18px);
    line-height: 1.8;
}

.what-closing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px 40px;
    margin-top: clamp(70px, 8vw, 128px);
    padding-top: 24px;
    border-top: 1px solid rgba(23, 61, 48, .5);
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 15px 22px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .045em;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cta:hover {
    transform: translateY(-2px);
}

.cta-forest {
    background: var(--forest);
    color: var(--cream);
}

.cta-forest:hover {
    box-shadow: 5px 5px 0 var(--yellow);
}

.cta-yellow {
    background: var(--yellow);
    color: var(--forest);
}

.cta-yellow:hover {
    box-shadow: 5px 5px 0 var(--cream);
}

@media (max-width: 750px) {
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .approach-photo-frame {
        aspect-ratio: 4 / 3;
    }

    .column-title {
        margin-top: 22px;
    }
}

@media (max-width: 480px) {
    .what-section .display-heading {
        font-size: clamp(72px, 18vw, 92px);
    }

    .approach-photo-frame {
        aspect-ratio: 1 / 1;
    }

    .photo-img {
        object-position: center 35%;
    }

    .cta {
        width: 100%;
    }
}

/* ============================================================
   04 — OUR STORY  (dark)
   ============================================================ */
.story-section {
    background: var(--forest);
    color: var(--cream);
}

.story-section .display-heading {
    font-size: clamp(72px, 10vw, 158px);
}

.story-section .eyebrow {
    color: var(--yellow);
}

.story-section .display-heading .accent-line {
    color: var(--yellow);
}

.story {
    max-width: 760px;
    margin: clamp(32px, 4vw, 60px) 0 0;
    font-size: clamp(15px, 1.25vw, 19px);
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(270px, .82fr);
    gap: clamp(34px, 5vw, 84px);
    align-items: end;
    margin-top: clamp(76px, 10vw, 158px);
}

.story-photo-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    padding: 11px;
    border: 1px solid rgba(245, 240, 227, .48);
    background: var(--forest-soft);
}

.story-photo-frame::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(245, 240, 227, .22);
    pointer-events: none;
    z-index: 2;
}

.story-photo-frame::after {
    content: "+";
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: 400;
    color: var(--yellow);
    z-index: 3;
}

.founder-frame {
    aspect-ratio: 1.18 / 1;
}

.founder-details {
    padding-bottom: clamp(4px, 2vw, 28px);
}

.small-rule {
    width: 55px;
    height: 2px;
    margin-bottom: 29px;
    background: var(--yellow);
}

.founder-name {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(54px, 6vw, 90px);
    font-weight: 400;
    line-height: .95;
    color: var(--cream);
}

.founder-role {
    margin: 16px 0 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--yellow);
}

.founder-line {
    margin: 22px 0 0;
    max-width: 37ch;
    font-size: 15px;
    line-height: 1.8;
    color: var(--cream);
}

.quote-block {
    display: grid;
    grid-template-columns: 3px minmax(0, 1fr);
    gap: clamp(20px, 3vw, 44px);
    max-width: 1060px;
    margin: clamp(74px, 9vw, 140px) 0;
}

.quote-rule {
    width: 3px;
    height: 100%;
    min-height: 100px;
    background: var(--yellow);
}

.quote-text {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(35px, 4.5vw, 70px);
    line-height: 1.08;
    color: var(--cream);
}

.strip-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.strip-heading span {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .15em;
    white-space: nowrap;
    color: var(--yellow);
}

.strip-heading::after {
    content: "";
    display: block;
    height: 1px;
    flex: 1;
    background: rgba(245, 240, 227, .38);
}

.photo-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 30px);
}

.support-frame {
    aspect-ratio: 1.26 / 1;
}

.story-social {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px 48px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(245, 240, 227, .4);
    margin-top: clamp(78px, 9vw, 140px);
    padding-top: 29px;
}

.social-label {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 400;
    line-height: 1;
    color: var(--cream);
}

.social-copy {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--cream);
}

@media (max-width: 750px) {
    .feature-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .founder-frame {
        aspect-ratio: 4 / 3;
    }

    .photo-strip {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .support-frame {
        aspect-ratio: 4 / 3;
    }

    .story-social {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .story-section .display-heading {
        font-size: clamp(64px, 16vw, 82px);
    }

    .founder-frame {
        aspect-ratio: 1 / 1;
    }

    .support-frame {
        aspect-ratio: 4 / 3;
    }

    .photo-img {
        object-position: center 35%;
    }
}

/* ============================================================
   05 — EXPLORE & CONNECT  (dark)
   ============================================================ */
.explore-section {
    background: var(--forest);
    color: var(--cream);
}

.explore-section .display-heading {
    font-size: clamp(66px, 10vw, 158px);
}

.explore-section .eyebrow {
    color: var(--yellow);
}

.explore-section .display-heading .accent-line {
    color: var(--yellow);
}

.destination-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 48px);
    margin-top: clamp(82px, 10vw, 154px);
}

.destination {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-top: 1px solid rgba(245, 240, 227, .55);
    padding-top: 22px;
}

.destination-photo-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1.3 / 1;
    margin: 20px 0 25px;
    border: 1px solid rgba(245, 240, 227, .45);
    background: var(--forest-soft);
    text-align: center;
    overflow: hidden;
}

.destination-photo-frame::after {
    content: "+";
    position: absolute;
    top: 14px;
    right: 18px;
    color: var(--yellow);
    font-size: 20px;
    z-index: 3;
}

.destination .number {
    margin: 0 0 17px;
    font-size: clamp(56px, 6vw, 86px);
    line-height: .9;
    color: var(--yellow);
}

.destination-title {
    min-height: 2em;
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(33px, 3.1vw, 50px);
    font-weight: 400;
    line-height: 1;
    color: var(--cream);
}

.destination-copy {
    margin: 14px 0 28px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--cream);
}

.destination-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 15px;
    margin-top: auto;
    padding: 8px 0;
    border-bottom: 1px solid var(--yellow);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .045em;
    text-decoration: none;
    color: var(--cream);
    transition: color .18s ease;
}

.destination-link::after {
    content: "\2197";
    font-size: 20px;
    line-height: 1;
}

.destination-link:hover {
    color: var(--yellow);
}

.resources {
    margin-top: clamp(86px, 11vw, 160px);
}

.resources-heading {
    margin: 0 0 24px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--yellow);
}

.resource-link {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 19px 0;
    border-top: 1px solid rgba(245, 240, 227, .4);
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.6;
    text-decoration: none;
    color: var(--cream);
    transition: color .18s ease;
}

.resource-link:last-of-type {
    border-bottom: 1px solid rgba(245, 240, 227, .4);
}

.resource-link::after {
    content: "\2197";
    flex: none;
}

.resource-link:hover {
    color: var(--yellow);
}

@media (max-width: 850px) {
    .destination-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .destination-title {
        min-height: 0;
    }

    .destination-photo-frame {
        max-width: 650px;
        aspect-ratio: 1.65 / 1;
    }
}

@media (max-width: 480px) {
    .explore-section .display-heading {
        font-size: clamp(58px, 15vw, 78px);
    }

    .destination-photo-frame {
        aspect-ratio: 1.35 / 1;
    }

    .resource-link {
        gap: 12px;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    width: 100%;
    background: var(--forest);
    border-top: 1px solid rgba(245, 240, 227, .5);
    color: var(--cream);
}

.footer-inner {
    width: 100%;
    max-width: 1600px;
    margin: auto;
    padding: clamp(35px, 5vw, 70px) clamp(20px, 5.6vw, 95px) 42px;
}

.footer-accent {
    width: 56px;
    height: 3px;
    margin-bottom: 27px;
    background: var(--yellow);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, .65fr));
    gap: 34px 55px;
}

.footer-brand {
    margin: 0 0 12px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(41px, 4.5vw, 66px);
    font-weight: 400;
    line-height: 1;
    color: var(--cream);
}

.footer-detail {
    margin: 7px 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--cream);
}

.footer-column-title {
    margin: 3px 0 17px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--yellow);
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-link {
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    color: var(--cream);
    transition: color .18s ease;
}

.footer-link:hover {
    color: var(--yellow);
}

.website-link {
    display: inline-block;
    margin-top: 16px;
    border-bottom: 1px solid var(--yellow);
}

@media (max-width: 850px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand-block {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        gap: 33px 20px;
    }
}

/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }

    .reveal {
        animation: none;
    }
}
