/* ═══════════════════════════════════════════
   BLACK WING YOGA — Global Styles
   Palette: Cool charcoal + silver/steel
   ═══════════════════════════════════════════ */

:root {
    --bg-deep: #141618;
    --bg-dark: #1a1c1f;
    --bg-card: #1f2225;
    --bg-card-hover: #262a2d;
    --text-primary: #e2e4e8;
    --text-secondary: #9a9ea6;
    --text-muted: #5e6370;
    --accent: #b8bcc6;
    --accent-bright: #d0d4dc;
    --accent-dim: #7a7f8a;
    --border-subtle: rgba(184, 188, 198, 0.1);
    --border-hover: rgba(184, 188, 198, 0.22);
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-weight: 300;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Noise overlay ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, var(--bg-deep) 0%, transparent 100%);
    transition: background 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(20, 22, 24, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--border-subtle);
}

.nav-brand {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 1.25rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-brand:hover {
    color: var(--accent-bright);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-secondary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════
   HERO (Home page only)
   ═══════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow */
.hero::before {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(184, 188, 198, 0.025) 0%, transparent 70%);
    pointer-events: none;
}

.hero-raven {
    width: 70px;
    height: auto;
    margin-bottom: 2.5rem;
    color: var(--accent-dim);
    animation: fadeInDown 1.2s ease-out both;
}

.hero-raven svg {
    width: 100%;
    height: auto;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(3rem, 7vw, 5.5rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero h1 span {
    display: block;
    font-size: 0.35em;
    letter-spacing: 0.4em;
    color: var(--accent);
    margin-top: 0.6rem;
    font-weight: 400;
}

.hero-divider {
    width: 50px;
    height: 1px;
    background: var(--accent-dim);
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.9;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-scroll .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-dim), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   PAGE HEADERS (inner pages)
   ═══════════════════════════════════════════ */

.page-header {
    padding: 10rem 3rem 4rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: 0.06em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 520px;
    margin: 1.5rem auto 0;
}

/* ═══════════════════════════════════════════
   SHARED ELEMENTS
   ═══════════════════════════════════════════ */

.section-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-heading-center {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--text-primary);
    text-align: center;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.section-divider-center {
    width: 40px;
    height: 1px;
    background: var(--accent-dim);
    margin: 0 auto 2rem;
}

.body-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--bg-deep);
    background: var(--accent);
    padding: 0.85rem 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--accent);
}

.btn:hover {
    background: var(--accent-bright);
    border-color: var(--accent-bright);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
}

.btn-ghost:hover {
    background: rgba(184, 188, 198, 0.08);
    color: var(--accent-bright);
}

/* ═══════════════════════════════════════════
   HOME — Intro section
   ═══════════════════════════════════════════ */

.home-intro {
    padding: 6rem 3rem 5rem;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.home-intro-inner {
    max-width: 600px;
    margin: 0 auto;
}

.home-intro-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 2.5rem;
}

.home-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   HOME — Offerings grid
   ═══════════════════════════════════════════ */

.home-offerings {
    padding: 0 3rem 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
}

.offering-card {
    background: var(--bg-dark);
    padding: 2.5rem 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.offering-card:hover {
    background: var(--bg-card-hover);
}

.offering-marker {
    width: 8px;
    height: 1px;
    background: var(--accent-dim);
    margin-bottom: 1.8rem;
    transition: width 0.4s ease, background 0.4s ease;
}

.offering-card:hover .offering-marker {
    width: 24px;
    background: var(--accent);
}

.offering-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    letter-spacing: 0.02em;
}

.offering-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
    flex-grow: 1;
}

.offering-arrow {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-dim);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.offering-card:hover .offering-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════ */

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 3rem 6rem;
    align-items: start;
}

.about-image {
    aspect-ratio: 3 / 4;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid var(--border-subtle);
    pointer-events: none;
}

.image-placeholder {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
}

