:root {
    --color-primary: #71826b;
    --color-secondary: #f7f2ec;
    --color-accent: #eab395;
    --color-text: #3d2e26;
    --color-panel: rgba(255, 255, 255, .64);
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Cormorant Garamond', serif;
    --space-sm: .5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --radius-md: .75rem;
    --radius-lg: 1.5rem;
    --transition-fast: .3s ease;
    --shadow-soft: 0 .75rem 1.875rem rgba(61, 46, 38, .12);
}

* {
    box-sizing: border-box
}

html{
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    color: var(--color-text);
    background: radial-gradient(circle at 10% 5%, #fff9f3, var(--color-secondary));
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none
}

img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover
}

main {
    display: grid;
    gap: var(--space-lg)
}

.top_shell {
    position: relative;
    z-index: 20;
    padding: var(--space-md) 5%
}

.top_inner {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    backdrop-filter: blur(.75rem);
    background: var(--color-panel);
    border-radius: var(--radius-lg);
    padding: .8rem 1.1rem;
    border: .0625rem solid rgba(61, 46, 38, .15)
}

.brand_text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700
}

.wide_nav {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    justify-content: center
}

.top_link {
    padding: .35rem .6rem;
    border-radius: 99rem;
    font-size: .92rem
}

.top_link:hover, .top_link.is_active {
    background: rgba(113, 130, 107, .15)
}

.menu_trigger {
    display: none;
    border: 0;
    background: #fff;
    border-radius: .7rem;
    padding: .5rem;
    width: 2.5rem;
    height: 2.5rem;
    margin-left: auto
}

.menu_trigger span {
    display: block;
    width: 100%;
    height: .125rem;
    background: var(--color-text);
    margin: .25rem 0
}

.mobile_drawer {
    display: none;
    max-width: 75rem;
    margin: .5rem auto 0;
    background: rgba(255, 255, 255, .92);
    border-radius: var(--radius-md);
    padding: .75rem;
    box-shadow: var(--shadow-soft)
}

.mobile_drawer.is_open {
    display: grid;
    gap: .45rem
}

.drawer_link {
    padding: .5rem .6rem;
    border-radius: .5rem
}

.drawer_link.is_active, .drawer_link:hover {
    background: rgba(113, 130, 107, .17)
}

.hero_canvas, .banner_panel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    min-height: 28rem;
    display: grid;
    align-items: end
}

.hero_canvas > img, .banner_panel > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero_canvas::before, .banner_panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(61, 46, 38, .74), rgba(61, 46, 38, .2))
}

.hero_content, .banner_copy {
    position: relative;
    z-index: 2;
    max-width: 75rem;
    margin: 0 auto;
    width: 100%;
    padding: var(--space-xl) 5%;
    color: #fff
}

.eyebrow_mark {
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .78rem
}

h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin: 0 0 .75rem
}

h1 {
    font-size: clamp(2rem, 4vw, 3.7rem)
}

h2 {
    font-size: clamp(1.5rem, 2.3vw, 2.4rem)
}

section:not(.hero_canvas):not(.banner_panel) {
    max-width: 75rem;
    margin: 0 auto;
    width: min(92%, 75rem)
}

.grid_breathe, .grid_cards, .product_grid, .legal_blocks {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: var(--space-md)
}

.grid_breathe article, .grid_cards article, .product_grid article, .legal_blocks article {
    background: var(--color-panel);
    padding: 1.15rem;
    border-radius: var(--radius-md);
    border: .0625rem solid rgba(61, 46, 38, .11);
    box-shadow: var(--shadow-soft)
}

.split_tracks, .contact_layout {
    display: grid;
    grid-template-columns:1.1fr 1fr;
    gap: var(--space-lg);
    align-items: center
}

.split_tracks img {
    border-radius: var(--radius-lg);
    max-height: 24rem
}

.btn_main, .btn_soft {
    display: inline-block;
    border-radius: 99rem;
    padding: .65rem 1.1rem;
    margin-top: .4rem;
    transition: transform var(--transition-fast), background var(--transition-fast)
}

