/* ==================== RESET & TOKENS ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 
     * Unique palette: warm ivory + deep charcoal + terracotta accent
     * NOT the typical dark-mode teal/cyan gradient everyone uses
     */
    --bg: #f4f1ec;
    --bg-alt: #eae5dd;
    --bg-dark: #1a1a1a;
    --bg-dark-alt: #242424;
    
    --text: #1a1a1a;
    --text-light: #666;
    --text-muted: #999;
    --text-on-dark: #f4f1ec;
    --text-on-dark-muted: #aaa;
    
    --accent: #c45d3e;
    --accent-light: #d97b5f;
    --accent-dark: #a04a30;
    
    --border: rgba(0, 0, 0, 0.08);
    --border-dark: rgba(255, 255, 255, 0.08);
    
    --font-sans: 'Space Grotesk', 'DM Sans', -apple-system, sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ==================== ANIMATIONS ==================== */
.anim-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.anim-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.anim-in:nth-child(2) { transition-delay: 0.07s; }
.anim-in:nth-child(3) { transition-delay: 0.14s; }
.anim-in:nth-child(4) { transition-delay: 0.21s; }
.anim-in:nth-child(5) { transition-delay: 0.28s; }
.anim-in:nth-child(6) { transition-delay: 0.35s; }

/* ==================== NAVIGATION ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 72px;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(244, 241, 236, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text);
}

.nav-logo-dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 6px;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-light);
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s ease;
    letter-spacing: 0.2px;
}

.nav-link::before {
    content: attr(data-num) " ";
    font-size: 0.65rem;
    color: var(--text-muted);
    vertical-align: super;
    margin-right: 2px;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(0, 0, 0, 0.04);
}

.nav-cta {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    padding: 8px 18px;
    border: 1.5px solid var(--accent);
    border-radius: 100px;
    transition: all 0.25s var(--ease-out);
}

.nav-cta:hover {
    background: var(--accent);
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text);
    transition: all 0.3s ease;
}

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}

/* Marquee ticker — unique to this site */
.hero-marquee {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}

.hero-marquee-track {
    display: inline-flex;
    gap: 40px;
    animation: marquee 25s linear infinite;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-marquee-sep {
    color: var(--accent);
    font-size: 0.6rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-layout {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 40px;
    align-items: center;
}

.hero-intro {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.hero-line {
    width: 48px;
    height: 1.5px;
    background: var(--accent);
}

.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(2.6rem, 4.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 48px;
    color: var(--text);
}

.hero-title-line {
    display: block;
}

.hero-title-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 0;
}

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hero-credentials {
    display: flex;
    gap: 10px;
}

.credential-chip {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 8px 18px;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    color: var(--text-light);
}

.hero-arrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.2s ease;
}

.hero-arrow:hover {
    color: var(--accent);
}

.hero-arrow-icon {
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s var(--ease-out);
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.hero-arrow:hover .hero-arrow-icon {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-right {
    display: flex;
    justify-content: flex-end;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    /* Non-standard shape: clipped polygon rather than boring rectangle */
    clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
    filter: grayscale(15%) contrast(1.05);
}

.hero-image-caption {
    position: absolute;
    bottom: 16px;
    right: 0;
    text-align: right;
    font-family: var(--font-sans);
}

.caption-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.3px;
}

.caption-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==================== PHILOSOPHY ==================== */
.philosophy {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 120px 40px;
    position: relative;
}

.philosophy-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.philosophy-number {
    font-family: var(--font-sans);
    font-size: 8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -40px;
    left: -10px;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.philosophy-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
    max-width: 800px;
    margin-bottom: 72px;
    color: rgba(255, 255, 255, 0.85);
}

.philosophy-quote em {
    color: var(--accent-light);
    font-style: italic;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-dark);
}

.philosophy-card {
    padding: 40px 36px;
    background: var(--bg-dark);
}

.philosophy-card-num {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--accent-light);
    margin-bottom: 16px;
}

.philosophy-card h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-on-dark);
}

.philosophy-card p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-on-dark-muted);
}

