/* twrightbooks.com — shared stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy-deep: #0a0e1a;
    --navy: #131a2e;
    --navy-light: #1c2544;
    --gold: #cda86a;
    --gold-light: #e8d5a8;
    --cream: #f6f2e9;
    --ink: #1a1710;
    --text-mid: #6b6455;
    --white: #ffffff;
    --font-display: 'Orbitron', Arial, sans-serif;
}

h1, h2, h3, .nav-logo {
    font-family: var(--font-display);
}

html { scroll-behavior: smooth; }

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.7;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.eyebrow {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.rule {
    width: 2.5rem;
    height: 1px;
    background: var(--gold);
    margin-bottom: 2rem;
}

/* ── Navigation ── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 14, 26, 0.96);
    backdrop-filter: blur(8px);
    padding: 1.1rem 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(205, 168, 106, 0.22);
}

.nav-logo {
    color: var(--gold-light);
    font-size: 1.05rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.68);
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    padding: 0.55rem 1.3rem;
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--navy-deep) !important;
}

/* ── Page header band (non-home pages) ── */
.page-header {
    background: var(--navy-deep);
    padding: 10rem 6% 5rem;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(205,168,106,0.10) 0%, transparent 55%),
                radial-gradient(ellipse at 10% 90%, rgba(205,168,106,0.06) 0%, transparent 45%);
    pointer-events: none;
}

.page-header h1 {
    position: relative;
    font-size: clamp(1.9rem, 4vw, 3rem);
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.25;
    max-width: 780px;
}

.page-header p {
    position: relative;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.55);
    max-width: 620px;
    margin-top: 1.4rem;
    line-height: 1.85;
}

/* ── Hero (home) ── */
.hero {
    min-height: 100vh;
    background: var(--navy-deep);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
    padding: 9rem 6% 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 75% 35%, rgba(205,168,106,0.09) 0%, transparent 55%),
                radial-gradient(ellipse at 10% 85%, rgba(205,168,106,0.05) 0%, transparent 45%),
                radial-gradient(1px 1px at 20% 20%, rgba(255,255,255,0.4), transparent),
                radial-gradient(1px 1px at 60% 10%, rgba(255,255,255,0.3), transparent),
                radial-gradient(1px 1px at 85% 60%, rgba(255,255,255,0.35), transparent),
                radial-gradient(1px 1px at 40% 75%, rgba(255,255,255,0.25), transparent);
    pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
    max-width: 640px;
    margin-bottom: 1.8rem;
}

.hero h1 em {
    color: var(--gold);
    font-style: normal;
    display: block;
    margin-top: 0.3em;
}

.hero-sub {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.58);
    max-width: 480px;
    line-height: 1.9;
    margin-bottom: 2.6rem;
    font-weight: 300;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: center;
}

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.hero-visual img {
    max-width: 340px;
    width: 100%;
    box-shadow: 0 30px 70px rgba(0,0,0,0.55);
    border-radius: 2px;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 0.95rem 2.2rem;
    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s;
    border: 1px solid var(--gold);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-deep);
}

.btn-gold:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.btn-outline {
    color: var(--gold);
    background: transparent;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--navy-deep);
}

.btn-outline-dark {
    color: var(--ink);
    border-color: var(--ink);
}

.btn-outline-dark:hover {
    background: var(--ink);
    color: var(--cream);
}

/* ── Sections ── */
section { padding: 6rem 6%; }

.section-dark { background: var(--navy-deep); color: var(--white); }
.section-cream { background: var(--cream); color: var(--ink); }
.section-navy { background: var(--navy); color: var(--white); }

.section-header {
    max-width: 680px;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.section-header p {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-top: 1.2rem;
}

.section-dark .section-header p,
.section-navy .section-header p { color: rgba(255,255,255,0.58); }

/* ── Teaser grid (home) ── */
.teaser-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.teaser-card {
    background: var(--white);
    padding: 2.4rem;
    display: flex;
    gap: 1.8rem;
    border-top: 2px solid transparent;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.teaser-card:hover {
    border-top-color: var(--gold);
    box-shadow: 0 4px 30px rgba(26,15,10,0.08);
}

.teaser-card img { width: 110px; flex-shrink: 0; box-shadow: 0 10px 24px rgba(0,0,0,0.2); }

.teaser-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.4;
    margin-bottom: 0.7rem;
}

.teaser-card .kicker {
    font-family: Arial, sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.6rem;
    display: block;
}

.teaser-card p {
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.teaser-card a {
    font-family: Arial, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
}

/* ── Book cards (books page) ── */
.book-series-block { margin-bottom: 5rem; }

.book-series-block:last-child { margin-bottom: 0; }

.book-series-intro {
    max-width: 720px;
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.9;
    margin-bottom: 3rem;
}

.section-cream .book-series-intro { color: var(--text-mid); }

.book-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}

.book-card {
    background: var(--navy);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
}

.book-card.light { background: var(--white); }

.book-card img {
    width: 100%;
    max-width: 220px;
    margin: 0 auto 1.8rem;
    box-shadow: 0 16px 34px rgba(0,0,0,0.4);
}

.book-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 0.4rem;
}

