/* ==========================================================

   ILYCIA LAVERTY STUDIO

   style.css
   Version 1.2

   A living stylesheet for the Studio.

   The structure of this file follows the visitor's
   journey through the website.

========================================================== */

/* ==========================================================

   Principles

   • One section, one responsibility.
   • Every object has its own identity.
   • Position through composition, not hacks.
   • Keep the stylesheet readable.
   • Remove what is no longer used.

========================================================== */

/* ==========================================================
   RESET
========================================================== */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

/* ==========================================================
   ROOT

   Studio colour palette and shared variables.
   Used throughout the Studio for consistency.
========================================================== */

:root{

    --paper:#eae2dc;

    --table:#E8E0D3;

    --text:#998b80b3;

    --text-light:#6A635B;

    --shadow:
        0 12px 36px rgba(0,0,0,.16);

    --shadow-soft:
        0 8px 28px rgba(90,65,38,.16);

    --transition:
        .28s ease;

}

/* ==========================================================
   DOCUMENT
========================================================== */

html,
body{

    width:100%;
    height:100%;

}


body{

    overflow-x:hidden;
    overflow-y:scroll;

    background:var(--paper);

    font-family:
        Helvetica,
        Arial,
        sans-serif;

    color:var(--text);

    -webkit-font-smoothing:antialiased;

    -moz-osx-font-smoothing:grayscale;

}

/* ==========================================================
   LINKS
========================================================== */

a{

    color:inherit;

    text-decoration:none;

}

/* ==========================================================
   IMAGES
========================================================== */

img{

    display:block;

    max-width:100%;

}

/* ==========================================================
   HOME

   The Studio homepage.

   Houses the tabletop, hero and draggable postcards.
========================================================== */

.studio{

    position:relative;

    width:100vw;

    height:100vh;

    overflow:hidden;

}


/* ==========================================================
   HERO

   Studio introduction displayed above the tabletop.
========================================================== */

.hero{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:flex-start;

    pointer-events:none;

    z-index:20;

}

.hero-tagline{

    margin-top:40px;

    font-size:5rem;

    font-weight:500;

    letter-spacing:.08em;

    text-transform:lowercase;

    color:rgba(40,21,6,.56);

}

.hero-title{

    margin-top:6px;

    font-size:8rem;

    font-weight:700;

    line-height:.95;

    letter-spacing:-.02em;

    color:rgba(40,21,6,.42);

}


/* ==========================================================
   STUDIO TABLE

   The tabletop that holds the Studio objects.
========================================================== */

.studio-table{

    position:absolute;

    inset:0;

}

.tabletop{

    width:100%;

    height:100%;

    overflow:hidden;

}


/* ==========================================================
   WORKS

   Container for all draggable Studio postcards.
========================================================== */

.works{

    position:relative;

    width:100%;

    height:100%;

    isolation:isolate;

}

/* ==========================================================
   FIELD KIT

   Persistent Studio navigation.
   Appears on every page and can be repositioned by the user.
========================================================== */

.field-kit{

    position:fixed;

    top:285px;
    right:1370px;

    width:290px;

    z-index:1000;

}

.field-kit-art{

    display:block;

    width:100%;

    height:auto;

    pointer-events:none;

}

.maker-mark-link {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 40px;
    height: 40px;
    z-index: 20;
}

.field-search{

    position:absolute;

    top:15px;
    left:32px;

    width:345px;

    border:none;

    background:transparent;

    outline:none;

    cursor:text;

    color:#d2cdc4;

    font:inherit;

    font-size:.55rem;

}

.field-search::placeholder{

    color:#d2cdc4;

}

.field-intro {
    font-size: 14px;
    line-height: 1.2;
    max-width: 320px;
}

.menu-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.field-menu{

    display:none;

    position:absolute;

    top:86px;

    right:8px;

    text-align:right;

}

.field-menu.open{

    display:block;

}

.field-menu a{

    display:block;

    margin-bottom:14px;

    color:#2F343A;

    text-decoration:none;

    font:inherit;

    letter-spacing:.04em;

}

.contact-email{

    display:block;

    margin:28px 0 22px;

    color:#2F343A;

    font:inherit;

    letter-spacing:.04em;

}

