
:root {
    --black:    #000000;
    --grey:     #D9D9D9;
    --white:    #FFFFFF;
    --darkgrey: #4E4E4E;

    --font-display: 'BBH Bartle', 'Afacad', sans-serif;
    --font-sans:    'Afacad', sans-serif;
    --font-serif:   'EB Garamond', serif;

    --fs-display: clamp(44px, 10vw, 96px);  
    --fs-heading: clamp(30px, 6vw, 64px);    
    --fs-nav:     clamp(15px, 1.9vw, 28px);  
    --fs-body:    clamp(17px, 2vw, 28px);    
    --fs-quote:   clamp(32px, 5vw, 56px);    

    --container: 1440px;
    --pad-x: 60px;
}


* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-serif);
    font-size: 18px;
    line-height: 1.45;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

p { margin: 0; }

.zawartosc {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad-x);
    overflow: visible;
}



nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--black);
    color: var(--white);
    z-index: 100;
    padding: 16px 0;
}

nav .zawartosc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    width: 100%;
    max-width: none;
    padding: 0 16px;
}

nav .logo {
    flex-shrink: 0;
}

nav .logo a {
    font-family: var(--font-sans);
    font-size: var(--fs-nav);
    font-weight: 700;
    letter-spacing: .02em;
    padding: 0;
    display: block;
}

nav .logo a::after {
    content: " |";
}


nav ol {
    display: contents;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ol li {
    flex: 0 0 auto;
    padding: 0;
}

nav ol li::before {
    content: "";
}

nav ol a {
    font-family: var(--font-sans);
    font-size: var(--fs-nav);
    font-weight: 700;
    letter-spacing: 0;
    transition: opacity .2s;
    padding: 0;
    white-space: nowrap;
    display: block;
    text-align: center;
}

nav ol a:hover,
nav ol a.active {
    opacity: .55;
}

.hamburger {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 0;
    width: 32px;
    height: 24px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--white);
    transition: transform .3s, opacity .3s, background .3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

.mobileMenu {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background: var(--black);
    color: var(--white);
    z-index: 99;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transform: translateY(-100%);
    transition: transform .35s ease;
}

.mobileMenu.open { transform: translateY(0); }

.mobileMenu a {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 700;
}



#hero {
    padding-top: 90px;
    padding-bottom: 80px;
    background: var(--white);
}

.heroTitle {
    font-family: var(--font-display);
    font-size: var(--fs-display);
    line-height: .95;
    letter-spacing: -.01em;
    margin-bottom: 30px;
    font-weight: 400;
    text-transform: uppercase;
}

.heroBold {
    font-family: var(--font-serif);
    font-size: var(--fs-body);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
}

.heroBoldSmall {
    font-size: var(--fs-body);
    margin-bottom: 40px;
}

.heroItalic {
    font-family: var(--font-serif);
    font-size: var(--fs-body);
    font-style: italic;
    color: var(--darkgrey);
    text-align: right;
    margin: 0 0 30px;
}

.heroProse {
    font-family: var(--font-serif);
    font-size: var(--fs-body);
    line-height: 1.5;
    text-align: justify;
    column-count: 1;
}



#yogamum {
    background: var(--white);
    padding: 90px 0;
    overflow: visible;
}


.sectionTitle {
    font-family: var(--font-sans);
    font-size: var(--fs-heading);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.01em;
    margin: 0;
}

#yogamum .sectionTitle {
    position: static;
    grid-area: title;
    margin-bottom: 40px;
}

.yogaGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "title   title"
        "circles pilates"
        "circles txtL"
        "circles txtFull"
        "circles txtR";
    column-gap: 40px;
    row-gap: 0;
    align-items: start;
    margin-bottom: 40px;
}


.yogaColLeft {
    grid-area: circles;
    display: flex;
    flex-direction: column;
}


.yImgBigCircle {
    width: 65%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    align-self: flex-start;
    z-index: 3;
}

.yImgSmoothie {
    width: 50%; 
    max-width: 300px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    align-self: flex-end;
    margin-top: -10%; 
    z-index: 2;
}

.yImgPose {
    width: 50%; 
    max-width: 300px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    align-self: flex-start;
    margin-left: 5%;
    margin-top: -10%; 
    z-index: 1;
}