/* ==================== ABOUT ==================== */
.about {
    padding: 0;
}

.about-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
}

.about-image-block {
    overflow: hidden;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(20%) contrast(1.05);
    transition: filter 0.6s ease;
}

.about-photo:hover {
    filter: grayscale(0%);
}

.about-text-block {
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}

.about-headline {
    font-family: var(--font-sans);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 20px;
}

.about-body {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 520px;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-detail {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.detail-label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-top: 2px;
}

.detail-value {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.5;
}

/* ==================== GUIDES ==================== */
.guides {
    padding: 120px 40px 80px;
    max-width: 1280px;
    margin: 0 auto;
}

.guides-header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 64px;
    position: relative;
}

.guides-number {
    font-family: var(--font-sans);
    font-size: 8rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    position: absolute;
    top: -30px;
    left: -10px;
}

.guides-title {
    font-family: var(--font-sans);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.guides-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 440px;
    line-height: 1.6;
}

.guides-header-text {
    padding-top: 20px;
}

/* Horizontal rows — NOT cards */
.guide-row {
    display: grid;
    grid-template-columns: 260px 1fr 200px;
    gap: 32px;
    align-items: center;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
}

.guide-row:last-of-type {
    border-bottom: 1px solid var(--border);
}

.guide-row:hover {
    padding-left: 12px;
}

.guide-row:hover .guide-name {
    color: var(--accent);
}

.guide-row-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.guide-num {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    min-width: 20px;
}

.guide-name {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    transition: color 0.2s ease;
}

.guide-row-center p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.55;
}

.guide-row-right {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-end;
}

.guide-tag {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: 100px;
    white-space: nowrap;
}

.guide-link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.guide-link:hover {
    opacity: 0.7;
}

.guides-images {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.guide-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 4px;
    filter: grayscale(15%) contrast(1.05);
    transition: filter 0.4s ease;
}

.guide-photo:hover {
    filter: grayscale(0%);
}

/* ==================== WRITING ==================== */
.writing {
    background: var(--bg-alt);
    padding: 120px 40px;
}

.writing-header {
    max-width: 1280px;
    margin: 0 auto 56px;
    position: relative;
}

.writing-number {
    font-family: var(--font-sans);
    font-size: 8rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.04);
    line-height: 1;
    position: absolute;
    top: -30px;
    left: -10px;
    pointer-events: none;
}

.writing-title {
    font-family: var(--font-sans);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -1px;
    padding-top: 20px;
}

/* Expandable list — not card grid */
.writing-list {
    max-width: 1280px;
    margin: 0 auto;
}

.writing-item {
    display: grid;
    grid-template-columns: 100px 1fr 48px;
    gap: 24px;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
}

.writing-item:last-child {
    border-bottom: 1px solid var(--border);
}

.writing-item:hover {
    padding-left: 12px;
}

.writing-item:hover .writing-item-title {
    color: var(--accent);
}

.writing-item-cat {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.writing-item-title {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    transition: color 0.2s ease;
}

.writing-item-arrow {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-align: right;
    transition: all 0.2s ease;
}

.writing-item:hover .writing-item-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

.writing-footer {
    max-width: 1280px;
    margin: 40px auto 0;
}

.writing-all {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    transition: opacity 0.2s ease;
}

.writing-all:hover {
    opacity: 0.7;
}

/* ==================== NEWSLETTER ==================== */
.newsletter {
    padding: 0;
}

.newsletter-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.newsletter-image {
    overflow: hidden;
}

.newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(15%) contrast(1.05);
}

.newsletter-content {
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.newsletter-number {
    font-family: var(--font-sans);
    font-size: 8rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.04);
    position: absolute;
    top: 40px;
    right: 40px;
    line-height: 1;
    pointer-events: none;
}

.newsletter-headline {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.newsletter-headline em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.newsletter-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 420px;
}

.form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text);
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--accent);
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    color: white;
    background: var(--accent);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s var(--ease-out);
    letter-spacing: 0.3px;
}

.form-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.form-submit:active {
    transform: translateY(0);
}

