/* =========================================================
   SIMON INDELICATE — ACADEMIC PODCAST PRODUCTION
   Shared design system
   ========================================================= */

/* --- DESIGN SYSTEM --- */
:root {
    --bg-dark: #0a0a0a;
    --bg-panel: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.3);
    --text-primary: #f2f2f2;
    --text-secondary: #a1a1a1;
    --accent: #d4ff00;
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(20, 20, 20, 1) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(30, 30, 35, 0.5) 0%, transparent 25%);
}

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

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.03em;
}

a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--ease);
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- HEADER --- */
header {
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(10, 10, 10, 0.85);
    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    flex-shrink: 0;
    color: #fff;
    letter-spacing: 0.01em;
}

.logo-mark {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 20px;
}

.bar {
    width: 3px;
    background-color: var(--accent);
    border-radius: 2px;
    animation: equalize 2s infinite ease-in-out;
}
.bar:nth-child(1) { height: 10px; animation-delay: 0s; }
.bar:nth-child(2) { height: 18px; animation-delay: 0.2s; }
.bar:nth-child(3) { height: 14px; animation-delay: 0.4s; }

@keyframes equalize {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.6); }
}

nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

nav a {
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: color 0.2s;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

nav a:hover, nav a.active { color: var(--accent); }

.nav-contact {
    background: transparent;
    border: 1px solid var(--border);
    padding: 7px 14px;
    border-radius: 2px;
    color: var(--text-primary) !important;
    transition: border-color 0.2s !important;
}
.nav-contact:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* --- SECTION DIVIDER --- */
.section-divider { border-top: 1px solid var(--border); width: 100%; }

/* --- HERO (homepage) --- */
.hero { padding: 120px 0 100px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}
.hero h1 {
    font-size: 3.4rem;
    line-height: 1.05;
    margin-bottom: 22px;
    background: linear-gradient(to right, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero .subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 20px;
    line-height: 1.5;
}
.hero p { font-size: 1.05rem; color: var(--text-secondary); max-width: 640px; font-weight: 300; line-height: 1.75; }
.hero em { color: #fff; font-style: normal; border-bottom: 1px solid var(--accent); }

.hero-headshot {
    width: 100%;
    max-width: 280px;
    border-radius: 1000px;
    border: 1px solid var(--border);
    filter: grayscale(100%) contrast(1.1);
    transition: all 0.5s var(--ease);
    display: block;
    margin: 0 auto;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.05);
}
.hero-headshot:hover { filter: grayscale(0%); border-color: var(--accent); }

/* --- PAGE HEADER (secondary pages) --- */
.page-header { padding: 90px 0 65px; }
.page-header h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 800px;
}
.page-header .lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 680px;
    font-weight: 300;
    line-height: 1.75;
}

/* --- SECTIONS --- */
.section { padding: 80px 0; }

.section-heading { margin-bottom: 50px; }
.section-heading h2 { font-size: 2.1rem; margin-bottom: 14px; }
.section-heading p { color: var(--text-secondary); font-size: 1.02rem; max-width: 640px; line-height: 1.7; }

/* --- FEATURE LIST --- */
.feature-list { list-style: none; margin: 0; }
.feature-list li {
    padding: 16px 0 16px 26px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    position: relative;
    font-size: 1rem;
    line-height: 1.65;
}
.feature-list li::before {
    content: "→";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 0.9em;
    top: 17px;
}
.feature-list li:first-child { border-top: 1px solid var(--border); }
.feature-list li strong { color: var(--text-primary); }

/* --- SAMPLES SECTION --- */
.samples-section { padding: 80px 0; }
.samples-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.sample-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s var(--ease);
}
.sample-card:hover { border-color: var(--border-hover); }
.sample-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.5s var(--ease);
    border-bottom: 1px solid var(--border);
    display: block;
}
.sample-card:hover .sample-img { filter: grayscale(0%); }
.sample-content { padding: 24px; }
.sample-content h3 { font-size: 1.1rem; margin-bottom: 8px; }
.sample-content p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 22px; min-height: 42px; line-height: 1.6; }
.sample-card.featured { grid-column: span 2; }

