/* ===================================
   Fonts
   =================================== */

@font-face {
    font-family: 'PP Neue Montreal';
    src: url('../fonts/OTF/PPNeueMontreal-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Neue Montreal';
    src: url('../fonts/OTF/PPNeueMontreal-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Neue Montreal';
    src: url('../fonts/OTF/PPNeueMontreal-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Neue Montreal';
    src: url('../fonts/OTF/PPNeueMontreal-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PP Neue Montreal';
    src: url('../fonts/OTF/PPNeueMontreal-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'PP Neue Montreal';
    src: url('../fonts/OTF/PPNeueMontreal-SemiBolditalic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* ===================================
   Variables
   =================================== */

:root {
    --color-dark: #201914;
    --color-light: #D7D1C3;
    
    /* Fonts */
    --font-family: 'PP Neue Montreal', system-ui, -apple-system, sans-serif;
    --font-weight-thin: 100;
    --font-weight-book: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Typography Scale */
    --text-hero: 10.75rem;           /* 172px */
    --text-hero-lh: 12.875rem;       /* 206px */
    
    --text-h1: 6.875rem;              /* 110px */
    --text-h1-lh: 6.875rem;          /* 110px */
    
    --text-h2: 4.375rem;             /* 70px */
    --text-h2-lh: 4.5rem;            /* 72px */
    
    --text-display: 3.75rem;         /* 60px */
    --text-display-lh: 3.75rem;      /* 60px */
    
    --text-lg: 1.5rem;               /* 24px */
    --text-lg-lh: 1.85rem;           /* 28px */
    
    --text-lead: 1.25rem;            /* 20px */
    --text-lead-lh: 1.625rem;        /* 26px */
    
    --text-body: 1.125rem;           /* 18px */
    --text-body-lh: 1.4rem;         /* 22px */
    
    --text-sm: 1rem;                 /* 16px */
    --text-sm-lh: 1.5rem;            /* 24px */
    
    /* Typography - Hero (Home) - fluid */
    --h1-hero-size: calc((100vw - var(--container-padding) * 2) / 7.8);
    --h1-hero-line-height: 1.2;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    
    /* Layout */
    --container-padding: 3.75rem;  /* 60px */
    --grid-gap: 4rem;
    
    /* Grid - 12 column concept */
    --col-left: 1fr;   /* 6 columns = 50% */
    --col-right: 1fr;  /* 6 columns = 50% */
}

/* ===================================
   Reset & Base
   =================================== */

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

html {
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-medium);
    line-height: 1.6;
    background-color: var(--color-light);
    color: var(--color-dark);
}

.body--dark {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.body--dark a {
    color: var(--color-light);
}

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

/* Text link button style */
.btn-text {
    font-size: var(--text-sm);
    line-height: var(--text-sm-lh);
    text-decoration: underline;
    text-underline-offset: 0.25em;
    text-transform: uppercase;
}

/* Lead intro text - 24px/28px medium */
.text-intro {
    font-size: var(--text-lg);
    line-height: var(--text-lg-lh);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-md);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
}

input, select, textarea {
    font: inherit;
}

/* ===================================
   Typography - Page Titles
   =================================== */

/* Page titles - 140px/142px */
.about-hero__title,
.contact-hero__title,
.services-hero__title,
.booking-hero__title {
    font-size: var(--text-h1);
    line-height: var(--text-h1-lh);
    font-weight: var(--font-weight-medium);
}

/* Section titles - 140px */
.work-types__title {
    font-size: var(--text-h1);
    line-height: var(--text-h1-lh);
    font-weight: var(--font-weight-medium);
}

/* ===================================
   Header
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem var(--container-padding); /* 20px vertical */
}


.header__logo {
    flex-shrink: 0;
    transition: opacity 0.3s ease;
}

/* Home page: logo hidden initially, shows on scroll */
.header--home .header__logo {
    opacity: 0;
    pointer-events: none;
}

.header--home.header--scrolled .header__logo {
    opacity: 1;
    pointer-events: auto;
}

/* Header background on scroll */
.header--scrolled {
    background-color: var(--color-light);
}

.body--dark .header--scrolled {
    background-color: var(--color-dark);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Nav - 16px */
.nav__link {
    text-transform: uppercase;
    font-size: var(--text-sm);
    line-height: var(--text-sm-lh);
}

.nav__cta {
    margin-left: var(--space-sm);
    text-transform: uppercase;
    font-size: 1rem; /* 16px */
    line-height: var(--text-sm-lh);
    padding-block: 0.5rem; /* 8px */
    padding-inline: 1rem; /* 16px */
    background-color: var(--color-dark);
    color: var(--color-light);
}

/* Main page: light bg, dark text */
.body--home .nav__cta {
    background-color: var(--color-light);
    color: var(--color-dark);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    text-transform: uppercase;
    font-size: var(--text-sm);
    line-height: var(--text-sm-lh);
    font-family: inherit;
    font-weight: var(--font-weight-medium);
    color: inherit;
    cursor: pointer;
    padding: 0;
}

.nav-toggle__close {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
    display: inline;
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-light);
    color: var(--color-dark);
    z-index: 99;
    padding: 6rem var(--container-padding) var(--container-padding);
    overflow-y: auto;
}

.body--dark .mobile-menu {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-menu__link {
    font-size: var(--text-h2);
    line-height: var(--text-h2-lh);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
}

.mobile-menu__cta {
    display: block;
    text-transform: uppercase;
    font-size: var(--text-sm);
    line-height: var(--text-sm-lh);
    padding: 1rem;
    background-color: var(--color-dark);
    color: var(--color-light);
    text-decoration: none;
    text-align: center;
    margin-top: auto;
}

.body--dark .mobile-menu__cta {
    background-color: var(--color-light);
    color: var(--color-dark);
}

/* Prevent scroll when menu is open */
.body--menu-open {
    overflow: hidden;
}

/* ===================================
   Main
   =================================== */

.main {
    padding: 5rem var(--container-padding) 0;
}

/* ===================================
   Two-Column Layout (Reusable)
   =================================== */

.layout-two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
}

@media (min-width: 826px) {
    .layout-two-col {
        grid-template-columns: var(--col-left) var(--col-right);
        gap: var(--grid-gap);
    }
}

/* ===================================
   Hero Section (Home)
   =================================== */

.hero {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 5rem);
    padding: var(--space-md) 0 var(--space-xl);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.hero__title {
    font-size: var(--h1-hero-size);
    line-height: var(--h1-hero-line-height);
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
    transition: transform 0.05s linear;
    position: relative;
    z-index: 2;
}

.hero__image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 50%;
    height: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Lock scroll during title animation */
.body--scroll-locked {
    overflow: hidden;
    height: 100vh;
}

.hero__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    gap: var(--space-md);
    position: relative;
    z-index: 2;
}

.hero__subtitle {
    font-size: var(--text-lead);
    line-height: var(--text-lead-lh);
}

.hero__cta {
    flex-shrink: 0;
}

/* ===================================
   Approach Section (Home)
   =================================== */

.approach {
    padding-top: 140px;
    padding-bottom: 0;
}

.approach__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 826px) {
    .approach__container {
        grid-template-columns: var(--col-left) var(--col-right);
        gap: var(--grid-gap);
    }
}

/* 70px/72px */
.approach__title {
    font-size: var(--text-h2);
    line-height: var(--text-h2-lh);
    font-weight: var(--font-weight-medium);
}

/* 24px/32px */
.approach__text {
    font-size: var(--text-lg);
    line-height: var(--text-lg-lh);
}

/* Visual with rocks background and hands overlay */
.approach__visual {
    position: relative;
    width: calc(100% + var(--container-padding) * 2);
    margin-left: calc(-1 * var(--container-padding));
    margin-top: 160px;
    overflow: hidden;
    height: 94vh;
}

.approach__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.approach__overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(45%, 400px);
    height: auto;
    border-radius: 50%;
}

/* Mobile: taller visual */
@media (max-width: 825px) {
    .approach__visual {
        height: 90vh;
    }
    
    .approach__overlay {
        width: 65%;
    }
}

/* ===================================
   About Section (Home)
   =================================== */

.about {
    padding: 160px var(--container-padding) var(--space-2xl);
}

/* 60px/60px centered */
.about__lead {
    font-size: var(--text-display);
    line-height: var(--text-display-lh);
    text-align: center;
    max-width: 50rem;
    margin: 0 auto var(--space-xl);
}

.about__media {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    max-width: 58rem;
    margin: 0 auto;
}

.about__figure {
    margin: 0;
}

.about__image {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    filter: grayscale(100%);
}

.about__aside {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* 20px/24px */
.about__text {
    font-size: var(--text-body);
    line-height: var(--text-body-lh);
}


/* Desktop: two columns, text at top, cta at bottom */
@media (min-width: 826px) {
    .about__media {
        flex-direction: row;
        gap: var(--grid-gap);
        align-items: stretch;
    }
    
    .about__figure {
        flex: 0 0 auto;
    }
    
    .about__image {
        margin: 0;
    }
    
    .about__aside {
        flex: 1;
        max-width: 24rem; /* ~384px */
        justify-content: space-between;
    }
}

/* Responsive typography for about__lead */
@media (max-width: 1024px) {
    .about__lead {
        font-size: 3rem; /* 48px */
        line-height: 3rem;
    }
}

@media (max-width: 825px) {
    .about__lead {
        font-size: 2rem; /* 32px */
        line-height: 2.25rem; /* 36px */
    }
}

/* ===================================
   Sessions Section (Home)
   =================================== */

/* Home page sessions section */
.sessions--home {
    background-color: var(--color-light);
    color: var(--color-dark);
    padding: var(--space-xl) var(--container-padding);
    margin: 0 calc(-1 * var(--container-padding));
}

.sessions--home a {
    color: var(--color-dark);
}

/* 70px/72px title */
.sessions__title {
    font-size: var(--text-h2);
    line-height: var(--text-h2-lh);
    font-weight: var(--font-weight-medium);
    max-width: 50%;
}

.sessions__intro {
    font-size: var(--text-lg);
    line-height: var(--text-lg-lh);
}

.sessions__list {
    margin-top: 2.5rem; /* 40px */
}

.sessions__cta {
    display: inline-block;
    margin-top: var(--space-lg);
}

/* ===================================
   Services Page
   =================================== */

/* 20px/24px */
.services-hero__intro {
    font-size: var(--text-body);
    line-height: var(--text-body-lh);
}


.services-hero__right .sessions {
    margin-top: 2.5rem; /* 40px */
}

/* ===================================
   Session Card
   =================================== */

.session {
    display: flex;
    flex-direction: column;
    padding: 2.1875rem 0; /* 35px */
    border-top: 1px solid var(--color-dark);
    border-bottom: 1px solid var(--color-dark);
}

.session + .session {
    border-top: none;
}

/* 30px/32px */
.session__title {
    font-size: var(--text-lg);
    line-height: var(--text-lg-lh);
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.25rem;
}

/* 24px/32px */
.session__subtitle {
    font-size: var(--text-lead);
    line-height: var(--text-lead-lh);
    margin-bottom: var(--space-sm);
}

/* 20px/24px */
.session__description {
    font-size: var(--text-body);
    line-height: var(--text-body-lh);
    margin-bottom: var(--space-sm);
}

/* 20px/24px, bold */
.session__price {
    font-size: var(--text-body);
    line-height: var(--text-body-lh);
    font-weight: var(--font-weight-bold);
}

/* ===================================
   Work Types (Services page)
   =================================== */

/* 20px/24px */
.work-types__intro {
    font-size: var(--text-body);
    line-height: var(--text-body-lh);
}

.work-types__list {
    margin-top: 2.5rem; /* 40px */
    display: flex;
    flex-direction: column;
}

.work-type {
    display: flex;
    flex-direction: column;
    padding: 2.1875rem 0; /* 35px */
    border-top: 1px solid var(--color-dark);
    border-bottom: 1px solid var(--color-dark);
}

.work-type + .work-type {
    border-top: none;
}

/* 30px/32px */
.work-type__title {
    font-size: var(--text-lg);
    line-height: var(--text-lg-lh);
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.625rem; /* 10px */
}

/* 20px/24px */
.work-type__description {
    font-size: var(--text-body);
    line-height: var(--text-body-lh);
}

/* ===================================
   About Page
   =================================== */

/* 30px/32px - medium */

.about-hero__content {
    margin-bottom: var(--space-md);
}

/* 20px/24px */
.about-hero__content p {
    font-size: var(--text-body);
    line-height: var(--text-body-lh);
    margin-bottom: var(--space-sm);
}

.about-hero__content p:last-child {
    margin-bottom: 0;
}

/* ===================================
   Story Slider (Instagram-style)
   =================================== */

.story-slider {
    position: relative;
    margin-top: var(--space-md);
    max-width: 470px;
}

.story-slider__progress {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.375rem;
    z-index: 10;
}

.story-slider__bar {
    flex: 1;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.story-slider__bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: rgba(255, 255, 255, 0.9);
    transition: width 0.1s linear;
}

.story-slider__bar--active .story-slider__bar-fill {
    animation: fillBar 5s linear forwards;
}

.story-slider__bar--completed .story-slider__bar-fill {
    width: 100%;
    animation: none;
}

@keyframes fillBar {
    from { width: 0; }
    to { width: 100%; }
}

.story-slider__images {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 8px;
}

.story-slider__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-slider__image--active {
    opacity: 1;
}

/* ===================================
   Credentials List (About page)
   =================================== */

.credentials {
    display: flex;
    flex-direction: column;
    margin-top: var(--space-lg);
    border-top: 1px solid var(--color-dark);
}

/* 24px/32px */
.credentials__item {
    padding: 1.25rem 0;
    font-size: var(--text-lead);
    line-height: var(--text-lead-lh);
    border-bottom: 1px solid var(--color-dark);
}

/* ===================================
   Contact List
   =================================== */
.contact-hero__title {
    max-width: 60%;
}

.contact-hero__intro {
    font-size: var(--text-lead);
    line-height: var(--text-lead-lh);
}

.contact-hero__hours {
    margin: var(--space-sm) 0;
    font-size: var(--text-body);
    line-height: var(--text-body-lh);
}

.contact-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-dark);
    margin-top: var(--space-lg);
}

.contact-list__item {
    padding: var(--space-md) 0;
    font-size: var(--text-body);
    line-height: var(--text-body-lh);
    border-bottom: 1px solid var(--color-dark);
}

/* ===================================
   Booking Info
   =================================== */

.booking-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.booking-info__list {
    display: flex;
    flex-direction: column;
}

.booking-info__item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    font-size: var(--text-body);
    line-height: var(--text-body-lh);
}