.yImgPilates {
    grid-area: pilates;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.yogaTextCol { display: contents; }
.yogaTxtLeft  { grid-area: txtL; }
.yogaTxtFull  { grid-area: txtFull; }
.yogaTxtRight { grid-area: txtR; }

.yogaTextCol p {
    font-family: var(--font-serif);
    font-size: var(--fs-body);
    line-height: 1.5;
    margin-bottom: 14px;
    text-align: justify;
}



#carolyn {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 640px;
    background: var(--black);
    color: var(--white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}


.carolynBg {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 0;
}

.carolynBg img {
    width: 33.3333%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

#carolyn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.22);
    z-index: 1;
}


.carolynTitle {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 24px;
    font-family: var(--font-sans);
    font-size: var(--fs-heading);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.01em;
    color: var(--white);
    text-shadow: 0 2px 18px rgba(0,0,0,.75);
    pointer-events: none;
}


.carolynScroll {
    position: relative;
    z-index: 2;
    margin-bottom: 5vh;
    width: min(880px, 86vw);
    background: rgba(0,0,0,.6);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.carolynScroll::-webkit-scrollbar { height: 8px; }
.carolynScroll::-webkit-scrollbar-track { background: rgba(255,255,255,.1); }
.carolynScroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.45); }

.carolynTrack {
    display: flex;
    width: max-content;
}


.carolynBox {
    width: min(880px, 86vw);
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 46px 54px;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
}

.carolynBox p {
    font-family: var(--font-serif);
    font-size: var(--fs-body);
    line-height: 1.6;
    text-align: justify;
    color: var(--white);
}



#iphone {
    background: var(--white);
    padding: 90px 0;
}

.iphoneImages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0 50px;
    background: var(--grey);
    padding: 40px;
}

.iphoneImages img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
}

.iphoneTextGrid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    column-gap: 60px;
    row-gap: 0;
    align-items: start;
}

.iP {
    grid-column: 1;
    font-family: var(--font-serif);
    font-size: var(--fs-body);
    line-height: 1.5;
    margin-bottom: 14px;
    text-align: justify;
}

.iphoneColRight {
    grid-column: 2;
    grid-row: 1 / span 99;
    align-self: start;
    padding-top: 200px;
    text-align: left;
}

.iphoneQuoteBig {
    font-family: var(--font-serif);
    font-size: var(--fs-quote);
    font-weight: 400;
    line-height: 1;
    color: var(--grey);
    margin-bottom: 14px;
    letter-spacing: -.01em;
}

.iphoneQuoteSmall {
    font-family: var(--font-serif);
    font-size: 19px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.4;
}



#lana {
    background: var(--white);
    padding: 90px 0;
}

.lanaBanner {
    position: relative;
    margin: 30px 0 40px;
    background: var(--white);
}

.lanaBanner img {
    width: 100%;
    height: auto;
    opacity: .4;
    display: block;
}


.lanaTitle {
    position: absolute;
    top: 24px;
    right: 30px;
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-heading);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.01em;
    color: var(--darkgrey);
    text-align: right;
}


.lanaBannerText {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 30px;
    font-family: var(--font-serif);
    font-size: var(--fs-body);
    font-weight: 700;
    line-height: 1.4;
    text-align: justify;
    color: var(--black);
}

.lanaText p {
    font-family: var(--font-serif);
    font-size: var(--fs-body);
    line-height: 1.5;
    margin-bottom: 14px;
    text-align: justify;
}

.lanaPhotos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 40px 0 30px;
}

.lanaPhotos img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.lanaCaption {
    font-family: var(--font-serif);
    font-size: var(--fs-body);
    line-height: 1.5;
    text-align: justify;
}


#loop {
    background: var(--white);
    padding: 100px 0 80px;
}

.loopTitle {
    font-family: var(--font-display);
    font-size: var(--fs-display);
    line-height: .95;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 400;
    letter-spacing: -.02em;
    text-transform: uppercase;
}

.loopLead {
    font-family: var(--font-serif);
    font-size: var(--fs-body);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 60px;
    max-width: 100%;
}

