/*
Theme Name: Kurkalang GrowWell V2
Theme URI: https://kurkalang.com/
Author: Kurkalang GrowWell
Description: Minimal landing page theme for the Kurkalang GrowWell group.
Version: 1.0.0-beta.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: kurkalang-growwell
*/

:root {
    --growwell-navy: #102B55;
    --growwell-teal: #0E8F7A;
    --growwell-orange: #FF8B26;
    --growwell-ink: #14233D;
    --growwell-muted: #5E6B7D;
    --growwell-paper: #FFF8F0;
    --growwell-white: #FFFFFF;
    --growwell-line: rgba(16, 43, 85, 0.16);
    --growwell-shadow: 0 22px 60px rgba(16, 43, 85, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--growwell-ink);
    background: var(--growwell-paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.screen-reader-text,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    z-index: 1000;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    padding: 0.75rem 1rem;
    clip: auto;
    color: var(--growwell-white);
    background: var(--growwell-navy);
    border-radius: 6px;
}

.growwell-site {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(255, 248, 240, 0.16), var(--growwell-paper) 64%),
        var(--growwell-paper);
}

.growwell-header {
    position: sticky;
    z-index: 20;
    top: 0;
    background: rgba(255, 248, 240, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--growwell-line);
}

.growwell-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1180px, calc(100% - 2rem));
    min-height: 72px;
    margin: 0 auto;
    gap: 1.25rem;
}

.growwell-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--growwell-navy);
    font-weight: 800;
    text-decoration: none;
}

.growwell-brand-mark {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    color: var(--growwell-white);
    background: linear-gradient(135deg, var(--growwell-navy), var(--growwell-teal) 58%, var(--growwell-orange));
    border-radius: 8px;
    font-weight: 900;
}

.growwell-menu-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    padding: 0;
    color: var(--growwell-navy);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--growwell-line);
    border-radius: 8px;
    cursor: pointer;
}

.growwell-menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.growwell-menu-toggle span:not(.screen-reader-text) + span:not(.screen-reader-text) {
    margin-top: 4px;
}

.growwell-menu-toggle:hover,
.growwell-menu-toggle:focus-visible {
    color: var(--growwell-white);
    background: var(--growwell-navy);
    outline: none;
}

.growwell-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.growwell-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.55rem 0.72rem;
    color: var(--growwell-navy);
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.growwell-menu a:hover,
.growwell-menu a:focus-visible {
    color: var(--growwell-white);
    background: var(--growwell-teal);
    outline: none;
}

.growwell-menu .is-live {
    color: var(--growwell-white);
    background: var(--growwell-navy);
}

.growwell-hero {
    position: relative;
    min-height: clamp(540px, 58vw, 790px);
    overflow: hidden;
    background: #fff7ef;
}

.growwell-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 248, 240, 0.88) 0%, rgba(255, 248, 240, 0.52) 36%, rgba(255, 248, 240, 0.1) 72%),
        linear-gradient(180deg, rgba(255, 248, 240, 0) 64%, var(--growwell-paper) 100%);
}

.growwell-hero-image,
.growwell-hero picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.growwell-hero-image {
    object-fit: cover;
    object-position: center right;
}

.growwell-hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 2rem));
    min-height: inherit;
    margin: 0 auto;
}

.growwell-rising-title {
    position: absolute;
    top: 36%;
    left: 1.5%;
    max-width: min(92vw, 980px);
    margin: 0;
    color: var(--growwell-navy);
    font-size: clamp(3rem, 5.65vw, 6.05rem);
    font-weight: 850;
    line-height: 0.96;
    letter-spacing: 0;
    white-space: nowrap;
    transform: rotate(-10deg);
    transform-origin: left center;
    background: linear-gradient(105deg, var(--growwell-navy) 5%, var(--growwell-teal) 54%, var(--growwell-orange) 96%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 18px rgba(255, 248, 240, 0.68);
}

.growwell-rising-title span {
    font-weight: 760;
}

.growwell-hero-copy {
    position: absolute;
    bottom: 9%;
    left: 1.5%;
    max-width: 510px;
    color: var(--growwell-navy);
}

.growwell-hero-copy p {
    margin: 0;
    font-size: clamp(1.05rem, 1.45vw, 1.35rem);
    font-weight: 650;
}

.growwell-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.1rem;
}

.growwell-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.78rem 1.15rem;
    color: var(--growwell-white);
    background: var(--growwell-teal);
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(14, 143, 122, 0.22);
}

.growwell-button:hover,
.growwell-button:focus-visible {
    background: var(--growwell-navy);
    outline: none;
}

.growwell-button.is-secondary {
    color: var(--growwell-navy);
    background: rgba(255, 255, 255, 0.74);
    border-color: var(--growwell-line);
    box-shadow: none;
}