/* ===================================
   Booking Form
   =================================== */

.booking-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.booking-form__group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.booking-form__label {
    font-size: var(--text-sm);
    line-height: var(--text-sm-lh);
}

.booking-form__input,
.booking-form__select,
.booking-form__textarea {
    width: 100%;
    padding: var(--space-sm);
    font-size: var(--text-body);
    line-height: var(--text-body-lh);
}

.booking-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.booking-form__submit {
    align-self: flex-start;
    margin-top: var(--space-sm);
    text-transform: uppercase;
    font-size: 1rem; /* 16px */
    line-height: var(--text-sm-lh);
    padding-block: 0.5rem; /* 8px */
    padding-inline: 1rem; /* 16px */
    background-color: var(--color-dark);
    color: var(--color-light);
    border: none;
    cursor: pointer;
}

/* Cal.com calendar section */

.booking-calendar-wrapper {
    background-color: #171717;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    min-height: 580px;
}

.booking-calendar {
    width: 100%;
    height: 100%;
    min-height: 520px;
    overflow: auto;
}

/* ===================================
   Footer
   =================================== */

.footer {
    padding: var(--space-md) var(--container-padding);
    margin-top: var(--space-md);
    background-color: var(--color-light);
    color: var(--color-dark);
}

.body--dark .footer a {
    color: var(--color-dark);
}

