/* =====================
   RESET & VARIABLES
   ===================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black:        #0a0a0a;
    --white:        #ffffff;
    --cream:        #f9f7f4;
    --violet:       #7C3AED;
    --violet-light: #A78BFA;
    --dark-text:    #1a1117;
    --grey-text:    #6b7280;
    --border-light: rgba(0, 0, 0, 0.08);
    --border-dark:  rgba(255, 255, 255, 0.08);
    --heading:      'Playfair Display', serif;
    --body:         'DM Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
}

a    { color: inherit; text-decoration: none; }
img  { max-width: 100%; display: block; }
ul   { list-style: none; }

/* page transition overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 9999;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

body.page-loaded::before { opacity: 0; }

/* =====================
   LAYOUT
   ===================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section-light {
    background: var(--cream);
    color: var(--dark-text);
}

.section-eyebrow,
.page-eyebrow {
    display: block;
    font-family: var(--body);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--violet-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-light .section-eyebrow,
.section-light .page-eyebrow {
    color: var(--violet);
}

.section-title {
    font-family: var(--heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 3.5rem;
}

/* =====================
   NAVIGATION
   ===================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.2rem 2.5rem;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-dark);
}

.nav-brand {
    font-family: var(--heading);
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    color: var(--white);
    margin-right: auto;
    letter-spacing: 0.01em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-family: var(--body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
    font-family: var(--body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    padding: 0.55rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--violet);
    border-color: var(--violet);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
    display: inline-block;
    font-family: var(--body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    padding: 0.9rem 2.2rem;
    background: var(--violet);
    color: var(--white);
    border: 1px solid var(--violet);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
    text-transform: uppercase;
}

.btn:hover {
    background: #6D28D9;
    border-color: #6D28D9;
}

.btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

/* =====================
   HERO
   ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 9rem 2.5rem 6rem;
    background-image: url('../images/hands.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.6) 60%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-eyebrow {
    display: block;
    font-family: var(--body);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--violet-light);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-headline {
    font-family: var(--heading);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-headline em {
    font-style: italic;
    color: var(--violet-light);
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    max-width: 500px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =====================
   PHILOSOPHY
   ===================== */
.philosophy {
    padding: 6rem 0;
    text-align: center;
}

.philosophy-quote {
    font-family: var(--heading);
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 400;
    font-style: italic;
    color: var(--dark-text);
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto 1.5rem;
}

.philosophy cite {
    font-family: var(--body);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--grey-text);
    text-transform: uppercase;
    font-style: normal;
}

/* =====================
   SERVICES OVERVIEW
   ===================== */
.services-overview {
    padding: 7rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-dark);
}