.field-menu a:hover{

    color:#753d3d;

}

/* ==========================================================
   STUDIO POSTCARDS

   Interactive project cards displayed on the homepage.
   Each postcard is independently draggable.
========================================================== */

.work-card{

    position:absolute;

    width:230px;

    height:auto;

    cursor:grab;

    user-select:none;

    transform-origin:center center;

    transition:
        transform .28s ease,
        box-shadow .28s ease,
        filter .28s ease;

}

/* ==========================================================
   PAGE LAYOUT

   Shared typography and spacing used across the Studio.
========================================================== */

.page{

    max-width:1400px;

    margin:0 auto;

    padding:
        140px
        60px
        100px;

}

/* ==========================================================
   STUDIO TITLES

   Shared titles for the main Studio sections.
========================================================== */

.studio-title{

    font-size:5.2rem;

    font-weight:700;

    line-height:.95;

    letter-spacing:-.02em;

    color:rgba(40,21,6,.42);

    margin-bottom:2.5rem;

}

/* ==========================================================
   ARCHITECTURE

   Curated introduction to the Architecture section.

   Featured projects are independently positioned and may
   evolve as the Studio grows.
========================================================== */

.architecture-page{

    background:#cdc8bb;

    color:#2F343A;

}

.architecture-page .studio-title{

    color:#2f343ad7;

}

.project-bfd h2,
.project-aio h2{

    margin-top:1rem;
    margin-bottom:.15rem;

    font-size:1.2rem;
    font-weight:400;
    line-height:1;
    letter-spacing:-.02em;

    color:#2F343A;

}

.project-bfd p,
.project-aio p{

    margin:0;

    font-size:1rem;
    font-weight:400;
    line-height:1.25;

    color:#5B6065;

}

.architecture-introduction{

    max-width:550px;

    margin:0 auto 120px;

    text-align:center;

}

.architecture-introduction p{

    max-width:1000px;

    line-height:1.8;

    color:#2F343A;

}

.architecture-wall{

    position:relative;

    width:100%;

    min-height:1800px;

}

.project-bfd,
.project-aio{

    position:absolute;

    display:block;

    text-decoration:none;

    color:inherit;

}

.project-bfd{

    width:280px;

    left:30%;

    top:5px;

}

.project-aio{

    width:360px;

    right:29%;

    top:70px;

}

.project-three{

}

.project-four{

}

.project-five{

}

.project-six{

}

.project-bfd img,
.project-aio img{

    width:100%;

    height:auto;

    display:block;

    box-shadow:
        0 16px 40px rgba(0,0,0,.12);

    transition:
        transform .35s ease,
        box-shadow .35s ease;

}

.project-bfd:hover img,
.project-aio:hover img{

    transform:scale(1.01);

    box-shadow:
        0 24px 60px rgba(0,0,0,.16);

}

.project-bfd h2,
.project-aio h2{

    margin-top:1.4rem;

    margin-bottom:.45rem;

}

.project-bfd p,
.project-aio p{

    margin:0;

    line-height:1.6;

}

/* ==========================================================
   GALLERY WALL (ART HOME PAGE)

   Curated introduction to the Art section.

   Three featured works hang independently and may be
   changed over time without altering the layout.
========================================================== */

.gallery-wall{

    position:relative;

    width:100%;

    height:900px;

    margin:120px auto 0;

}

.gallery-wall a{

    position:absolute;

    display:block;

    transition:transform .35s ease;

}

.gallery-wall a:hover{

    transform:scale(1.02);

}

.gallery-wall img{

    display:block;

    width:100%;

    height:auto;

    box-shadow:
        0 16px 40px rgba(0,0,0,.12);

}

/* ==========================================================
   EXHIBITION

   Immersive viewing space.

   Artwork size and spacing are controlled here,
   independent from the Gallery and Collection.
========================================================== */

.art-page{

    background:#c0b6a6;

    overflow-y:auto;

}

.exhibition{

    position:relative;

    max-width:1400px;

    height:1700px;

    margin:0 auto;

}

.exhibition-works{

    position:relative;

    width:100%;

    height:100%;

}

.exhibition-works a{

    position:absolute;

    display:block;

    text-decoration:none;

}