/* --- AUDIO PLAYER --- */
.audio-player { display: flex; align-items: center; gap: 15px; }
.play-btn {
    background: var(--accent);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.play-btn:hover { transform: scale(1.1); }
.play-btn svg { width: 16px; height: 16px; fill: #000; }
.progress-container { flex-grow: 1; display: flex; align-items: center; }
.seek-bar {
    -webkit-appearance: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    height: 4px;
    border-radius: 2px;
    outline: none;
}
.seek-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px; height: 12px;
    background: var(--accent);
    border-radius: 50%;
    cursor: pointer;
}

/* --- ABOUT / SIDEBAR GRID --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    padding: 80px 0;
}
.about-text p { margin-bottom: 22px; color: var(--text-secondary); font-size: 1.02rem; line-height: 1.75; }
.about-text h2 { font-size: 2rem; margin-bottom: 24px; }
.sidebar-wrapper { position: sticky; top: 100px; }
.sidebar-image-container {
    margin-bottom: 22px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.sidebar-img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(1.1);
    transition: 0.5s var(--ease);
}
.sidebar-wrapper:hover .sidebar-img { filter: grayscale(0%); transform: scale(1.02); }
.credentials-card {
    background: var(--bg-panel);
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 4px;
}
.credentials-card h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 22px;
    color: var(--accent);
}
.cred-item { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.cred-item:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.cred-item strong { color: #fff; display: block; margin-bottom: 3px; font-size: 0.95rem; }
.cred-item span { font-size: 0.85rem; color: #666; }

/* --- TESTIMONIAL --- */
.testimonial-section { padding: 80px 0; }
.testimonial-inner {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}
.testimonial-inner::before {
    content: '\201C';
    position: absolute;
    top: -40px;
    left: -20px;
    font-family: var(--font-head);
    font-size: 10rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.15;
    pointer-events: none;
    font-weight: 700;
}
.testimonial-body {
    font-size: 1.18rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    padding-left: 22px;
    border-left: 2px solid var(--accent);
}
.testimonial-body p { margin-bottom: 1.2em; }
.testimonial-body p:last-child { margin-bottom: 0; }
.testimonial-body em { color: #e8e8e8; font-style: normal; }
.testimonial-attribution {
    margin-top: 32px;
    padding-left: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.testimonial-attribution::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}
.testimonial-attribution strong {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 0.95rem;
    color: #fff;
    display: block;
    letter-spacing: -0.01em;
}
.testimonial-attribution span { font-size: 0.85rem; color: #555; }

/* --- PROCESS / WORKFLOW GRID --- */
.process-section { padding: 80px 0; }
.process-header { margin-bottom: 55px; max-width: 600px; }
.process-header h2 { font-size: 2.1rem; margin-bottom: 16px; }
.process-header p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.process-step {
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: transform 0.3s var(--ease), border-color 0.3s;
    position: relative;
    overflow: hidden;
}
.process-step:hover { transform: translateY(-4px); border-color: var(--border-hover); }
.step-num {
    position: absolute;
    top: 14px; right: 14px;
    font-family: var(--font-head);
    font-size: 3.5rem;
    opacity: 0.05;
    font-weight: 700;
    line-height: 1;
}
.process-step h3 { font-size: 1.2rem; margin-bottom: 12px; }
.process-step p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.process-step ul { list-style: none; margin-top: 12px; color: var(--text-secondary); font-size: 0.9rem; }
.process-step li { margin-bottom: 6px; padding-left: 16px; position: relative; }
.process-step li::before { content: "–"; color: var(--accent); position: absolute; left: 0; }

/* --- PRICING --- */
.pricing-section { padding: 80px 0; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}
.pricing-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 34px;
}
.pricing-card .price {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 6px;
    line-height: 1.1;
}
.pricing-card h3 { font-size: 1rem; margin-bottom: 14px; color: #ccc; font-weight: 400; }
.pricing-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; }
.pricing-note { color: var(--text-secondary); font-size: 0.92rem; font-style: italic; line-height: 1.6; }

/* --- STATS ROW --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin: 40px 0;
}
.stat-item {
    background: var(--bg-panel);
    padding: 28px;
    text-align: center;
}
.stat-item .number {
    font-family: var(--font-head);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-item .label { font-size: 0.82rem; color: var(--text-secondary); letter-spacing: 0.01em; }

/* --- FAQ --- */
.faq-section { padding: 80px 0; }
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 26px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.faq-answer { color: var(--text-secondary); font-size: 0.97rem; line-height: 1.7; }

/* --- PROSE (articles, case studies) --- */
.prose-section { padding: 80px 0; }
.prose-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}
.prose-body p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin-bottom: 20px;
    line-height: 1.75;
}
.prose-body h2 { font-size: 1.8rem; margin-bottom: 16px; margin-top: 50px; color: #fff; }
.prose-body h2:first-child { margin-top: 0; }
.prose-body h3 { font-size: 1.3rem; margin-bottom: 12px; margin-top: 32px; color: #e0e0e0; }
.prose-body ul {
    list-style: none;
    margin: 14px 0 20px;
}
.prose-body ul li {
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.98rem;
    line-height: 1.65;
}
.prose-body ul li::before { content: "–"; color: var(--accent); position: absolute; left: 0; }
.prose-aside-stack {
    position: sticky;
    top: 100px;
    align-self: start;
}
.prose-aside-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 28px;
    margin-bottom: 20px;
}
.prose-aside-card h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 18px;
}
.prose-aside-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; margin-bottom: 14px; }
.prose-aside-card p:last-child { margin-bottom: 0; }

