
/* =========================================
   SHIREEN JABRY - AUTHOR WEBSITE
   PREMIUM CINEMATIC DESIGN
========================================= */


/* =========================================
   1. GOOGLE FONTS
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');


/* =========================================
   2. ROOT VARIABLES
========================================= */

:root {
    --charcoal: #161616;
    --midnight: #0F1C2E;
    --crimson: #8B1E24;
    --silver: #C9C9C9;
    --white: #FFFFFF;

    --text-light: #E7E7E7;
    --text-muted: #A8ADB5;

    --section-dark: #101010;
    --section-blue: #0C1725;

    --heading-font: 'Cormorant Garamond', serif;
    --body-font: 'DM Sans', sans-serif;

    --transition: all 0.35s ease;
}


/* =========================================
   3. GLOBAL RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--body-font);
    background: var(--charcoal);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

ul {
    list-style: none;
}

.container {
    width: min(1180px, 90%);
    margin: auto;
}

.section-padding {
    padding: 110px 0;
}


/* =========================================
   4. HEADER
========================================= */

.site-header {
    width: 100%;
    min-height: 88px;
    background: rgba(15, 28, 46, 0.97);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
}

.header-container {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    font-family: var(--heading-font);
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--white);
    line-height: 1.1;
    white-space: nowrap;
}

.logo span {
    display: block;
    font-family: var(--body-font);
    font-size: 9px;
    letter-spacing: 6px;
    color: var(--silver);
    text-align: center;
    margin-top: 5px;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 23px;
}

.main-navigation ul a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #E2E2E2;
    transition: var(--transition);
}

.main-navigation ul a:hover {
    color: #D75B61;
}

.nav-cta {
    background: var(--crimson);
    color: var(--white);
    padding: 12px 18px;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 700;
    transition: var(--transition);
}

.nav-cta:hover {
    background: #B52B34;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    font-size: 25px;
    cursor: pointer;
    padding: 5px 12px;
}


/* =========================================
   5. HERO SECTION
========================================= */

.hero-section {
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(7, 13, 22, 0.98) 0%,
            rgba(10, 19, 32, 0.86) 48%,
            rgba(10, 19, 32, 0.25) 100%
        ),
        url("../images/hero-background.jpg");

    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(22,22,22,0.75),
        transparent 45%
    );
}
.hero-author-img{
    height: 500px;
    width: 370px;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 100px;
}

.hero-subtitle {
    color: #D45A60;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 25px;
}

.hero-content h1 {
    font-family: var(--heading-font);
    font-size: clamp(55px, 8vw, 105px);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--white);
}

.hero-content h1 span {
    color: var(--silver);
}

.hero-content h2 {
    font-family: var(--heading-font);
    font-size: clamp(25px, 3.5vw, 39px);
    font-weight: 400;
    color: #E4E4E4;
    margin-top: 32px;
    max-width: 700px;
}

.hero-description {
    max-width: 570px;
    color: #C3C8CF;
    font-size: 15px;
    margin-top: 20px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.hero-bottom-text {
    position: absolute;
    right: 5%;
    bottom: 35px;
    font-size: 10px;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.6);
}


/* =========================================
   6. BUTTONS
========================================= */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 14px 27px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-primary {
    background: var(--crimson);
    color: var(--white);
    border: 1px solid var(--crimson);
}

.btn-primary:hover {
    background: #B72C35;
    border-color: #B72C35;
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.55);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
    transform: translateY(-3px);
}

.center-button {
    text-align: center;
    margin-top: 50px;
}


/* =========================================
   7. SECTION HEADINGS
========================================= */

.section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 65px;
}

.section-heading > span,
.about-details > span,
.vision-content > span,
.contact-content > span,
.ask-details > span {
    display: block;
    color: #D45A60;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 17px;
}

.section-heading h2 {
    font-family: var(--heading-font);
    font-size: clamp(36px, 5vw, 55px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--white);
}

.section-heading h2 em,
.about-details h2 em,
.vision-content h2 em,
.ask-details h2 em {
    color: #C85B61;
    font-style: italic;
}

.section-heading p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 15px;
}


/* =========================================
   8. FEATURED BOOK
========================================= */

.featured-book {
    background: var(--section-dark);
}

.featured-book-content {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 85px;
    max-width: 1000px;
    margin: auto;
}