.about-credentials {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.credentials-heading {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    letter-spacing: 0.03em;
}

.credential {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
    font-size: 0.88rem;
}

.credential-marker {
    color: var(--accent-dim);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.credential-text {
    color: var(--text-secondary);
}

.credential-text strong {
    color: var(--text-primary);
    font-weight: 400;
}

/* Quote */
.about-philosophy {
    padding: 4rem 3rem 6rem;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.pull-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   SCHEDULE PAGE
   ═══════════════════════════════════════════ */

.schedule-page {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 3rem 6rem;
}

.schedule-list {
    margin-bottom: 4rem;
}

.schedule-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.schedule-item:first-child {
    border-top: 1px solid var(--border-subtle);
}

.schedule-day-col {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.schedule-day {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.03em;
}

.schedule-time {
    font-size: 0.8rem;
    color: var(--accent-dim);
    letter-spacing: 0.05em;
}

.schedule-class-name {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.schedule-location {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.schedule-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.schedule-cta {
    text-align: center;
    padding-top: 1rem;
}

.schedule-cta .body-text {
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════
   WORKSHOPS PAGE
   ═══════════════════════════════════════════ */

.workshops-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 3rem 3rem;
}

.workshop-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 2rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.workshop-item:first-child {
    border-top: 1px solid var(--border-subtle);
}

.workshop-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--accent-dim);
    opacity: 0.5;
    padding-top: 0.15rem;
}

.workshop-name {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.workshop-format {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-dim);
    margin-bottom: 1.2rem;
}

.workshop-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.5rem;
}

.workshop-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
}

.workshop-detail {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.detail-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-dim);
}

.detail-value {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.workshops-cta {
    padding: 3rem 3rem 6rem;
    text-align: center;
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════ */

.contact-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 3rem 6rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--bg-dark);
    padding: 2rem;
}

.contact-card-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-dim);
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.contact-card-value {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.6rem;
    transition: color 0.3s ease;
}

a.contact-card-value:hover {
    color: var(--accent-bright);
}

.contact-card-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.contact-prompt {
    padding-top: 1rem;
}

.contact-prompt .section-heading-center {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.prompt-list {
    max-width: 500px;
    margin: 0 auto;
}

.prompt-item {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.prompt-marker {
    color: var(--accent-dim);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

footer {
    border-top: 1px solid var(--border-subtle);
    padding: 3rem;
    text-align: center;
}

.footer-brand {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-dim);
    margin-bottom: 0.6rem;
}

.footer-copy {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 900px) {
    nav { padding: 1.2rem 1.5rem; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 260px;
        height: 100vh;
        background: var(--bg-dark);
        border-left: 1px solid var(--border-subtle);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.2rem;
    }

    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }

    .page-header { padding: 8rem 1.5rem 3rem; }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem 4rem;
    }

    .about-image { max-height: 350px; }

    .offerings-grid { grid-template-columns: 1fr; }

    .home-offerings { padding: 0 1.5rem 4rem; }
    .home-intro { padding: 4rem 1.5rem; }

    .schedule-page { padding: 0 1.5rem 4rem; }

    .schedule-item {
        grid-template-columns: 80px 1fr;
        gap: 1.5rem;
    }

    .workshops-page { padding: 0 1.5rem 3rem; }

    .workshop-item {
        grid-template-columns: 40px 1fr;
        gap: 1rem;
    }

    .workshop-details {
        gap: 1rem 2rem;
    }

    .contact-page { padding: 0 1.5rem 4rem; }
    .contact-grid { grid-template-columns: 1fr; }

    .workshops-cta { padding: 2rem 1.5rem 4rem; }
}

@media (max-width: 500px) {
    .hero h1 { letter-spacing: 0.08em; }
    .hero h1 span { letter-spacing: 0.25em; }

    .schedule-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .workshop-item {
        grid-template-columns: 1fr;
    }

    .workshop-number {
        font-size: 1.2rem;
    }
}