/* --- CTA / ENGAGEMENT --- */
.engagement {
    background: linear-gradient(to bottom, var(--bg-dark), #111);
    padding: 100px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.cta-box { max-width: 680px; margin: 0 auto; }
.engagement h2 { font-size: 2.1rem; margin-bottom: 18px; }
.engagement p { margin-bottom: 36px; color: var(--text-secondary); font-size: 1.02rem; line-height: 1.7; }

.btn, .contact-btn {
    display: inline-block;
    background: var(--accent);
    color: #000;
    padding: 15px 34px;
    font-weight: 600;
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}
.btn:hover, .contact-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 0 30px rgba(212, 255, 0, 0.2);
}

.btn-secondary {
    display: inline-block;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 13px 28px;
    border-radius: 2px;
    font-size: 0.9rem;
    font-weight: 400;
    transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* --- CONTACT FORM --- */
.contact-section { padding: 80px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 80px;
}
.contact-form { }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 2px;
    padding: 13px 15px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.97rem;
    transition: border-color 0.2s;
    outline: none;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select option { background: #1a1a1a; }
.form-submit { margin-top: 8px; }

/* --- INLINE LINK STYLE --- */
.text-link {
    color: var(--accent);
    border-bottom: 1px solid rgba(212, 255, 0, 0.4);
    transition: border-color 0.2s;
}
.text-link:hover { border-color: var(--accent); }

/* --- FOOTER --- */
footer {
    padding: 45px 0;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: #444;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #555; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .prose-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .sidebar-wrapper { position: static; }
    .prose-aside-stack { position: static; }
    .prose-aside-card { margin-bottom: 16px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        border-bottom: 1px solid var(--border);
        padding: 20px 30px;
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
        z-index: 99;
    }
    nav.is-open { display: flex; }
    nav a { font-size: 0.95rem; }
    .nav-contact { border: none; padding: 0; }

    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-media { order: -1; }
    .hero h1 { font-size: 2.4rem; }
    .page-header h1 { font-size: 2.1rem; }
    .page-header { padding: 70px 0 50px; }
    .container { padding: 0 22px; }
    .samples-grid { grid-template-columns: 1fr; }
    .sample-card.featured { grid-column: span 1; }
    .testimonial-body { font-size: 1.02rem; }
    .stats-row { grid-template-columns: 1fr; gap: 1px; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .section { padding: 60px 0; }
    .process-section { padding: 60px 0; }
    .samples-section { padding: 60px 0; }
    .testimonial-section { padding: 60px 0; }
    .faq-section { padding: 60px 0; }
    .pricing-section { padding: 60px 0; }
    .engagement { padding: 80px 0; }
}

@media (max-width: 480px) {
    .hero { padding: 70px 0 50px; }
    .hero h1 { font-size: 2rem; }
    .about-grid { padding: 50px 0; }
}