.book-image {
    background: #0D1929;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 20px 20px 55px rgba(0,0,0,0.45);
}

.book-image img {
    width: 100%;
    max-width: 380px;
    margin: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.book-label {
    color: #D45A60;
    font-size: 11px;
    letter-spacing: 4px;
    font-weight: 700;
}

.book-details h2 {
    font-family: var(--heading-font);
    font-size: clamp(40px, 5vw, 61px);
    margin: 15px 0;
    line-height: 1;
    color: var(--white);
}

.book-details h3 {
    font-family: var(--heading-font);
    font-size: 27px;
    line-height: 1.3;
    color: var(--silver);
    font-weight: 500;
    margin-bottom: 25px;
}

.book-details p {
    color: #B5BAC1;
    font-size: 14px;
    margin-bottom: 17px;
}

.release-info {
    color: #E56A70;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin: 25px 0;
}


/* =========================================
   9. BOOK COLLECTION
========================================= */

.books-section {
    background: var(--midnight);
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.book-card {
    background: #142235;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: var(--transition);
}

.book-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139,30,36,0.8);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.book-card > img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: #0C1522;
    padding: 15px;
}

.book-card-content {
    padding: 27px;
}

.book-card-content > span {
    color: #D45A60;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.book-card-content h3 {
    font-family: var(--heading-font);
    font-size: 27px;
    margin: 12px 0;
    line-height: 1.2;
}

.book-card-content p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
}

.book-card-content a {
    color: #E06A70;
    font-size: 12px;
    font-weight: 700;
    transition: var(--transition);
}

.book-card-content a:hover {
    color: var(--white);
}


/* =========================================
   10. Breast cancer section
========================================= */

.breast-main-container{
    display: flex;
}
.brest-text{
    width: 100%;
    text-align: center;
    justify-content: center;
}



/* =========================================
   10. TRAILERS SECTION
========================================= */

.trailers-section {
    background: #101010;
}

.trailer-feature {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    align-items: center;
    gap: 55px;
    background: #111E30;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.08);
}

.trailer-placeholder {
    min-height: 350px;
    background:
        linear-gradient(
            rgba(4,10,18,0.45),
            rgba(4,10,18,0.8)
        ),
        url("../images/trailer-background.jpg");

    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.play-button {
    width: 75px;
    height: 75px;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 23px;
    padding-left: 5px;
    color: white;
}

.trailer-placeholder p {
    font-size: 10px;
    letter-spacing: 4px;
    font-weight: 700;
}

.trailer-info > span {
    color: #D45A60;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
}

.trailer-info h3 {
    font-family: var(--heading-font);
    font-size: 40px;
    margin: 15px 0;
}

.trailer-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 25px;
}

.text-link {
    color: #E16A70;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================
   11. ABOUT AUTHOR
========================================= */

.about-section {
    background: var(--section-blue);
}

.about-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 85px;
}

.author-image {
    position: relative;
    padding: 15px;
    border: 1px solid rgba(201,201,201,0.3);
}

.author-image::before {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    background: rgba(139,30,36,0.2);
    top: -15px;
    left: -15px;
    z-index: 0;
}