.newsletter-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-on-dark);
    padding: 64px 40px 32px;
}

.footer-top {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-dark);
}

.footer-logo {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-on-dark-muted);
    line-height: 1.6;
    margin-top: 12px;
}

.footer-links-group {
    display: flex;
    gap: 56px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col-label {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-on-dark-muted);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-on-dark-muted);
}

/* ==================== MOBILE OVERLAY ==================== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        padding: 100px 32px;
        gap: 4px;
        transition: right 0.35s var(--ease-out);
        border-left: 1px solid var(--border);
        z-index: 99;
    }

    .nav-links.open {
        display: flex;
        right: 0;
    }
    
    .nav-link {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .nav-toggle.active span:first-child {
        transform: rotate(45deg) translate(4px, 4px);
    }
    .nav-toggle.active span:last-child {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .hero-layout {
        grid-template-columns: 1fr;
        padding-top: 40px;
    }
    
    .hero-right {
        order: -1;
        justify-content: center;
    }
    
    .hero-image-container {
        max-width: 320px;
    }
    
    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .about-strip {
        grid-template-columns: 1fr;
    }
    
    .about-image-block {
        max-height: 400px;
    }
    
    .about-text-block {
        padding: 48px 24px;
    }
    
    .about-detail {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .guides {
        padding: 80px 24px;
    }
    
    .guide-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .guide-row-left {
        gap: 12px;
    }
    
    .guide-row-right {
        justify-content: flex-start;
        padding-left: 32px;
    }

    .guides-images {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .writing {
        padding: 80px 24px;
    }
    
    .writing-item {
        grid-template-columns: 70px 1fr 32px;
        gap: 12px;
    }
    
    .writing-item-title {
        font-size: 1rem;
    }

    .newsletter-layout {
        grid-template-columns: 1fr;
    }
    
    .newsletter-image {
        max-height: 350px;
    }
    
    .newsletter-content {
        padding: 48px 24px;
    }
    
    .form-fields {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
    }
    
    .footer-links-group {
        gap: 32px;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    
    .nav-inner {
        padding: 0 20px;
    }
    
    .philosophy {
        padding: 80px 24px;
    }
    
    .philosophy-quote {
        font-size: 1.4rem;
    }
}

/* ==================== PAGE HERO (Shared) ==================== */
.page-hero {
    padding: 140px 48px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.page-hero-inner {
    border-bottom: 1px solid var(--border);
    padding-bottom: 40px;
}

.page-hero-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 16px;
}

.page-hero-title {
    font-family: var(--font-sans);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    color: var(--text);
}

.page-hero-title em {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--accent);
}

.page-hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-top: 16px;
    line-height: 1.6;
}

/* ==================== ABOUT PAGE ==================== */
.about-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 48px 80px;
}

.about-page-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.about-page-image img {
    width: 100%;
    border-radius: 4px;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.about-page-section {
    margin-bottom: 40px;
}

.about-page-section h2 {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.about-page-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.about-page-section a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Timeline */
.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.timeline-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-year {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 500;
}

.timeline-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
}

.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==================== LISTING PAGE ==================== */
.listing-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 48px 80px;
}

/* Filter buttons */
.listing-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.filter-btn {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 18px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 100px;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--text);
    color: var(--text);
}

.filter-btn.active {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
}