.growwell-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.growwell-section-inner {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.growwell-section-kicker {
    margin: 0 0 0.45rem;
    color: var(--growwell-teal);
    font-size: 0.82rem;
    font-weight: 850;
    text-transform: uppercase;
}

.growwell-section h2 {
    max-width: 720px;
    margin: 0;
    color: var(--growwell-navy);
    font-size: clamp(2rem, 4.2vw, 3.55rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.growwell-section-lede {
    max-width: 720px;
    margin: 1rem 0 0;
    color: var(--growwell-muted);
    font-size: 1.06rem;
}

.growwell-work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.growwell-card {
    display: flex;
    min-height: 310px;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--growwell-line);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(16, 43, 85, 0.08);
}

.growwell-card.is-live {
    color: var(--growwell-white);
    background:
        linear-gradient(135deg, rgba(16, 43, 85, 0.96), rgba(14, 143, 122, 0.92)),
        var(--growwell-navy);
    box-shadow: var(--growwell-shadow);
}

.growwell-card-icon {
    display: inline-grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 8px;
    color: var(--growwell-white);
    background: var(--growwell-navy);
    font-size: 1.55rem;
    font-weight: 850;
}

.growwell-card.is-live .growwell-card-icon {
    color: var(--growwell-navy);
    background: var(--growwell-white);
}

.growwell-card h3 {
    margin: 1rem 0 0.55rem;
    color: inherit;
    font-size: 1.24rem;
    line-height: 1.2;
}

.growwell-card p {
    margin: 0;
    color: var(--growwell-muted);
}

.growwell-card.is-live p {
    color: rgba(255, 255, 255, 0.84);
}

.growwell-card-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--growwell-line);
    color: var(--growwell-navy);
    font-size: 0.94rem;
    font-weight: 700;
}

.growwell-card-note summary {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.5rem 0.75rem;
    color: var(--growwell-navy);
    background: rgba(14, 143, 122, 0.1);
    border-radius: 999px;
    cursor: pointer;
    list-style: none;
}

.growwell-card-note summary::-webkit-details-marker {
    display: none;
}

.growwell-card-note summary::before {
    width: 0.55rem;
    height: 0.55rem;
    margin-right: 0.5rem;
    content: "";
    background: var(--growwell-orange);
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(255, 139, 38, 0.16);
}

.growwell-card-note[open] summary {
    color: var(--growwell-white);
    background: var(--growwell-navy);
}

.growwell-card-note p {
    margin: 0.85rem 0 0;
    color: var(--growwell-muted);
}

.growwell-card.is-live .growwell-card-note {
    border-top-color: rgba(255, 255, 255, 0.28);
    color: var(--growwell-white);
}

.growwell-card .growwell-button {
    align-self: flex-start;
    margin-top: 1.15rem;
    background: var(--growwell-orange);
    box-shadow: none;
}

.growwell-card .growwell-button:hover,
.growwell-card .growwell-button:focus-visible {
    color: var(--growwell-navy);
    background: var(--growwell-white);
}

.growwell-footer {
    padding: 1.7rem 0 2.2rem;
    color: var(--growwell-muted);
    border-top: 1px solid var(--growwell-line);
}

.growwell-footer-inner {
    display: flex;
    justify-content: space-between;
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.94rem;
}

@media (max-width: 960px) {
    .growwell-nav {
        align-items: center;
        flex-direction: row;
        padding: 0.85rem 0;
    }

    .growwell-menu {
        justify-content: flex-start;
    }

    .growwell-work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .growwell-header {
        position: relative;
    }

    .growwell-nav {
        position: relative;
        gap: 0.75rem;
        min-height: 66px;
    }

    .growwell-brand {
        min-width: 0;
    }

    .growwell-brand span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .growwell-menu-toggle {
        display: grid;
        flex: 0 0 auto;
        margin-left: auto;
    }

    .growwell-menu {
        position: absolute;
        top: calc(100% - 0.15rem);
        right: 0;
        display: none;
        width: min(320px, calc(100vw - 2rem));
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 0.55rem;
        background: rgba(255, 248, 240, 0.98);
        border: 1px solid var(--growwell-line);
        border-radius: 8px;
        box-shadow: var(--growwell-shadow);
    }

    .growwell-menu.is-open {
        display: flex;
    }

    .growwell-menu a {
        justify-content: flex-start;
        width: 100%;
        text-align: left;
    }

    .growwell-hero {
        min-height: 650px;
    }

    .growwell-hero::after {
        background:
            linear-gradient(180deg, rgba(255, 248, 240, 0.84) 0%, rgba(255, 248, 240, 0.7) 44%, rgba(255, 248, 240, 0.25) 72%, var(--growwell-paper) 100%);
    }

    .growwell-hero-image {
        object-position: 64% center;
        opacity: 0.74;
    }

    .growwell-hero-content {
        display: flex;
        min-height: inherit;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2.7rem;
    }

    .growwell-rising-title {
        position: relative;
        top: auto;
        left: auto;
        max-width: 100%;
        font-size: clamp(2.45rem, 12vw, 4.35rem);
        white-space: normal;
        transform: rotate(-3deg);
    }

    .growwell-hero-copy {
        position: relative;
        bottom: auto;
        left: auto;
        max-width: 94%;
        margin-top: 1.35rem;
    }

    .growwell-work-grid {
        grid-template-columns: 1fr;
    }

    .growwell-card {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