.footer__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap);
    margin-bottom: var(--space-xl);
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__label {
    font-size: var(--text-sm);
    line-height: var(--text-sm-lh);
}

.footer__value {
    font-size: var(--text-lg);
    line-height: var(--text-lg-lh);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
}


.footer__copyright {
    font-size: var(--text-sm);
    line-height: var(--text-sm-lh);
}

/* Dark footer variant */
.footer--dark {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.footer--dark a,
.body--dark .footer--dark a {
    color: var(--color-light);
}

/* ===================================
   Responsive: Mobile
   =================================== */

@media (max-width: 825px) {
    :root {
        --container-padding: 1.25rem;  /* 20px on mobile */
        --grid-gap: 2rem;
        --space-xl: 4rem;
        --space-2xl: 5rem;
        
        /* Typography - Mobile */
        --text-h1: 3.5rem;           /* 56px */
        --text-h1-lh: 3.75rem;       /* 60px */
        --text-h2: 2.5rem;           /* 40px */
        --text-h2-lh: 2.75rem;       /* 44px */
        --text-display: 2.5rem;      /* 40px */
        --text-display-lh: 2.5rem;   /* 40px */
        --text-lg: 1.5rem;           /* 24px */
        --text-lg-lh: 1.75rem;       /* 28px */
        --text-lead: 1.25rem;        /* 20px */
        --text-lead-lh: 1.625rem;    /* 26px */
        --text-body: 1rem;           /* 16px */
        --text-body-lh: 1.5rem;      /* 24px */
    }
    
    .hero {
        height: calc(100vh - 60px);
        padding-top: var(--space-sm);
    }
    
    .hero__title {
        white-space: normal;
    }
    
    .hero__image-container {
        width: 85%;
        height: 60%;
        transform: translate(-50%, -55%);
    }
    
    .hero__footer {
        flex-direction: row;
        align-items: flex-end;
        gap: var(--space-md);
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .nav {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
}

/* Tablet breakpoint for hero */
@media (max-width: 1024px) and (min-width: 826px) {
    .hero__image-container {
        width: 55%;
        height: 70%;
    }
}
