/*
 * Globals
 */
@font-face {
    font-family: 'NocturneSerif';
    src: url('../fonts/NocturneSerif-Regular.otf') format('otf'),
    url('../fonts/NocturneSerif-Regular.ttf') format('ttf'),
    url('../fonts/NocturneSerif-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

:root {
    --cta-green: #3F5F55;
    --cta-green-hover: #324D45;
    --cta-green-active: #2B433D;
    --cta-green-border: #35554C;
    --cta-green-focus: rgba(63, 95, 85, 0.45);
}

/*
 * Base structure
 */

body {
    text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
    min-height: 100vh;
    margin: 0;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}


/* Full-bleed background with subtle parallax */
.bg-stage{
    position: fixed;
    inset: 0;
    z-index: -3;
    background: url("../images/forest-1.webp") center/cover no-repeat;
    transform: translate3d(0,0,0);
    will-change: transform;
}

/* Desktop layout: fixed sidebar + scrollable main content */
.shell{
    min-height: 100vh;
}

.sidebar{
    position: fixed;
    top: 0;
    height: 100vh;
    padding: clamp(28px, 4vw, 48px);
    display: none;
}

@media (min-width: 992px){
    .sidebar{ display: flex; align-items: center; }
}

#mobileMenu {
    background: linear-gradient(to bottom, rgba(33, 37, 41, 1) 10%, rgba(0, 0, 0, 0) 60%);
}

nav.navbar {
    z-index: 20;
}

.nav-stack, #mobileMenu{
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'NocturneSerif', "Times New Roman", Times, serif;
    letter-spacing: .2px;
    text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.nav-stack li{ margin: 0 0 26px 0; }
.nav-stack a{
    color: rgba(255,255,255,.92);
    text-decoration: none;
    font-size: clamp(30px, 3vw, 48px);
    font-weight: 500;
    display: inline-block;
    padding: .1rem .25rem;
    border-radius: .75rem;
    transition: transform .15s ease, opacity .15s ease, background-color .15s ease;
}
.nav-stack a:hover{
    transform: translateX(4px);
    opacity: .95;
}
.nav-stack a.active{
    color: #fff;
}

/* Mobile nav: offcanvas */
.mobile-bar{
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(0,0,0,.25);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Main scrolling area */
main {

}

.panel{
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: clamp(18px, 3vw, 48px);
}

.panel-inner{
    max-width: 980px;
}

/* Content card for readability on background */
.glass{
    background: rgba(10,12,12,.30);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 1.25rem;
    padding: clamp(18px, 3vw, 36px);
    box-shadow: 0 24px 50px rgba(0,0,0,.35);
    backdrop-filter: blur(6px);
}

.kicker{
    color: rgba(255,255,255,.70);
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .8rem;
}

.headline{
    font-family: 'NocturneSerif', "Times New Roman", Times, serif;
    font-weight: 600;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.05;
    margin: .6rem 0 1.4rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px rgba(255,255,255,.50) solid;
}

.leadish{
    color: rgba(255,255,255,.70);
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    line-height: 1.6;
}

.text-accent {
    font-family: 'NocturneSerif', "Times New Roman", Times, serif;
}

.cta-row .btn{
    border-radius: 999px;
    padding: .75rem 1.1rem;
}

/* Hero art with subtle parallax drift */
.art-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
}
.art-layer{
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    will-change: transform;
}
.art-layer img{
    height: auto;
    filter: drop-shadow(0 24px 40px rgba(0,0,0,.55));
}
.art-layer .box{
    width: min(620px, 100%);
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    .art-layer .box{
        transform: translateY(-80px);
    }
}

/* Section dividers */
.section-rule{
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
    margin: 18px 0;
}

/* Reduced motion: keep it accessible + publisher-friendly */
@media (prefers-reduced-motion: reduce){
    html { scroll-behavior: auto; }
    .bg-stage, .bg-stage::after, .art-layer { transform: none !important; }
}


/* Solid CTA Button */
.btn-cta {
    background-color: var(--cta-green);
    border-color: var(--cta-green-border);
    color: #ffffff;
    font-weight: 600;
    letter-spacing: .02em;
    padding: .55rem 1.25rem;
    transition: background-color .15s ease,
    border-color .15s ease,
    box-shadow .15s ease,
    transform .08s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
}

.btn-cta:hover {
    background-color: var(--cta-green-hover);
    border-color: var(--cta-green-hover);
    color: #ffffff;
}

.btn-cta:active {
    background-color: var(--cta-green-active);
    border-color: var(--cta-green-active);
    transform: translateY(1px);
}

.btn-cta:focus-visible {
    box-shadow: 0 0 0 0.25rem var(--cta-green-focus);
}

/* Outline Version */
.btn-cta-outline {
    background: transparent;
    color: var(--cta-green);
    border: 1px solid var(--cta-green);
    padding: .75rem 1.25rem;
    font-weight: 600;
    transition: all .15s ease;
}

.btn-cta-outline:hover {
    background: var(--cta-green);
    color: #fff;
}