.exhibition-works img{

    display:block;

    width:30%;

    height:auto;

    box-shadow:

        0 16px 40px rgba(0,0,0,.10);

    transition:

        transform .35s ease,
        box-shadow .35s ease;

}

.exhibition-works img:hover{

    transform:scale(1.01);

    box-shadow:

        0 24px 60px rgba(0,0,0,.16);

}

.collection-link{

    margin:

        220px
        0
        120px;

    text-align:center;

}

.collection-link a{

    font-size:1.2rem;

    letter-spacing:.12em;

    text-transform:uppercase;

    color:var(--text);

    text-decoration:none;

    opacity:.65;

    transition:opacity .3s ease;

}

.collection-link a:hover{

    opacity:1;

}

/* ==========================================================
   COLLECTION HANGING
========================================================== */

.overthinking{
    width:430px;
    left:16%;
    top:70px;
}

.balance{
    width:140px;
    left:47.5%;
    top:3px;
}

.daydreaming{
    width:280px;
    right:35%;
    top:170px;
}

.stories{
    width:430px;
    left:49%;
    top:370px;
}

.geometric{
    width:440px;
    left:19%;
    top:853px;
}

.loure{
    width:180px;
    right:60%;
    top:560px;
}

.preservation{
    width:150px;
    left:15%;
    top:1200px;
}

.sarabande{
    width:200px;
    left:29%;
    top:1175px;
}

.thetis{
    width:180px;
    right:37%;
    top:890px;
}

.skyhigh{
    width:140px;
    left:45%;
    top:1510px;
}

.thebay{
    width:240px;
    right:25%;
    top:1510px;
}


/* ==========================================================
   COLLECTION LAYOUT

   Position and scale of every artwork within the Collection.
========================================================== */

.collection-page{

    background:var(--paper);

    min-height:100vh;

}

.collection{

    position:relative;

    min-height:1700px;

    margin:5rem 8vw 8rem;

}

.collection-piece{

    position:absolute;

    display:block;

    transition:transform .25s ease;

}

.collection-piece:hover{

    transform:scale(1.02);

}

.collection-piece img{

    display:block;

    width:100%;

    height:auto;

}

/* ==========================================================
   ART
========================================================== */

.artwork:hover{

    transform:translateY(-6px);

    box-shadow:
        0 20px 42px rgba(0,0,0,.12);

}

.artwork img{

    width:100%;

    display:block;

}

/* ==========================================================
   ABOUT
========================================================== */

.about{

    max-width:760px;

    margin:0 auto;

}

.about p{

    margin-bottom:2rem;

    line-height:1.9;

    font-size:1.05rem;

}

.about h2{

    margin:
        4rem
        0
        1.5rem;

    font-size:2rem;

    font-weight:500;

    letter-spacing:-.01em;

}

/* ==========================================================
   PROCESS
========================================================== */

.process{

    max-width:900px;

    margin:0 auto;

}

.process p{

    margin-bottom:2rem;

    line-height:1.85;

}

.process h2{

    margin:
        3.5rem
        0
        1.5rem;

    font-size:2rem;

    font-weight:500;

}

/* ==========================================================
   RESPONSIVE

   Studio-wide responsive behaviour.
========================================================== */

@media (max-width:1200px){

    .work-card{

        width:205px;

    }

    .gallery-centre{

        left:34%;

    }

}

@media (max-width:900px){

    .page{

        padding:100px 40px 80px;

    }

    .studio-title{

        font-size:4rem;

    }

    .hero-title{

        font-size:6rem;

    }

    .hero-tagline{

        font-size:3rem;

    }

    .architecture-wall{

        min-height:auto;

    }

    .project-bfd,
    .project-aio{

        position:relative;

        top:auto;
        left:auto;
        right:auto;

        width:100%;

        max-width:520px;

        margin:0 auto 100px;

    }

}

@media (max-width:700px){

    body{

        overflow:auto;

    }

    .page{

        padding:80px 24px 60px;

    }

    .studio-title{

        font-size:3rem;

    }

    .hero-title{

        font-size:4rem;

    }

    .hero-tagline{

        font-size:2rem;

    }

    .work-card{

        width:170px;

    }

    .gallery-wall{

        height:auto;

    }

    .gallery-wall a{

        position:relative;

        display:block;

        width:100%;

        max-width:320px;

        margin:0 auto 60px;

        left:auto;
        right:auto;
        top:auto;
    }

}

