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

/*
  COLOR SCHEME OPTIONS - uncomment one block:

  Option A: Classic Navy & Gold
  Option B: Warm Terracotta & Slate
  Option C: Forest Green & Copper
*/

/* Option A: Classic Navy & Gold (default) */
:root {
    --primary-color: #f7f5f0;        
    --secondary-color: #ffffff;       
    --accent-color: #1e3a5f;          
    --accent-secondary: #c9a227;     
    --text-color: #2d2d2d;            
    --text-muted: #5a5a5a;            
    --heading-color: #1e3a5f;        
}

/* Option B: Warm Terracotta & Slate 
:root {
    --primary-color: #faf8f5;
    --secondary-color: #ffffff;
    --accent-color: #a54a2a;
    --accent-secondary: #4a6670;
    --text-color: #2d2d2d;
    --text-muted: #5a5a5a;
    --heading-color: #8b3a1d;
}
*/

/* Option C: Forest Green & Copper
:root {
    --primary-color: #f5f7f4;
    --secondary-color: #ffffff;
    --accent-color: #2d4a3e;
    --accent-secondary: #b87333;
    --text-color: #2d2d2d;
    --text-muted: #5a5a5a;
    --heading-color: #1e3528;
}
*/

/* Font families */
:root {
    --font-display: 'Libre Baskerville', Georgia, serif;
    --font-text: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
    --font-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.7;
    position: relative;
}

/* Subtle paper texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--heading-color);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links li:not(:first-child)::before {
    content: '·';
    color: rgba(255, 255, 255, 0.4);
    margin-right: 0.5rem;
}

.nav-links a {
    font-family: var(--font-ui);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-secondary);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle::after {
    content: '';
    font-size: 0.7em;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--heading-color);
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border-radius: 4px;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li {
    padding: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-secondary);
}

.social-links-header {
    display: flex;
    gap: 0.75rem;
}

.social-links-header a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
}

.social-links-header a:hover {
    color: var(--accent-secondary);
}

.social-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.8;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
    background: var(--secondary-color);
    max-width: 100%;
}

.hero-content {
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.book-cover {
    flex: 0 0 auto;
}

.book-cover img {
    max-width: 350px;
    width: 100%;
    height: auto;
}

.hero-text {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.hero-kicker {
    font-family: var(--font-text);
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
    margin-top: 2.5rem;
    margin-bottom: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    padding: 1.25rem 1.5rem;
    background: var(--primary-color);
    border-radius: 6px;
    border-left: 3px solid var(--accent-secondary);
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--heading-color);
    letter-spacing: -0.01em;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.authors-byline {
    font-size: 1.1rem;
    color: var(--accent-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-buy-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.hero-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, opacity 0.2s;
    padding: 0.5rem;
    position: relative;
    z-index: 10;
}

.hero-buy-btn img {
    height: 40px;
    width: auto;
    display: block;
    filter: brightness(0) saturate(100%) invert(17%) sepia(25%) saturate(1500%) hue-rotate(180deg);
}

.hero-buy-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

/* Sections - General */
section {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

section h2 {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    text-align: center;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent-secondary);
    margin: 1rem auto 0;
}

section p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Buy Section */
.buy-section {
    text-align: center;
    background: var(--primary-color);
    max-width: 100%;
    padding: 2rem 2rem 4rem;
}


.buy-section h2 {
    margin-bottom: 2rem;
}

.retailer-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.retailer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0.5rem;
    background: transparent;
}

.retailer-btn img {
    height: 44px;
    width: auto;
    display: block;
    filter: brightness(0) saturate(100%) invert(17%) sepia(25%) saturate(1500%) hue-rotate(180deg);
}

.retailer-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.preview-link {
    margin-top: 1rem;
}

.preview-link a {
    color: var(--accent-secondary);
    text-decoration: underline;
    transition: color 0.3s;
}

.preview-link a:hover {
    color: var(--accent-color);
}

/* Endorsements Section */
.endorsements {
    background: var(--primary-color);
}

.endorsement-grid {
    display: grid;
    gap: 2rem;
}

.endorsement {
    background: var(--secondary-color);
    padding: 2.5rem 2.5rem 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    position: relative;
}

.endorsement::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--accent-secondary);
    opacity: 0.2;
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    line-height: 1;
}

.endorsement.visible {
    opacity: 1;
    transform: translateY(0);
}

.endorsement p {
    font-family: var(--font-text);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    line-height: 1.85;
    position: relative;
    z-index: 1;
}