.author-image img {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.about-details h2 {
    font-family: var(--heading-font);
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.15;
    font-weight: 500;
    margin-bottom: 25px;
}

.about-details p {
    color: #B8BEC7;
    font-size: 14px;
    margin-bottom: 18px;
}

.about-details .btn {
    margin-top: 15px;
}


/* =========================================
   12. MAGAZINE PORTFOLIO
========================================= */

.portfolio-section {
    background: #101010;
}

.portfolio-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.portfolio-card {
    padding: 40px 30px;
    background: #141F2F;
    border-bottom: 2px solid var(--crimson);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    background: #192A40;
}

.portfolio-card > span {
    font-family: var(--heading-font);
    font-size: 45px;
    color: rgba(201,201,201,0.5);
}

.portfolio-card h3 {
    font-family: var(--heading-font);
    font-size: 26px;
    margin: 15px 0;
}

.portfolio-card p {
    font-size: 13px;
    color: var(--text-muted);
}


/* =========================================
   13. VISION & LEGACY
========================================= */

.vision-section {
    background:
        linear-gradient(
            rgba(8,17,29,0.94),
            rgba(8,17,29,0.96)
        ),
        url("../images/vision-background.jpg");

    background-size: cover;
    background-position: center;
    text-align: center;
}

.vision-content {
    max-width: 850px;
}

.vision-content h2 {
    font-family: var(--heading-font);
    font-size: clamp(55px, 8vw, 85px);
    line-height: 1;
    font-weight: 500;
}

.vision-divider {
    width: 75px;
    height: 2px;
    background: var(--crimson);
    margin: 35px auto;
}

.vision-content p {
    color: #C0C6CF;
    font-size: 15px;
    max-width: 700px;
    margin: 0 auto 20px;
}

.vision-content h3 {
    font-family: var(--heading-font);
    font-size: 30px;
    color: white;
    margin: 30px 0;
    font-style: italic;
    font-weight: 500;
}


/* =========================================
   14. ASK THE AUTHOR
========================================= */

.ask-section {
    background: var(--section-dark);
}

.ask-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.ask-details h2 {
    font-family: var(--heading-font);
    font-size: clamp(45px, 6vw, 68px);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 25px;
}

.ask-details p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.ask-details .btn {
    margin-top: 20px;
}

.ask-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ask-decoration span {
    font-family: var(--heading-font);
    font-size: 250px;
    font-weight: 600;
    color: rgba(139,30,36,0.35);
    line-height: 1;
}


/* =========================================
   15. CONTACT SECTION
========================================= */

.contact-section {
    background: var(--midnight);
    text-align: center;
}

.contact-content {
    max-width: 800px;
}

.contact-content h2 {
    font-family: var(--heading-font);
    font-size: clamp(38px, 5vw, 57px);
    font-weight: 500;
    line-height: 1.2;
}

.contact-content p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 25px auto 30px;
    max-width: 650px;
}


/* =========================================
   16. FOOTER
========================================= */

.site-footer {
    background: #080D14;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
    gap: 50px;
    padding-top: 75px;
    padding-bottom: 65px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 22px;
    max-width: 260px;
}

.footer-links h3 {
    font-size: 11px;
    color: #D45A60;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.footer-links a {
    display: block;
    font-size: 12px;
    color: #AEB5BF;
    margin-bottom: 13px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 5%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #89919C;
    font-size: 11px;
}


/* =========================================
   17. RESPONSIVE - TABLET
========================================= */

@media (max-width: 1050px) {

    .main-navigation {
        gap: 15px;
    }

    .main-navigation ul {
        gap: 13px;
    }

    .main-navigation ul a {
        font-size: 10px;
    }

    .nav-cta {
        padding: 11px 12px;
        font-size: 9px;
    }

    .featured-book-content,
    .about-content {
        gap: 45px;
    }

    .footer-container {
        gap: 30px;
    }

}


/* =========================================
   18. RESPONSIVE - MOBILE
========================================= */