/* ==========================================================
   HOVER
========================================================== */

.work-card:hover{

    box-shadow:
        0 14px 34px rgba(0,0,0,.14);

}

/* ==========================================================
   ACTIVE POSTCARDS

   This class will be controlled by script.js.
========================================================== */

.work-card.active{

    z-index:999;

    box-shadow:
        0 22px 52px rgba(0,0,0,.18);

}

/* ==========================================================
   DRAGGING
========================================================== */

.work-card.dragging{

    cursor:grabbing;

    transition:none;

}

.page h1{

    margin-bottom:2.5rem;

    font-size:3.5rem;

    font-weight:500;

    line-height:1.05;

    letter-spacing:-.02em;

    color:var(--text);

}

.page p{

    max-width:760px;

    margin-bottom:1.6rem;

    line-height:1.85;

    font-size:1.04rem;

    color:var(--text);

}

/* ==========================================================
   UTILITIES
========================================================== */

.hidden{

    display:none !important;

}

.center{

    text-align:center;

}

.full-width{

    width:100%;

}

.fade{

    opacity:.75;

}

/* ==========================================================
   ABOUT PAGE
========================================================== */

.about-page{

    background:#6e7768;

    color:var(--text);

}

/* ==========================================================
   INTRODUCTION
========================================================== */

.page-title{

    max-width:900px;

    margin:
        80px
        auto
        3rem;

    font-size:clamp(2.8rem,6vw,4rem);

    font-weight:500;

    letter-spacing:-.02em;

}

.about-image{

    position:relative;

    display:block;

    height:auto;

    box-shadow:
        0 10px 24px rgba(0,0,0,.12);

}

    .image-life{

    width:120px;

    left:18px;

    top:0;

    z-index:3;

}    

.image-steps{

    width:120px;

    left:150px;

    top: -100px;

    z-index:1;

}

.image-studio{

    width:120px;

    left:46px;

    top:-90px;

    z-index:2;

}

/* ==========================================================
   WRITING
========================================================== */

.writing{

    max-width:860px;

    margin: -169px 0 140px 228px;

}

.writing h2{

    position:relative;

    margin:0 0 2rem;

    left:-40px;

    top:-90px;

    width:900px;

    white-space:nowrap;

    font-family:"Arial Black", Arial, Helvetica, sans-serif;

    font-size:4rem;

    font-weight:900;

    line-height:.9;

    letter-spacing:-.04em;

    text-transform:lowercase;

    color:#414838;

    z-index:10;

}

.writing p{

    position:relative;

    top:-55px;

    margin-bottom:1.5rem;

    text-align:left;

    line-height:1.55;

    font-size:1.05rem;

    color:#524741;

}

.writing::after{

    content:"";

    display:block;

    clear:both;

}

/* ==========================================================
   FEATURED WORKS
========================================================== */

.gallery-left{

    width:240px;

    left:8%;

    top:170px;

}

.gallery-centre{

    width:340px;

    left:37%;

    top:90px;

}

.gallery-right{

    width:240px;

    right:8%;

    top:200px;

}

/* ==========================================================
   ARTWORK PAGE

   Individual artwork pages.

   Shared layout for every work in the Collection.
========================================================== */

.artwork-page{

    max-width:1100px;

    margin:0 auto;

    padding:5rem 8vw 8rem;

}

.artwork-nav{

    margin-bottom:4rem;

}

.artwork-nav a{

    text-decoration:none;

    color:var(--text);

    letter-spacing:.08em;

    font-size:.8rem;

    text-transform:uppercase;

}

.artwork-figure{

    margin:0;

    text-align:center;

}

.artwork-figure img{

    max-width:100%;

    max-height:70vh;

    height:auto;

}

.artwork-details{

    margin-top:3rem;

    max-width:650px;

}

.artwork-details h1{

    margin-bottom:.5rem;

}

.series,
.medium,
.size{

    color:var(--muted);

    margin:.25rem 0;

}

.artwork-text{

    margin-top:2rem;

    line-height:1.8;

}