.loopCols {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px;
    margin-bottom: 60px;
}

.loopCols::-webkit-scrollbar { height: 6px; }
.loopCols::-webkit-scrollbar-track { background: var(--grey); }
.loopCols::-webkit-scrollbar-thumb { background: var(--darkgrey); }

.loopCol p {
    font-family: var(--font-serif);
    font-size: var(--fs-body);
    line-height: 1.5;
    text-align: justify;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.loopCol strong {
    font-weight: 700;
}

.loopOutro {
    font-family: var(--font-serif);
    font-size: var(--fs-body);
    line-height: 1.5;
    text-align: justify;
}



#stopka {
    background: var(--grey);
    color: var(--darkgrey);
    padding: 40px 0;
}

#stopka .zawartosc {
    text-align: center;
}

#stopka p {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    color: var(--darkgrey);
}

#stopka .copyright {
    margin-top: 6px;
    font-size: 15px;
}



@media (max-width: 900px) {

    :root {
        --pad-x: 20px;
    }

    nav ol { display: none; }
    .hamburger { display: flex; }
    .mobileMenu { display: flex; }

    #yogamum,
    #iphone,
    #lana { padding: 30px 0; }
    #loop { padding: 30px 0 40px; }
    #hero { padding-bottom: 30px; }

    .lanaBanner { margin: 0 0 24px; }

    .heroTitle { display: none; }
    #hero { padding-top: 92px; }   

    nav {
        background: var(--white);
        color: var(--black);
    }
    nav .logo a {
        font-family: var(--font-display);
        font-size: clamp(24px, 6vw, 34px);
        font-weight: 400;
        line-height: 1;
        letter-spacing: .01em;
    }
    nav .logo a::after { content: ""; }
    .hamburger span { background: var(--black); }
    .hamburger.open span { background: var(--white); }

    .heroItalic {
        font-family: var(--font-sans);
        color: var(--grey);
    }

    .loopCols {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 14px;
    }
    .loopCol {
        flex: 0 0 auto;
        width: 78vw;
        scroll-snap-align: start;
    }

    .iphoneImages {
        padding: 16px;
        gap: 10px;
    }

    .iphoneTextGrid {
        display: block;
        column-count: 2;
        column-gap: 20px;
    }

    .iP,
    .iphoneColRight { break-inside: avoid; }

    .iBreak { break-before: column; }

    .iphoneColRight { padding-top: 0; }

    .yogaGrid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "pilates title"
            "txtL    circles"
            "txtL    txtR"
            "txtFull txtFull";
        column-gap: 16px;
        row-gap: 14px;
        align-items: start;
        margin-bottom: 30px;
    }

    #yogamum .sectionTitle {
        grid-area: title;
        align-self: center;
        margin-bottom: 0;
    }

    .yImgPilates {
        grid-area: pilates;
        width: 100%;
        aspect-ratio: 5 / 4;
        height: auto;
        object-fit: cover;
        object-position: center;
        margin-bottom: 0;
    }

    .yogaColLeft {
        grid-area: circles;
        position: relative;
        overflow: hidden;
        width: 100%;
        aspect-ratio: 1 / 1;       
        margin: 0;
    }

    .yImgPose { display: none; }

    .yImgBigCircle,
    .yImgSmoothie {
        position: absolute;
        top: 0;
        margin: 0;
        width: calc(100% - 14px);  
        height: auto;
        aspect-ratio: 1 / 1;
        max-width: none;
    }

    .yImgBigCircle { left: calc(-50% + 7px); }    
    .yImgSmoothie  { right: calc(-50% + 7px); }   

    .yogaTxtLeft  { grid-area: txtL; }
    .yogaTxtRight { grid-area: txtR; }
    .yogaTxtFull  { grid-area: txtFull; }
    .yogaTextCol p { margin-bottom: 12px; }

    
    .yogaTxtLeft p:last-child { margin-bottom: 0; }

    .lanaPhotos img { height: 280px; }

    #carolyn {
        height: 82vh;
        min-height: 560px;
    }

    .carolynScroll,
    .carolynBox {
        width: 90vw;
    }

    .carolynBox { padding: 28px 24px; }
    .carolynBox p { line-height: 1.55; }
}