@media (max-width: 768px) {

    .section-padding {
        padding: 75px 0;
    }

    .site-header,
    .header-container {
        min-height: 75px;
    }

    .logo {
        font-size: 23px;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: #0B1523;
        padding: 25px 5%;
        border-top: 1px solid rgba(255,255,255,0.1);
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .main-navigation.active {
        display: flex;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-navigation ul li {
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .main-navigation ul a {
        display: block;
        padding: 13px 0;
        font-size: 13px;
    }

    .nav-cta {
        text-align: center;
        font-size: 11px;
        padding: 14px;
    }

    .hero-section {
        min-height: 650px;
        background-position: 65% center;
    }

    .hero-content {
        padding-top: 70px;
        padding-bottom: 80px;
    }

    .hero-subtitle {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .hero-content h1 {
        font-size: clamp(48px, 12vw, 75px);
        letter-spacing: 1px;
    }

    .hero-content h2 {
        font-size: 27px;
        margin-top: 25px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-bottom-text {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn {
        min-height: 47px;
        padding: 12px 18px;
        font-size: 10px;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .featured-book-content {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 520px;
    }

    .book-image {
        max-width: 330px;
        margin: auto;
    }

    .book-details h2 {
        font-size: 47px;
    }

    .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .book-card-content {
        padding: 18px;
    }

    .book-card-content h3 {
        font-size: 22px;
    }

    .book-card-content > span {
        font-size: 8px;
    }

    .trailer-feature {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 15px;
    }

    .trailer-placeholder {
        min-height: 260px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 550px;
    }

    .author-image {
        max-width: 380px;
        margin: auto;
    }

    .portfolio-content {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .portfolio-card {
        padding: 30px;
    }

    .ask-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ask-decoration span {
        font-size: 150px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 25px;
        padding-top: 55px;
        padding-bottom: 45px;
    }

}


/* =========================================
   19. RESPONSIVE - SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .container {
        width: 90%;
    }

    .section-padding {
        padding: 65px 0;
    }

    .hero-section {
        min-height: 620px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-description {
        font-size: 12px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        min-width: 190px;
    }

    .books-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: auto;
    }

    .book-card > img {
        max-height: 420px;
    }

    .book-details h2 {
        font-size: 40px;
    }

    .book-details h3 {
        font-size: 23px;
    }

    .section-heading h2 {
        font-size: 37px;
    }

    .vision-content h2 {
        font-size: 58px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

}


/* =========================================
   20. ACCESSIBILITY & MOTION
========================================= */

a:focus-visible,
button:focus-visible {
    outline: 2px solid #E56A70;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

}



/* =========================================
   PREMIUM HOMEPAGE REFRESH
   Hero portrait + published books showcase
========================================= */

.hero-premium {
    min-height: 720px;
    padding: 78px 0 86px;
    background:
        radial-gradient(circle at 78% 48%, rgba(139,30,36,.20), transparent 28%),
        linear-gradient(115deg, #080d15 0%, #0f1c2e 58%, #111a27 100%);
    isolation: isolate;
}
.hero-premium .hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .22;
    background-image:
        linear-gradient(90deg, rgba(8,13,21,.96), rgba(8,13,21,.25)),
        url("../images/hero-background.jpg");
    background-size: cover;
    background-position: center;
}
.hero-layout {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: clamp(40px, 7vw, 100px);
    position: relative;
    z-index: 2;
}
.hero-premium .hero-content {
    padding: 20px 0 35px;
    max-width: 680px;
}
.hero-kicker {
    color: #d87579;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3.5px;
    margin-bottom: 24px;
}
.hero-kicker span { color: #c9c9c9; padding: 0 5px; }
.hero-premium .hero-content h1 {
    font-size: clamp(58px, 7.2vw, 100px);
    letter-spacing: 2px;
    line-height: .92;
}
.hero-premium .hero-content h1 span {
    display: block;
    color: #c9c9c9;
}
.hero-manifesto {
    margin-top: 29px;
    max-width: 560px;
    color: #fff;
    font-family: var(--heading-font);
    font-size: clamp(27px, 3vw, 39px);
    line-height: 1.18;
}
.hero-premium .hero-description {
    max-width: 560px;
    margin-top: 19px;
    color: #c1c7d0;
    font-size: 14px;
    line-height: 1.95;
}
.hero-premium .hero-description em {
    display: block;
    margin-top: 9px;
    color: #8f9aaa;
    font-size: 12px;
}
.hero-premium .hero-buttons { margin-top: 32px; }
.hero-signature {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 48px;
    color: #9da6b2;
    font-size: 10px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}
.signature-line {
    width: 42px;
    height: 1px;
    background: #9a343a;
}
.hero-portrait-wrap {
    justify-self: center;
    width: min(100%, 440px);
    position: relative;
    padding: 0 20px 25px 0;
}
.portrait-frame {
    position: relative;
    padding: 12px;
    border: 1px solid rgba(201,201,201,.55);
    background: rgba(255,255,255,.035);
    box-shadow: 25px 25px 70px rgba(0,0,0,.42);
}
.portrait-frame::before {
    content: "";
    position: absolute;
    inset: 22px -18px -18px 22px;
    border: 1px solid rgba(139,30,36,.7);
    z-index: -1;
}
.hero-premium .hero-author-img {
    display: block;
    width: 100%;
    height: 535px;
    object-fit: cover;
    object-position: center top;
    background: #182438;
}
.portrait-caption {
    display: block;
    margin-top: 17px;
    color: #c9c9c9;
    font-size: 9px;
    letter-spacing: 3px;
    text-align: right;
}
.portrait-caption i { color: #b44b51; font-style: normal; padding: 0 5px; }
.hero-premium .hero-bottom-text {
    right: 5%;
    bottom: 24px;
    color: rgba(255,255,255,.42);
}

/* Published books strip inspired by the supplied visual reference */
.published-books-section {
    background: #f0ece7;
    color: #171717;
    padding: 76px 0 82px;
}
.published-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 38px;
}
.section-eyebrow {
    display: block;
    color: #8b1e24;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}
.published-heading h2 {
    color: #171717;
    font-family: var(--heading-font);
    font-size: clamp(37px, 5vw, 54px);
    font-weight: 600;
    line-height: 1;
}
.published-heading h2 em { color: #8b1e24; font-weight: 500; }
.published-heading p {
    color: #65605d;
    font-size: 13px;
    margin-top: 12px;
}
.published-view-all {
    flex: 0 0 auto;
    color: #7f1c23;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(127,28,35,.4);
    padding-bottom: 7px;
}
.published-books-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 265px;
    align-items: stretch;
    gap: 28px;
}
.published-book-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 19px;
}
.published-book-card {
    min-width: 0;
    text-align: center;
}
.published-book-card a { display: block; height: 100%; }
.published-cover {
    height: 285px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: linear-gradient(145deg, #e4ded7, #f8f5f1);
    box-shadow: 0 9px 22px rgba(33,25,20,.12);
    transition: transform .35s ease, box-shadow .35s ease;
}
.published-book-card:hover .published-cover {
    transform: translateY(-7px);
    box-shadow: 0 16px 30px rgba(33,25,20,.19);
}
.published-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.published-book-card h3 {
    color: #222;
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    margin: 15px 0 8px;
}
.published-book-card span {
    color: #8b1e24;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.published-book-card span b { font-size: 14px; margin-left: 4px; }
.upcoming-book-panel {
    border-left: 1px solid #c8bdb4;
    padding: 9px 0 8px 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.upcoming-label {
    display: inline-block;
    color: #7e1d24;
    border: 1px solid #a77a7b;
    padding: 6px 10px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 17px;
}
.upcoming-byline {
    color: #77706b;
    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 7px;
}
.upcoming-book-panel h3 {
    color: #741a21;
    font-family: var(--heading-font);
    font-size: 31px;
    line-height: 1.02;
    margin-bottom: 8px;
}
.upcoming-authors {
    color: #25211f;
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 600;
}
.upcoming-copy {
    color: #6b625d;
    font-size: 11px;
    line-height: 1.7;
    margin: 14px 0;
}
.upcoming-date {
    color: #8b1e24;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.6px;
    margin: 2px 0 17px;
}
.upcoming-book-panel .btn {
    min-height: 42px;
    padding: 11px 16px;
    font-size: 9px;
}
.upcoming-book-panel .btn span { margin-left: 8px; }

/* Keep the refreshed layout comfortable on tablets and phones */
@media (max-width: 1000px) {
    .hero-layout { gap: 42px; }
    .hero-premium .hero-author-img { height: 470px; }
    .published-books-layout { grid-template-columns: 1fr; }
    .upcoming-book-panel {
        border-left: 0;
        border-top: 1px solid #c8bdb4;
        padding: 25px 0 0;
        margin-top: 5px;
    }
}
@media (max-width: 768px) {
    .hero-premium { min-height: auto; padding: 58px 0 75px; }
    .hero-layout { grid-template-columns: 1fr; gap: 40px; }
    .hero-premium .hero-content { padding: 0; }
    .hero-premium .hero-content h1 { font-size: clamp(54px, 13vw, 78px); }
    .hero-portrait-wrap { width: min(82%, 390px); }
    .hero-premium .hero-author-img { height: 460px; }
    .hero-signature { margin-top: 32px; }
    .published-heading { align-items: flex-start; flex-direction: column; }
    .published-book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 17px; }
    .published-cover { height: 290px; }
}
@media (max-width: 480px) {
    .hero-premium { padding-top: 48px; }
    .hero-kicker { font-size: 8px; letter-spacing: 2px; }
    .hero-premium .hero-description { font-size: 13px; }
    .hero-portrait-wrap { width: 90%; }
    .hero-premium .hero-author-img { height: 390px; }
    .published-books-section { padding: 58px 0; }
    .published-cover { height: 225px; padding: 5px; }
    .published-book-card h3 { font-size: 18px; }
    .upcoming-book-panel h3 { font-size: 29px; }
}
