:root {
    --cream: #f6f1e5;
    --cream-deep: #eee6d4;
    --paper: #fffdf8;
    --forest: #24351e;
    --forest-deep: #172415;
    --moss: #5e7b3c;
    --leaf: #7fae4f;
    --leaf-light: #a6c96f;
    --amber: #c58b3d;
    --brown: #7a4a24;
    --text: #2d3529;
    --muted: #697064;
    --border: rgba(36, 53, 30, 0.14);
    --shadow: 0 18px 50px rgba(36, 53, 30, 0.10);
    --radius: 24px;
    --content: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 90% 8%, rgba(127, 174, 79, 0.12), transparent 28rem),
        linear-gradient(180deg, #faf7ef 0%, var(--cream) 100%);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
}

a {
    color: var(--moss);
}

a:hover {
    color: var(--forest);
}

img {
    max-width: 100%;
}

.container {
    width: min(calc(100% - 2rem), var(--content));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 247, 239, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--forest);
    text-decoration: none;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--leaf-light), var(--moss));
    color: var(--forest-deep);
    box-shadow: 0 8px 20px rgba(94, 123, 60, 0.22);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--forest);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--moss);
}

.hero {
    padding: 7rem 0 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 4rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
    color: var(--moss);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--leaf);
}

h1,
h2,
h3 {
    color: var(--forest);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.08;
}

h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(3rem, 7vw, 6.3rem);
    letter-spacing: -0.045em;
}

h2 {
    margin: 0 0 1rem;
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    letter-spacing: -0.03em;
}

h3 {
    margin: 0 0 0.7rem;
    font-size: 1.45rem;
}

.hero-copy {
    max-width: 680px;
    margin: 1.5rem 0 2rem;
    color: var(--muted);
    font-size: 1.2rem;
}

.button-row {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    background: var(--forest);
    color: #fffdf8;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(36, 53, 30, 0.18);
}

.button:hover {
    background: var(--moss);
    color: white;
}

.button-secondary {
    background: transparent;
    color: var(--forest);
    border: 1px solid var(--border);
    box-shadow: none;
}

.hero-art {
    min-height: 430px;
    position: relative;
    display: grid;
    place-items: center;
}

.growth-orb {
    width: min(100%, 430px);
    aspect-ratio: 1;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255,255,255,0.8), transparent 25%),
        linear-gradient(145deg, #b8d87b, #668b42 66%, #38572d);
    box-shadow:
        inset 0 -30px 60px rgba(23, 36, 21, 0.2),
        0 35px 90px rgba(36, 53, 30, 0.18);
}