.service-card-num {
    font-family: var(--body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--violet-light);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: var(--heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    margin-bottom: 1.8rem;
}

.card-link {
    font-family: var(--body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--violet-light);
    transition: letter-spacing 0.25s;
    text-transform: uppercase;
}

.card-link:hover { letter-spacing: 0.25em; }

/* =====================
   CREDENTIALS STRIP
   ===================== */
.credentials {
    padding: 5rem 0;
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.credential {
    text-align: center;
}

.credential h4 {
    font-family: var(--body);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 0.5rem;
}

.credential p {
    font-family: var(--heading);
    font-size: 1rem;
    font-style: italic;
    color: var(--dark-text);
}

.credential-divider {
    width: 1px;
    height: 50px;
    background: var(--border-light);
}

/* =====================
   CTA BANNER
   ===================== */
.cta-banner {
    padding: 8rem 0;
    text-align: center;
    border-top: 1px solid var(--border-dark);
}

.cta-banner h2 {
    font-family: var(--heading);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

/* =====================
   FOOTER
   ===================== */
.footer {
    border-top: 1px solid var(--border-dark);
    padding-top: 4.5rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-name {
    font-family: var(--heading);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.footer-tagline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-col h4 {
    font-family: var(--body);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 0.65rem;
}

.footer-col ul li,
.footer-col ul li a {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--violet-light); }

.footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding: 1.5rem 2.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.22);
    letter-spacing: 0.05em;
}

/* =====================
   PAGE HEADER
   ===================== */
.page-header {
    padding: 10rem 0 5rem;
    border-bottom: 1px solid var(--border-dark);
}

.page-header h1 {
    font-family: var(--heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 520px;
    line-height: 1.75;
}

/* =====================
   ABOUT VIDEO
   ===================== */
.about-video {
    position: relative;
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}

.about-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-unmute {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-family: var(--body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    padding: 1rem 2rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.2s, border-color 0.2s, opacity 0.4s ease;
}

.video-unmute:hover {
    background: rgba(124, 58, 237, 0.5);
    border-color: var(--violet-light);
}

/* =====================
   ABOUT PAGE
   ===================== */
.about-section {
    padding: 6rem 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
    margin-bottom: 6rem;
    padding-bottom: 6rem;
    border-bottom: 1px solid var(--border-dark);
}

.about-text p {
    font-size: 0.97rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.85;
    margin-bottom: 1.2rem;
}

.about-image img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    filter: grayscale(20%);
}

/* LINEAGE */
.lineage {
    margin-bottom: 6rem;
    padding-bottom: 6rem;
    border-bottom: 1px solid var(--border-dark);
}

.lineage-chain {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 2rem;
}

.lineage-node {
    width: 100%;
    max-width: 360px;
    padding: 1.2rem 1.8rem;
    border: 1px solid var(--border-dark);
    text-align: center;
}

.lineage-node h4 {
    font-family: var(--heading);
    font-size: 0.95rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 0.3rem;
    color: var(--white);
}

.lineage-node p {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

.lineage-node--highlight {
    border-color: var(--violet);
    background: rgba(124, 58, 237, 0.08);
}

.lineage-node--highlight h4 { color: var(--violet-light); }
.lineage-node--highlight p  { color: var(--violet-light); opacity: 0.7; }

.lineage-arrow {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    padding: 0.35rem 0;
}

/* TWO COL */
.about-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.about-block h3 {
    font-family: var(--heading);
    font-size: 1.4rem;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 1rem;
}

.about-block p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.85;
}

.about-full-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    filter: grayscale(15%);
}

/* =====================
   LESSONS PAGE
   ===================== */
.lesson-types {
    padding: 6rem 0;
}

.lesson-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.lesson-card {
    padding: 3rem;
    background: var(--white);
    border-top: 3px solid var(--violet);
}

.lesson-card h3 {
    font-family: var(--heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.lesson-card p {
    font-size: 0.92rem;
    color: var(--grey-text);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.lesson-details {
    list-style: none;
    border-top: 1px solid var(--border-light);
}

.lesson-details li {
    font-size: 0.88rem;
    color: var(--grey-text);
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.lesson-details li::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    background: var(--violet);
    border-radius: 50%;
    flex-shrink: 0;
}

.lesson-details strong { color: var(--dark-text); }

/* WHAT TO EXPECT */
.what-to-expect {
    padding: 7rem 0;
}

.expect-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 5rem;
}

.expect-item h4 {
    font-family: var(--heading);
    font-size: 1.1rem;
    font-weight: 600;
    font-style: italic;
    color: var(--violet-light);
    margin-bottom: 0.6rem;
}

.expect-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
}

/* HANDS IMAGE */
.hands-image {
    height: 400px;
    overflow: hidden;
}

.hands-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(20%) brightness(0.7);
}

/* BOOKING FORM */
.booking-section {
    padding: 6rem 0 8rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 820px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-family: var(--body);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    color: var(--grey-text);
    text-transform: uppercase;
}

.label-note {
    font-size: 0.6rem;
    color: var(--grey-text);
    opacity: 0.7;
    letter-spacing: 0.1em;
    text-transform: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-light);
    color: var(--dark-text);
    font-family: var(--body);
    font-size: 0.95rem;
    padding: 0.65rem 0;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--violet);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▾';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey-text);
    pointer-events: none;
    font-size: 0.85rem;
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: var(--cream);
    color: var(--dark-text);
}

.booking-submit,
.contact-submit {
    align-self: flex-start;
    margin-top: 1rem;
}

.form-note {
    font-size: 0.78rem;
    color: var(--grey-text);
    margin-top: 0.5rem;
}

/* =====================
   CONTACT PAGE
   ===================== */
.contact-section {
    padding: 5rem 0 8rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* =====================
   MOBILE
   ===================== */
@media (max-width: 900px) {
    .services-grid    { grid-template-columns: 1fr; }
    .credentials-grid { grid-template-columns: 1fr 1fr; }
    .credential-divider { display: none; }
    .about-intro      { grid-template-columns: 1fr; gap: 3rem; }
    .about-two-col    { grid-template-columns: 1fr; gap: 3rem; }
    .lesson-grid      { grid-template-columns: 1fr; }
    .expect-grid      { grid-template-columns: 1fr; gap: 2.5rem; }
    .lineage-node     { max-width: 100%; }
    .footer-inner     { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .form-row         { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    body { font-size: 18px; }

    .nav { padding: 1rem 1.5rem; }

    .nav-cta    { display: none; }
    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #000000;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 6rem;
        gap: 2.5rem;
        z-index: 9999;
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        font-size: 1.1rem;
        letter-spacing: 0.2em;
    }

    .hero         { padding: 7rem 1.5rem 4rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; }

    .credentials-grid { grid-template-columns: 1fr; }
    .footer-inner     { grid-template-columns: 1fr; }
    .footer-bottom    { padding: 1.5rem 1.5rem; }
}