.btn_main {
    background: var(--color-accent);
    color: #2f2018
}

.btn_soft {
    background: rgba(113, 130, 107, .15)
}

.btn_main:hover, .btn_soft:hover {
    transform: scale(1.03)
}

.cta_plain {
    text-align: center;
    background: rgba(255, 255, 255, .52);
    border-radius: var(--radius-lg);
    padding: 1.5rem
}

.lab_picker, .journal_meter, .emotion_cloud, .audio_horizon, .map_shell, .legal_shell {
    background: var(--color-panel);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    border: .0625rem solid rgba(61, 46, 38, .11)
}

.chip_set, .tag_cloud, .audio_list {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem
}

.cue_chip, .mood_tag, .audio_btn {
    border: .0625rem solid rgba(61, 46, 38, .2);
    background: #fff;
    border-radius: 99rem;
    padding: .5rem .9rem
}

.mood_tag.is_active {
    background: rgba(113, 130, 107, .22)
}

.pacer_zone {
    text-align: center
}

.pulse_ring {
    width: 7rem;
    height: 7rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: .18rem solid var(--color-primary);
    animation: pulseRing 2.8s infinite
}

@keyframes pulseRing {
    0% {
        transform: scale(.88);
        opacity: .8
    }
    50% {
        transform: scale(1.08);
        opacity: .45
    }
    100% {
        transform: scale(.88);
        opacity: .8
    }
}

#audio-wave {
    height: 5rem;
    border-radius: 99rem;
    background: linear-gradient(90deg, rgba(113, 130, 107, .2), rgba(234, 179, 149, .35), rgba(113, 130, 107, .2));
    margin-bottom: 1rem
}

body.twilight {
    background: #2d2520;
    color: #f6ece1
}

body.twilight .audio_horizon {
    background: rgba(22, 16, 14, .7)
}

input, textarea {
    width: 100%;
    border: .0625rem solid rgba(61, 46, 38, .2);
    border-radius: .6rem;
    padding: .6rem;
    font: inherit
}

.contact_form {
    display: grid;
    gap: .8rem
}

.check_line {
    display: flex;
    gap: .5rem;
    align-items: flex-start
}

.check_line input {
    width: auto;
    margin-top: .2rem
}

iframe {
    width: 100%;
    min-height: 20rem;
    border: 0;
    border-radius: var(--radius-md)
}

.site_foot {
    padding: 1rem 5% 2rem
}

.foot_inner {
    max-width: 75rem;
    margin: 0 auto;
    display: grid;
    gap: .7rem;
    justify-items: center;
    font-size: .92rem
}

.foot_nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem .8rem
}

.consent_popup {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    max-width: 20rem;
    background: #fff;
    border-radius: var(--radius-md);
    padding: .9rem;
    box-shadow: var(--shadow-soft);
    z-index: 25
}

.consent_popup.hide {
    display: none
}

.pause_overlay {
    position: fixed;
    inset: 0;
    background: rgba(61, 46, 38, .88);
    color: #fff;
    display: grid;
    place-items: center;
    gap: .8rem;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
    z-index: 60
}

.pause_overlay.show {
    opacity: 1;
    pointer-events: all
}

.pause_shape {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: .8rem;
    border: .15rem solid #fff;
    animation: breatheShape 4s linear 1
}

@keyframes breatheShape {
    0% {
        transform: scale(.8)
    }
    50% {
        transform: scale(1.15)
    }
    100% {
        transform: scale(.8)
    }
}

@media (max-width: 1023px) {
    .wide_nav {
        display: none
    }

    .menu_trigger {
        display: block
    }

    .grid_breathe, .grid_cards, .product_grid, .legal_blocks, .split_tracks, .contact_layout {
        grid-template-columns:1fr
    }
}

@media (min-width: 1024px) {
    .mobile_drawer {
        display: none !important
    }
}

@media (max-width: 40rem) {
    .hero_canvas, .banner_panel {
        min-height: 22rem
    }

    .top_shell {
        padding-inline: 4%
    }

    .hero_content, .banner_copy {
        padding-inline: 4%
    }
}
