/* ==========================================================
   Parag Parikh – static PHP rebuild of the Betheme WordPress site
   ========================================================== */
@font-face{font-family:'Jost';font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/jost-latin-300-normal.woff2) format('woff2')}
@font-face{font-family:'Jost';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/jost-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Jost';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/jost-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Jost';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/jost-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Raleway';font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/raleway-latin-300-normal.woff2) format('woff2')}
@font-face{font-family:'Raleway';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/raleway-latin-400-normal.woff2) format('woff2')}
:root{
    --pink:#d4b2b1;
    --pink-light:#fdecec;
    --heading:#233245;
    --text:#4d5d71;
    --link:#1e73be;
    --twitter:#00acee;
    --container:1220px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:'Jost',sans-serif;
    font-size:16px;
    line-height:29px;
    color:var(--text);
    background:#fff;
    -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--link);text-decoration:none}
a:hover{color:#0f5a9c}
h1,h2,h3,h4,h5{margin:0;color:var(--heading);font-weight:500}
p{margin:0}
.container{width:var(--container);max-width:100%;margin:0 auto;padding:0 12px}

/* ---------- Header ---------- */
.site-header{
    position:absolute;top:0;left:0;right:0;z-index:20;
    height:120px;display:flex;align-items:flex-start;justify-content:space-between;
}
.logo{position:absolute;left:20px;top:28px}
.logo img{width:190px;height:67px;object-fit:contain}
.main-nav{position:absolute;right:0;top:45px}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex}
.main-nav li a{
    display:block;padding:0 20px;line-height:30px;
    font-size:14px;font-weight:400;text-transform:uppercase;
    color:var(--heading);letter-spacing:.2px;
}
.main-nav li.current a{color:#0a1220;font-weight:500}
.main-nav li a:hover{color:#000}
.menu-toggle{display:none}

/* ---------- Pink sections + torn paper edge ---------- */
.pink-section{background:var(--pink);position:relative}
.torn-bottom::after{
    content:"";position:absolute;left:0;right:0;bottom:0;height:70px;
    background:url(../uploads/2022/02/page-break-1.png) repeat-x left bottom;
    background-size:1920px 70px;
    pointer-events:none;z-index:1;
}
.overlap-up{position:relative;z-index:2;margin-top:-100px}

/* ---------- Inner page banner ---------- */
.inner-top{padding-bottom:169px}
.page-banner{position:relative;height:350px;overflow:hidden}
.banner-title{
    position:absolute;margin:0;white-space:nowrap;
    font-family:'Raleway',sans-serif;font-weight:300;
    font-size:42.4px;line-height:1;letter-spacing:1.35px;color:#222;
}
.banner-icon{position:absolute;height:auto}

/* ---------- Quote card ---------- */
.quote-card{
    display:flex;height:446px;border-radius:6px;overflow:hidden;background:#fff;
    margin:0 -12px;
}
.quote-text{
    width:var(--text-w);flex:none;padding:0 98px;
    display:flex;flex-direction:column;justify-content:center;
}
.quote-photo{flex:1;min-width:0}
.quote-photo img{width:100%;height:100%;object-fit:cover}
.quote-lg{font-size:22px;line-height:32px;color:var(--heading);font-weight:400}
.quote-md{font-size:20px;line-height:29px;color:var(--heading);font-weight:400}
.card-heading{font-size:35px;line-height:45px;font-weight:500;margin-bottom:30px}

/* ---------- 3-column grid (videos / home cards / books) ---------- */
.grid-3{
    display:grid;grid-template-columns:repeat(3,358px);column-gap:49px;
    width:1172px;max-width:100%;margin:0 auto;
}

/* ---------- Home ---------- */
.home-hero{padding-top:95px;padding-bottom:184px}
.hero{position:relative;width:1112px;max-width:100%;margin:0 auto;left:-64px}
.hero-img{width:100%;height:auto}
.hero-name{
    position:absolute;color:#fff;font-family:'Jost',sans-serif;font-weight:400;
    font-size:134px;line-height:1;letter-spacing:4.7px;white-space:nowrap;
}
.hero-first{left:7.55%;top:322px;animation:slideFromLeft 1s ease-out both}
.hero-last{left:78.3%;top:329px;animation:slideFromRight 1s ease-out both}
@keyframes slideFromLeft{from{opacity:0;transform:translateX(-150px)}}
@keyframes slideFromRight{from{opacity:0;transform:translateX(150px)}}
@media (prefers-reduced-motion:reduce){.hero-name{animation:none}}
.bio{width:790px;max-width:100%;margin:0 auto;font-size:17px;line-height:29px;color:var(--text)}
.bio p{margin-bottom:29px}
.bio p:last-child{margin-bottom:0}
.home-cards{margin-top:55px}
.card-img{display:block;border-radius:8px;overflow:hidden}
.card-img img,.journey img{width:100%;object-fit:cover;transition:transform .5s ease}
.card-img:hover img,.journey:hover img{transform:scale(1.08)}
@media (prefers-reduced-motion:reduce){.card-img img,.journey img{transition:none}}
.journey{margin-top:40px;cursor:zoom-in;overflow:hidden}
.journey-note{text-align:center;font-size:16px;margin-top:5px}

.home-explore{text-align:center;padding-top:100px}
.books-promo{margin-top:116px}
.books-promo img{width:100%;height:434px;object-fit:cover}
.btn{
    display:inline-block;border-radius:25px;font-size:20px;font-weight:500;
    line-height:50px;height:50px;padding:0 34px;color:var(--heading);
}
.btn:hover{color:var(--heading);opacity:.85}
.btn-grey{background:#e3e6ee}
.btn-pink{background:var(--pink);margin-top:39px}
.btn-white{background:#fff;line-height:47px;height:47px;padding:0 37px;font-size:19px}

/* ---------- Lightbox ---------- */
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.88);z-index:100;display:none;align-items:center;justify-content:center}
.lightbox.open{display:flex}
.lb-stage{width:min(90vw,1400px);display:flex;justify-content:center}
.lb-slide{display:none;max-height:85vh;width:auto;max-width:100%}
.lb-slide.active{display:block}
.lightbox button{position:absolute;background:none;border:0;color:#fff;font-size:56px;cursor:pointer;line-height:1}
.lb-close{top:16px;right:28px}
.lb-prev{left:24px}.lb-next{right:24px}

/* ---------- Media list ---------- */
.media-list{width:610px;max-width:100%;margin:-8px auto 0;padding:0 12px}
.page-media .tweet-section{padding-top:57px}
.page-videos .tweet-section{padding-top:114px}
.media-item{font-size:17px;line-height:29px;margin-bottom:44px}
.media-item a{font-weight:600;font-size:17.5px}
.media-item span{color:var(--text)}
.media-item:last-child{margin-bottom:0}

/* ---------- Videos ---------- */
.video{height:200px}
.video iframe{width:100%;height:100%;border:0;display:block}
.video-grid{row-gap:40px}

/* ---------- Books ---------- */
.book-grid{align-items:start}
.book-card{background:var(--pink-light);border-radius:6px;text-align:center;padding:61px 20px 60px}
.book-card img{width:278px;height:409px;object-fit:cover;margin:0 auto}
.book-card h5{font-size:21px;line-height:32px;font-weight:400;margin:31px 45px 28px}
.disclaimer{margin-top:110px;font-size:17px;line-height:29px}
.page-books .tweet-section{padding-top:58px}
.page-legacy .tweet-section{padding-top:57px}
.disclaimer strong{color:var(--heading);font-weight:600}

/* ---------- Legacy ---------- */
.legacy-top{height:349px}
.legacy-top .page-banner{height:349px}
.legacy-forward{display:flex;align-items:center;padding:112px 0 0}
.lf-left,.lf-right{width:50%}
.lf-left{text-align:center}
.lf-title{font-size:22px;color:var(--heading);margin-bottom:38px}
.lf-title strong{font-weight:600}
.lf-left img{width:538px;height:342px;object-fit:cover;margin:0 auto}
.lf-right{padding-left:33px;padding-top:90px}
.person{display:flex;align-items:flex-start;margin-bottom:48px}
.person img{width:80px;height:78px;object-fit:cover;margin-right:23px;flex:none}
.person h3{font-size:35px;line-height:45px;font-weight:500}
.person p{font-size:17px;line-height:24px;margin-top:9px}
.legacy-map{text-align:center;padding-top:109px}
.legacy-map h3{font-size:35px;line-height:45px;width:610px;margin:0 auto}
.legacy-map img{width:558px;height:568px;object-fit:contain;margin:64px auto 0;position:relative;left:4px}
.legacy-map p{font-size:17px;margin-top:47px}

/* ---------- Tweet section ---------- */
.tweet-section{padding:122px 0 203px}
.tweet-grid{display:flex}
.tweet-col{width:50%;padding-top:30px}
.wall-col{width:calc(50% + 12px);text-align:center;margin-right:-12px}
.tweet-by{font-size:22px;line-height:30px;color:var(--heading);margin-bottom:16px}
.tweet-by a{color:var(--twitter)}
.bird{width:15px;height:15px;fill:#55acee;vertical-align:middle;margin-left:2px}
.tweet-text{font-size:35px;line-height:45px;font-weight:500;color:var(--heading);width:586px;max-width:100%}
.tweet-text a{color:var(--twitter)}
.tweet-date{font-size:22px;line-height:30px;color:var(--heading);margin-top:18px}
.wall-caption{font-size:22px;line-height:30px;color:var(--heading);margin-bottom:12px}
.wall-frame{display:inline-block;padding:4px;border:1px solid #f1f1f1}
.wall-frame img{width:381px;height:492px;object-fit:cover;border-radius:10px}

/* ---------- Footer ---------- */
.site-footer{border-top:1px solid #e5e5e5}
.footer-inner{display:flex;justify-content:space-between;align-items:center;height:90px}
.copy{font-size:18px;color:#999}
.back-top{color:#999;display:block;width:24px;height:24px;margin-right:8px}
.back-top svg{width:24px;height:24px}

/* ==========================================================
   Responsive (tablet / mobile)
   ========================================================== */
body{overflow-x:hidden}
@media (max-width:1240px){
    .hero{left:0}
    .bio{padding:0 20px}
    .grid-3{grid-template-columns:repeat(3,1fr);column-gap:24px;padding:0 12px}
    .book-card img{width:100%;height:auto}
    .hero-name{font-size:10vw;letter-spacing:.3vw}
    .hero-first{top:37%;left:4%}.hero-last{top:38%;left:auto;right:3%}
}
@media (max-width:959px){
    .site-header{position:relative;background:var(--pink);height:100px}
    .menu-toggle{display:block;position:absolute;right:20px;top:34px;background:none;border:0;cursor:pointer;padding:6px}
    .menu-toggle span{display:block;width:26px;height:2px;background:var(--heading);margin:5px 0}
    .main-nav{display:none;top:100px;left:0;right:0;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.08)}
    .menu-open .main-nav{display:block}
    .main-nav ul{flex-direction:column}
    .main-nav li a{line-height:48px;border-bottom:1px solid #f0f0f0}
    .home-hero{padding-top:0}
    .page-banner{height:auto;display:flex;align-items:center;justify-content:center;gap:24px;padding:30px 20px}
    .banner-title,.banner-icon{position:static!important}
    .banner-title{font-size:32px;white-space:normal}
    .banner-icon{width:120px!important}
    .legacy-top,.legacy-top .page-banner{height:auto}
    .inner-top{padding-bottom:120px}
    .quote-card{flex-direction:column-reverse;height:auto;margin:0}
    .quote-text{width:100%;padding:36px 28px}
    .quote-photo{height:300px;flex:none}
    .grid-3{grid-template-columns:1fr;row-gap:30px;max-width:420px}
    .card-img img,.journey img{height:auto!important}
    .video{height:auto;aspect-ratio:16/9}
    .overlap-up{margin-top:-80px}
    .books-promo img{height:auto}
    .tweet-grid,.legacy-forward{flex-direction:column}
    .tweet-col,.wall-col,.lf-left,.lf-right{width:100%}
    .wall-col{margin-top:50px}
    .tweet-text{font-size:28px;line-height:36px}
    .lf-right{padding:40px 12px 0}
    .person h3,.legacy-map h3{font-size:26px;line-height:34px}
    .legacy-map h3{width:auto}
    .legacy-map img{width:100%;height:auto}
    .tweet-section{padding-bottom:100px}
    .media-list{padding-top:20px}
}