/* Article list - reuses writing-item styles from homepage */
.article-list .writing-item {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== BOOK NOTES GRID ==================== */
.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.book-card {
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    background: var(--bg);
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s ease;
    position: relative;
}

.book-card:hover {
    background: #eae7e1;
}

.book-card-num {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.book-card-title {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.book-card-author {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: auto;
}

.book-card-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 1rem;
    color: var(--accent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.book-card:hover .book-card-arrow {
    opacity: 1;
}

/* ==================== FREE GUIDES PAGE ==================== */
.guides-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 48px 80px;
}

.guide-card-full {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
}

.guide-card-full:first-child {
    border-top: 1px solid var(--border);
}

.guide-card-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: italic;
    color: var(--accent);
}

.guide-card-content h2 {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.guide-card-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
}

.guide-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.guide-card-cta {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
    padding: 10px 20px;
    border: 1px solid var(--accent);
    border-radius: 100px;
    transition: all 0.2s ease;
}

.guide-card-cta:hover {
    background: var(--accent);
    color: white;
}

.guides-page .guides-images {
    margin-top: 60px;
}

/* ==================== NEWSLETTER PAGE ==================== */
.newsletter-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 48px 80px;
}

.newsletter-page-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.newsletter-page-image img {
    width: 100%;
    border-radius: 4px;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.newsletter-page-title {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.newsletter-page-title em {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--accent);
}

.newsletter-page-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.newsletter-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 36px;
}

.newsletter-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    flex-shrink: 0;
    width: 28px;
}

.newsletter-feature strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.newsletter-feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==================== CONTACT PAGE ==================== */
.contact-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 140px 48px 80px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-title {
    font-family: var(--font-sans);
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin: 16px 0;
}

.contact-title em {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--accent);
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-link-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: color 0.2s ease;
}

.contact-link-item:hover {
    color: var(--accent);
}

.contact-link-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.contact-link-handle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    font-family: var(--font-sans);
}

/* ==================== ARTICLE/BOOK-NOTE PAGE ==================== */
.article-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 32px 60px;
}

.article-header {
    margin-bottom: 40px;
}

.article-back {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}

.article-back:hover {
    color: var(--accent);
}

.article-category {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    margin-bottom: 12px;
}

.article-title {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.15;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.article-body h2, .article-body h3 {
    font-family: var(--font-sans);
    color: var(--text);
    margin-top: 36px;
    margin-bottom: 12px;
}

.article-body p {
    margin-bottom: 16px;
}

.article-body ul, .article-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-redirect {
    text-align: center;
}

.article-redirect p {
    margin-bottom: 24px;
    color: var(--text-muted);
}

.article-iframe {
    width: 100%;
    height: 80vh;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: 20px;
}

.article-original-link {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    padding: 12px 24px;
    border: 1px solid var(--accent);
    border-radius: 100px;
    transition: all 0.2s ease;
}

.article-original-link:hover {
    background: var(--accent);
    color: white;
}

/* Article CTA */
.article-cta {
    background: var(--dark);
    padding: 64px 48px;
    text-align: center;
}

.article-cta-inner h3 {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.article-cta-inner p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.article-cta-btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    background: var(--accent);
    padding: 14px 32px;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.article-cta-btn:hover {
    transform: translateY(-2px);
}

/* ==================== LEGAL PAGES ==================== */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 32px 80px;
}

.legal-title {
    font-family: var(--font-sans);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.legal-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.legal-content h2 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin: 32px 0 12px;
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content ul {
    margin: 12px 0;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Nav active state */
.nav-link.active {
    color: var(--accent);
}

/* ==================== NEW PAGE RESPONSIVE ==================== */
@media (max-width: 900px) {
    .page-hero { padding: 120px 24px 40px; }
    .about-page { padding: 40px 24px 60px; }
    .about-page-layout { grid-template-columns: 1fr; gap: 32px; }
    .about-page-image img { aspect-ratio: 16/10; }
    .timeline { grid-template-columns: 1fr; gap: 20px; }
    .listing-page { padding: 20px 24px 60px; }
    .book-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .guide-card-full { grid-template-columns: 60px 1fr; gap: 16px; }
    .guide-card-cta { grid-column: 1 / -1; text-align: center; }
    .guides-page { padding: 20px 24px 60px; }
    .newsletter-page { padding: 100px 24px 60px; }
    .newsletter-page-layout { grid-template-columns: 1fr; gap: 40px; }
    .newsletter-page-image { order: -1; }
    .newsletter-page-image img { aspect-ratio: 16/10; }
    .contact-page { padding: 120px 24px 60px; }
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .article-page { padding: 120px 24px 60px; }
    .legal-page { padding: 120px 24px 60px; }
    .article-cta { padding: 48px 24px; }
}