.book-card .book-num {
    font-family: Arial, sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: 1rem;
    display: block;
}

.book-card p {
    font-family: Arial, sans-serif;
    font-size: 0.83rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.8;
    margin-bottom: 1.6rem;
    flex-grow: 1;
}

.book-card.light p { color: var(--text-mid); }

.book-buy-row {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.book-buy-row a {
    font-family: Arial, sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 0.6rem 1.1rem;
    transition: all 0.2s;
}

.book-buy-row a:hover { background: var(--gold); color: var(--navy-deep); }

.book-card-soon {
    border: 1px dashed rgba(205,168,106,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.2rem;
}

.book-card-soon .soon-inner .eyebrow { margin-bottom: 0.8rem; }

.book-card-soon h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0.01em; margin-bottom: 0.9rem; }

.book-card-soon p {
    font-family: Arial, sans-serif;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
}

/* single full-width entry (13 Days) */
.book-feature {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
    background: var(--navy);
    padding: 3rem;
}

.book-feature img { box-shadow: 0 20px 40px rgba(0,0,0,0.45); }

.book-feature h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.4; margin-bottom: 1rem; }

.book-feature p {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.9;
    margin-bottom: 1.8rem;
}

/* ── About page ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4.5rem;
    align-items: start;
}

.photo-placeholder {
    aspect-ratio: 4 / 5;
    background: var(--navy);
    border: 1px dashed rgba(205,168,106,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.photo-placeholder span {
    font-family: Arial, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    line-height: 1.9;
}

.author-photo {
    width: 100%;
    max-width: 340px;
    display: block;
    box-shadow: 0 24px 50px rgba(0,0,0,0.4);
    border: 1px solid rgba(205,168,106,0.35);
}

.pull-quote {
    font-size: 1.5rem;
    line-height: 1.5;
    font-style: italic;
    color: var(--ink);
    max-width: 620px;
    margin-bottom: 2.4rem;
}

.body-copy {
    font-family: Arial, sans-serif;
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.95;
    max-width: 640px;
}

.body-copy p { margin-bottom: 1.4rem; }

/* ── Free story page ── */
.story-feature {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 3.5rem;
    align-items: center;
}

.story-feature img { box-shadow: 0 24px 50px rgba(0,0,0,0.5); }

.story-feature h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: 0.01em; line-height: 1.4; margin-bottom: 1.4rem; }

.story-feature p {
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.story-fine-print {
    font-family: Arial, sans-serif;
    font-size: 0.72rem !important;
    color: rgba(255,255,255,0.4) !important;
    margin-top: 1.6rem !important;
}

/* ── Contact page ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
}

.contact-block { margin-bottom: 2.6rem; }

.contact-block h3 {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 0.9rem;
    color: var(--gold);
}

.contact-block p, .contact-block a {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.9;
    text-decoration: none;
}

.section-dark .contact-block p, .section-dark .contact-block a,
.section-navy .contact-block p, .section-navy .contact-block a {
    color: rgba(255,255,255,0.62);
}

.contact-block a.email-link {
    color: var(--gold);
    display: inline-block;
    margin-top: 0.3rem;
    border-bottom: 1px solid var(--gold);
}

.press-list { list-style: none; }

.press-list li { margin-bottom: 0.8rem; }

.press-list a {
    color: var(--gold);
    border-bottom: 1px solid rgba(205,168,106,0.4);
    padding-bottom: 1px;
}

/* ── Footer ── */
footer {
    background: var(--navy-deep);
    color: rgba(255,255,255,0.6);
    padding: 4.5rem 6% 2.5rem;
}

.footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.6rem;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(205,168,106,0.2);
}

.footer-cta h3 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.4;
    color: var(--white);
    max-width: 460px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a, .footer-social a {
    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover, .footer-social a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 1.6rem; }

.footer-bottom {
    font-family: Arial, sans-serif;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.04em;
}

/* ── Responsive ── */
@media (max-width: 1150px) {
    .book-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 8rem; }
    .hero-visual { order: -1; }
    .hero-visual img { max-width: 220px; }
    .teaser-grid { grid-template-columns: 1fr; }
    .book-grid { grid-template-columns: 1fr; }
    .book-feature { grid-template-columns: 1fr; }
    .book-card img { max-width: 180px; }
    .book-feature img { max-width: 220px; margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; }
    .photo-placeholder { max-width: 260px; margin: 0 auto; }
    .author-photo { max-width: 260px; margin: 0 auto; }
    .story-feature { grid-template-columns: 1fr; }
    .story-feature img { max-width: 220px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; }
    nav { flex-direction: column; gap: 0.9rem; padding: 1rem 6%; }
    .nav-links { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 560px) {
    .book-buy-row { flex-direction: column; align-items: center; }
    .footer-cta { flex-direction: column; align-items: flex-start; }
}