.growth-orb::before,
.growth-orb::after {
    content: "";
    position: absolute;
    width: 38%;
    height: 22%;
    border-radius: 100% 0 100% 0;
    background: linear-gradient(135deg, #d1ed91, #6ea843 62%, #315826);
    box-shadow: inset -12px -8px 18px rgba(23, 36, 21, 0.18);
}

.growth-orb::before {
    transform: translate(-23%, 6%) rotate(18deg);
}

.growth-orb::after {
    transform: translate(28%, -32%) rotate(-20deg) scale(0.74);
}

.growth-stem {
    position: absolute;
    width: 5px;
    height: 42%;
    border-radius: 999px;
    background: var(--forest);
    transform: rotate(13deg);
    opacity: 0.7;
}

.section {
    padding: 5.5rem 0;
}

.section-soft {
    background: rgba(255, 253, 248, 0.62);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.08rem;
}

.product-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    border-radius: 32px;
    background:
        radial-gradient(circle at 85% 15%, rgba(127, 174, 79, 0.18), transparent 18rem),
        linear-gradient(145deg, #172415, #26381e 65%, #3b2a16);
    color: #f8f0dc;
    box-shadow: var(--shadow);
}

.product-copy {
    padding: clamp(2rem, 5vw, 5rem);
}

.product-card h2,
.product-card h3 {
    color: #f7efd9;
}

.product-card p {
    color: #d8d4c3;
}

.product-tagline {
    color: var(--leaf-light) !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.product-visual {
    min-height: 460px;
    padding: 3rem;
    display: grid;
    place-items: center;
}

.book-panel {
    width: min(100%, 360px);
    padding: 2rem;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(127, 174, 79, 0.9), rgba(75, 92, 36, 0.78));
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

.book-panel .book-icon {
    font-size: 2.8rem;
}

.book-panel strong {
    display: block;
    margin-top: 1rem;
    color: #fff6de;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.book-panel span {
    color: #e6d29d;
}

.values-grid,
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.value-card,
.info-card {
    padding: 1.6rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.72);
    box-shadow: 0 12px 30px rgba(36, 53, 30, 0.05);
}

.value-number {
    color: var(--leaf);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 700;
}

.page-hero {
    padding: 5.5rem 0 3rem;
}

.page-hero h1 {
    max-width: 900px;
    font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.page-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.15rem;
}

.content {
    padding: 1rem 0 6rem;
}

.prose {
    max-width: 820px;
}

.prose h2 {
    margin-top: 3rem;
    font-size: 2rem;
}

.prose h3 {
    margin-top: 2rem;
}

.prose p,
.prose li {
    color: #4f584a;
}

.prose ul {
    padding-left: 1.4rem;
}

.notice {
    margin: 2rem 0;
    padding: 1.2rem 1.4rem;
    border-left: 4px solid var(--leaf);
    border-radius: 0 14px 14px 0;
    background: rgba(127, 174, 79, 0.10);
}

.contact-list {
    display: grid;
    gap: 1rem;
}

.contact-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border);
}

.contact-row:last-child {
    border-bottom: 0;
}

.contact-label {
    min-width: 120px;
    font-weight: 800;
    color: var(--forest);
}

.site-footer {
    padding: 3rem 0;
    background: var(--forest-deep);
    color: #cdd5c5;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.site-footer .brand {
    color: #fff8e7;
}

.footer-links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #d8dfd0;
    text-decoration: none;
}

.footer-note {
    margin-top: 2rem;
    color: #9fab96;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .hero-grid,
    .product-card {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 4.5rem;
    }

    .hero-art {
        min-height: 330px;
    }

    .growth-orb {
        max-width: 330px;
    }

    .values-grid,
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-visual {
        min-height: auto;
    }
}

@media (max-width: 640px) {
    .nav {
        padding: 0.8rem 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 0.75rem;
    }

    .nav-links {
        gap: 0.9rem;
    }

    .hero {
        padding-top: 3rem;
    }

    .hero-art {
        display: none;
    }

    .values-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .contact-row {
        flex-direction: column;
        gap: 0.3rem;
    }

    .contact-label {
        min-width: 0;
    }
}

.hero-tree-image {
    display: block;
    width: min(100%, 560px);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

/* Tree of Knowledge hero integration */
.hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 2.5rem;
}

.hero-art {
    min-height: 520px;
    overflow: visible;
}

.hero-tree-image {
    width: min(118%, 690px);
    max-width: none;
    margin: -20px -9% -35px auto;
    mix-blend-mode: multiply;
    filter:
        saturate(0.92)
        contrast(1.02)
        drop-shadow(0 28px 35px rgba(36, 53, 30, 0.12));
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 430px;
    }

    .hero-tree-image {
        width: min(100%, 560px);
        margin: 0 auto;
    }
}

/* Integrated Tree of Knowledge hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 78% 48%,
            rgba(197, 139, 61, 0.18),
            rgba(127, 174, 79, 0.08) 30%,
            transparent 62%
        );
}

.hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
    gap: 0;
}

.hero-art {
    min-height: 590px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
}

.hero-tree-image {
    width: min(135%, 790px);
    max-width: none;
    margin: -55px -12% -65px -6%;
    object-fit: contain;
    mix-blend-mode: normal;
    filter:
        saturate(0.94)
        contrast(1.02)
        drop-shadow(0 30px 38px rgba(36, 53, 30, 0.15));
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 430px;
        justify-content: center;
    }

    .hero-tree-image {
        width: min(115%, 620px);
        margin: -30px auto -35px;
    }
}