.endorsement cite {
    font-family: var(--font-ui);
    color: var(--accent-secondary);
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    display: block;
    text-align: right;
}

/* About Section */
.about {
    text-align: left;
    max-width: 750px;
    margin: 0 auto;
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.about p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 3.5rem;
    float: left;
    line-height: 1;
    margin-right: 0.5rem;
    margin-top: 0.1rem;
    color: var(--accent-color);
    font-weight: 700;
}

.about ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.about li {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Authors Section */
.authors-section {
    background: var(--secondary-color);
    max-width: 100%;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.author-card {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.author-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.author-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.author-photo.placeholder {
    background: #d0ccc5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#eric-photo {
    object-position: center 10%;
    transform: scale(1);
}

#owen-photo {
    object-position: 60% center;
}

.author-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.author-bio {
    color: var(--text-muted);
    line-height: 1.7;
    text-align: justify;
    max-width: 350px;
    margin: 0 auto;
}

/* Media Section */
.media-section {
    background: var(--secondary-color);
    max-width: 100%;
}

.as-seen-in {
    text-align: center;
    margin-bottom: 3rem;
}

.as-seen-in-label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.media-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.media-logo {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.7;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.video-embed {
    background: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
}

.video-embed iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    background: #d0ccc5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    padding: 1rem;
    text-align: center;
}

.video-placeholder span {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.video-placeholder p {
    font-size: 0.85rem;
    margin: 0;
}

.video-embed iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.video-caption {
    padding: 1rem;
    text-align: center;
    font-size: 0.95rem;
}

.media-subsection-title {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

.media-subsection-title:first-of-type {
    margin-top: 0;
}

.articles-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.article-item {
    border-bottom: 1px solid #e0dcd6;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item a {
    display: block;
    padding: 1.25rem 0;
    text-decoration: none;
    transition: background 0.3s;
}

.article-item a:hover {
    background: rgba(0, 0, 0, 0.02);
    margin: 0 -1rem;
    padding: 1.25rem 1rem;
}

.article-outlet {
    display: block;
    font-family: var(--font-ui);
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-family: var(--font-text);
    color: var(--text-color);
    font-size: 1.05rem;
}

/* Press Section */
.press-section {
    background: var(--primary-color);
    max-width: 100%;
}

.press-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.press-item {
    border-bottom: 1px solid #e0dcd6;
}

.press-item:last-child {
    border-bottom: none;
}

.press-item a {
    display: block;
    padding: 1.25rem 0;
    text-decoration: none;
    transition: background 0.3s;
}

.press-item a:hover {
    background: var(--primary-color);
    margin: 0 -1rem;
    padding: 1.25rem 1rem;
}

.press-outlet {
    display: block;
    font-family: var(--font-ui);
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.press-title {
    font-family: var(--font-text);
    color: var(--text-color);
    font-size: 1.05rem;
}

.press-contact {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.press-contact p {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.press-contact-info {
    line-height: 1.8;
}

.press-contact a {
    color: var(--accent-color);
    text-decoration: none;
}

.press-contact a:hover {
    text-decoration: underline;
}

/* Subscribe Section */
.subscribe-section {
    background: var(--secondary-color);
    text-align: center;
    padding: 5rem 2rem;
    max-width: 100%;
}

.subscribe-section h2 {
    margin-bottom: 1rem;
}

.subscribe-tagline {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.substack-embed {
    display: flex;
    justify-content: center;
}

.substack-embed iframe {
    max-width: 100%;
    border: 1px solid #e0dcd6;
    border-radius: 8px;
    background: white;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    border-top: 1px solid #d0ccc5;
    background: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('../The Everywhere Millionaire_6.jpg');
    background-size: cover;
    background-position: center 28%;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    color: var(--text-muted);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 0.75rem 1rem;
    }

    nav {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .logo {
        font-size: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--heading-color);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links li:not(:first-child)::before {
        display: none;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .social-links-header {
        display: none;
    }

    .hero {
        padding-top: 8rem;
    }

    .hero-text h1 {
        font-size: 1.85rem;
    }

    .hero-kicker {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .hero-content {
        gap: 2rem;
    }

    .book-cover img {
        max-width: 250px;
    }

    .retailer-buttons {
        gap: 0.75rem;
    }

    .retailer-btn img {
        height: 38px;
    }

    .authors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .subscribe-section {
        padding: 3rem 1rem;
    }
}
