/* Theme Name: Resolve Version 2.0 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Inter:wght@300;400;500;600&display=swap');

:root{--bg:#0b0c0d;--text:#f1ede7;--muted:#a7adb2;--accent:#9fd7a5;}*{margin:0;padding:0;box-sizing:border-box}body{background:var(--bg);color:var(--text);font-family:Inter,sans-serif;overflow-x:hidden}img{display:block;max-width:100%}.site-header{position:fixed;top:0;left:0;right:0;height:90px;display:flex;justify-content:space-between;align-items:center;padding:0 64px;background:rgba(10,11,12,.35);backdrop-filter:blur(14px);z-index:1000}.logo img{height:52px}.main-nav{display:flex;gap:54px}.main-nav a{text-transform:uppercase;letter-spacing:.22em;font-size:.78rem;text-decoration:none;color:#ddd}
/*=========================================
HERO
=========================================*/

.hero{

    position:relative;

    min-height:100vh;

    overflow:hidden;

}

/* Background staircase */

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(rgba(8,9,10,.35), rgba(8,9,10,.55)),
        url("assets/images/hero-background.webp") 100% 16% / 118% auto no-repeat;

    z-index:1;

}

/* Texture */

.hero-overlay{

    position:absolute;

    inset:0;

    background:url("assets/images/texture.webp") center/cover no-repeat;

    opacity:.22;

    mix-blend-mode:overlay;

    pointer-events:none;

    z-index:2;

}

.hero-overlay::after{

    content:"";

    position:absolute;

    inset:0;

    background:url("assets/images/geometric-lines.webp") center/cover no-repeat;

    opacity:.18;

}

/* Left-side dark fade */

.hero-content::before{

    content:"";

    position:absolute;

    left:-350px;

    top:-280px;

    width:760px;

    height:760px;

    background:
        radial-gradient(circle,
        rgba(11,12,13,.97) 0%,
        rgba(11,12,13,.92) 38%,
        rgba(11,12,13,.72) 62%,
        rgba(11,12,13,0) 100%);

    z-index:-1;

}

/* Text block */

.hero-content{

    position:absolute;

    left:5vw;

    top:48%;

    transform:translateY(-50%);

    width:430px;

    z-index:20;

}

.genre{

    color:var(--accent);

    font-size:.82rem;

    letter-spacing:.32em;

    line-height:2;

    margin-bottom:40px;

    text-transform:uppercase;

}

.hero h1{

    font-family:"Cormorant Garamond", serif;

    font-size:7rem;

    line-height:.82;

    font-weight:400;

    margin-bottom:34px;

}

.tagline{

    color:var(--muted);

    font-size:1.2rem;

    margin-bottom:42px;

}

/* Buttons */

.hero-buttons{

    display:flex;

    gap:18px;

}

.button-primary,
.button-secondary{

    display:flex;

    align-items:center;

    justify-content:center;

    width:200px;
    height:56px;

    border:1px solid var(--accent);

    color:#ece8e2;

    text-decoration:none;

    text-transform:uppercase;

    letter-spacing:.12em;

    white-space:nowrap;

}

.button-primary:hover,
.button-secondary:hover{

    background:var(--accent);

    color:#111;

}

/* Floating book */

.hero-cover{

    position:absolute;

    right:3vw;

    bottom:auto;

    top:50%;

    transform:translateY(-50%);

    z-index:15;

}

.hero-book{

    width:270px;

    filter:drop-shadow(0 40px 90px rgba(0,0,0,.75));

}

/* Divider */

.hero-divider{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    height:170px;

    background:url("assets/images/section-divider.webp") center bottom/cover no-repeat;

    z-index:25;

}
/*==================================================
FEATURED BOOK
==================================================*/

.featured-book{

    position:relative;

    padding:140px 8vw;

    background:#111315;

}

.featured-book::before{

    content:"";

    position:absolute;

    inset:0;

    background:url("assets/images/texture.webp")
    center/cover no-repeat;

    opacity:.15;

    pointer-events:none;

}

.featured-inner{

    max-width:1400px;

    margin:auto;

    display:grid;

    grid-template-columns:360px 1fr;

    gap:90px;

    align-items:center;

    position:relative;

    z-index:2;

}

.featured-image img{

    width:100%;

    border-radius:6px;

    box-shadow:0 40px 80px rgba(0,0,0,.45);

    transition:.35s;

}

.featured-image img:hover{

    transform:translateY(-8px);

}

.section-label{

    display:inline-block;

    margin-bottom:18px;

    color:var(--accent);

    letter-spacing:.35em;

    font-size:.8rem;

    text-transform:uppercase;

}

.featured-content h2{

    font-family:"Cormorant Garamond",serif;

    font-size:4rem;

    font-weight:400;

    margin-bottom:30px;

}

.featured-description{

    max-width:700px;

    line-height:1.9;

    color:#c4c7ca;

    margin-bottom:40px;

}

.featured-buttons{

    display:flex;

    gap:18px;

    margin-bottom:34px;

}

.buy-button,
.outline-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    height:56px;

    min-width:180px;

    border:1px solid var(--accent);

    color:white;

    text-decoration:none;

    letter-spacing:.15em;

    text-transform:uppercase;

    transition:.3s;

}

.buy-button:hover,
.outline-button:hover{

    background:var(--accent);

    color:#111;

}

.retailers{

    display:flex;

    flex-wrap:wrap;

    gap:14px;

    color:#8f959a;

    font-size:.9rem;

}

.retailers a{

    color:#8f959a;

    text-decoration:none;

}

.retailers a:hover{

    color:var(--accent);

}