/* ===================================
   Mayhew.ai — Central Stylesheet
   =================================== */

:root {
    --charcoal: #1a1a1a;
    --deep-charcoal: #121212;
    --copper: #c87650;
    --copper-dim: #a66043;
    --grey-dark: #2a2a2a;
    --grey-mid: #4a4a4a;
    --grey-light: #9a9a9a;
    --off-white: #f5f5f0;
    --cream: #e8e6e0;
}

/* ===================================
   Reset & Base Styles
   =================================== */

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

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    background: var(--deep-charcoal);
    color: var(--cream);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 1rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--copper);
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* ===================================
   Layout Containers
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   Navigation
   =================================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200, 118, 80, 0.1);
    z-index: 1000;
    padding: 1.5rem 0;
}

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

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--off-white);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.logo span {
    color: var(--copper);
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

nav a {
    color: var(--grey-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    letter-spacing: 0.02em;
}

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

/* ===================================
   Hero Sections
   =================================== */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(200, 118, 80, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
}

.hero h1 {
    max-width: 900px;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--grey-light);
    max-width: 650px;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.page-hero {
    padding: 150px 0 100px;
    border-bottom: 1px solid rgba(200, 118, 80, 0.2);
    background: linear-gradient(135deg, var(--deep-charcoal) 0%, var(--charcoal) 100%);
}

.page-hero h1 {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
}

.hero-intro {
    font-size: 1.15rem;
    color: var(--grey-light);
    max-width: 700px;
    line-height: 1.8;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.4s;
}

/* ===================================
   Animations
   =================================== */

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

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.5; 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1); 
        opacity: 0.8; 
    }
}

/* ===================================
   Buttons & CTAs
   =================================== */

.cta-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 1px solid var(--copper);
    color: var(--copper);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    background: var(--copper);
    color: var(--deep-charcoal);
    opacity: 1;
}

.cta-link {
    color: var(--copper);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--copper);
    transition: opacity 0.3s ease;
}

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

/* ===================================
   Content Sections
   =================================== */

.content-section {
    padding: 6rem 0;
}

.content-section p {
    color: var(--grey-light);
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--off-white);
    font-weight: 400;
}

.about-highlight {
    color: var(--off-white);
    font-weight: 400;
}

/* ===================================
   Credibility Strip
   =================================== */

.credibility {
    background: var(--charcoal);
    padding: 5rem 0;
    border-top: 1px solid rgba(200, 118, 80, 0.2);
    border-bottom: 1px solid rgba(200, 118, 80, 0.2);
}

.credibility h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--copper);
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    margin-bottom: 3rem;
    text-align: center;
}

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

.sector {
    text-align: center;
    padding: 1.5rem;
    color: var(--grey-light);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

/* ===================================
   Help Section (What I Help With)
   =================================== */

.help-section {
    padding: 8rem 0;
    background: var(--deep-charcoal);
}

.help-section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.help-item {
    padding: 2rem 0;
    border-top: 1px solid rgba(200, 118, 80, 0.3);
}

.help-item h3 {
    color: var(--off-white);
    margin-bottom: 1rem;
}

.help-item p {
    color: var(--grey-light);
    line-height: 1.8;
}

/* ===================================
   LinkedIn Feed Section
   =================================== */

.linkedin-feed {
    padding: 8rem 0;
    background: var(--charcoal);
    border-top: 1px solid rgba(200, 118, 80, 0.2);
    border-bottom: 1px solid rgba(200, 118, 80, 0.2);
}

.linkedin-feed h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.feed-intro {
    text-align: center;
    color: var(--grey-light);
    font-size: 1.05rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.linkedin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.linkedin-post {
    background: var(--grey-dark);
    padding: 2rem;
    border-left: 2px solid var(--copper);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.linkedin-post:hover {
    transform: translateY(-5px);
    border-color: var(--off-white);
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(200, 118, 80, 0.2);
}

.post-type {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--copper);
    font-weight: 500;
}

.post-date {
    font-size: 0.85rem;
    color: var(--grey-light);
}

.linkedin-post h3 {
    font-size: 1.4rem;
    color: var(--off-white);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.linkedin-post p {
    color: var(--grey-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.post-link {
    color: var(--copper);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.post-link:hover {
    border-color: var(--copper);
    opacity: 1;
}

/* ===================================
   Visual Break
   =================================== */

.visual-break {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--deep-charcoal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-top: 1px solid rgba(200, 118, 80, 0.2);
    border-bottom: 1px solid rgba(200, 118, 80, 0.2);
}

.visual-break::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(200, 118, 80, 0.05) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    padding: 0 2rem;
}

.visual-content svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    opacity: 0.7;
}

/* ===================================
   Insights Section
   =================================== */

.insights {
    padding: 8rem 0;
    background: var(--charcoal);
}

.insights h2 {
    margin-bottom: 1.5rem;
}

.insights-intro {
    color: var(--grey-light);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 700px;
}

.insights-grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.insight-item {
    border-left: 2px solid var(--copper);
    padding-left: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--grey-dark);
}

.insight-meta {
    font-size: 0.85rem;
    color: var(--copper);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.insight-item h3 {
    color: var(--off-white);
    margin-bottom: 0.75rem;
}

.insight-item p {
    color: var(--grey-light);
    line-height: 1.8;
}

.insight-link {
    color: var(--copper);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 1rem;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

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

/* ===================================
   About Section (Homepage)
   =================================== */

.about {
    padding: 8rem 0;
    background: var(--deep-charcoal);
}

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

.about-content {
    color: var(--grey-light);
    font-size: 1.05rem;
    line-height: 2;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    padding: 8rem 0;
    background: var(--charcoal);
    text-align: center;
    border-top: 1px solid rgba(200, 118, 80, 0.2);
}

.cta-section h2 {
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: var(--grey-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================================
   Focus Areas (Advisory Page)
   =================================== */

.focus-section {
    padding: 6rem 0;
    border-bottom: 1px solid rgba(200, 118, 80, 0.1);
}

.focus-section:nth-child(odd) {
    background: var(--charcoal);
}

.focus-section h2 {
    margin-bottom: 2rem;
    color: var(--off-white);
}

.focus-intro {
    font-size: 1.05rem;
    color: var(--grey-light);
    line-height: 1.9;
    margin-bottom: 3rem;
    max-width: 750px;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.focus-item {
    border-left: 2px solid var(--copper);
    padding-left: 1.5rem;
}

.focus-item h3 {
    color: var(--off-white);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.focus-item p {
    color: var(--grey-light);
    line-height: 1.8;
}

.focus-list {
    list-style: none;
    margin-top: 2rem;
}

.focus-list li {
    color: var(--grey-light);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--grey-dark);
}

.focus-list li:last-child {
    border-bottom: none;
}

.cta-inline {
    margin-top: 3rem;
    padding: 2rem;
    border: 1px solid rgba(200, 118, 80, 0.3);
    background: rgba(200, 118, 80, 0.05);
}

.cta-inline p {
    color: var(--grey-light);
    margin-bottom: 1.5rem;
}

/* ===================================
   Articles & Insights (Insights Page)
   =================================== */

.section-header {
    margin-bottom: 3rem;
}

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

.section-intro {
    color: var(--grey-light);
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 700px;
}

.article-grid {
    display: grid;
    gap: 3.5rem;
    margin-top: 3rem;
}

.article-card {
    border-top: 2px solid var(--copper);
    padding-top: 2rem;
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateX(5px);
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--copper);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.article-card h3 {
    color: var(--off-white);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.article-card p {
    color: var(--grey-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.read-link {
    color: var(--copper);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.read-link:hover {
    border-color: var(--copper);
}

.featured-article {
    background: var(--grey-dark);
    padding: 3rem;
    margin-bottom: 4rem;
    border-left: 3px solid var(--copper);
}

.featured-article .article-meta {
    margin-bottom: 1.5rem;
}

.featured-article h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.featured-article p {
    font-size: 1.1rem;
    line-height: 1.9;
}

.roundup-preview {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--deep-charcoal) 100%);
    padding: 3rem;
    border: 1px solid rgba(200, 118, 80, 0.3);
}

.roundup-preview h3 {
    color: var(--copper);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.roundup-items {
    list-style: none;
    margin-top: 2rem;
}

.roundup-items li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--grey-dark);
    color: var(--grey-light);
    line-height: 1.8;
}

.roundup-items li:last-child {
    border-bottom: none;
}

.roundup-items strong {
    color: var(--off-white);
    font-weight: 400;
}

/* ===================================
   About Page Specific
   =================================== */

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--copper), transparent);
    margin: 4rem 0;
    opacity: 0.3;
}

.pullquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--copper);
    padding: 2rem 0 2rem 2rem;
    border-left: 2px solid var(--copper);
    margin: 3rem 0;
    font-style: italic;
}

.principles {
    margin-top: 3rem;
}

.principle {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--grey-dark);
}

.principle:last-child {
    border-bottom: none;
}

.principle h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--off-white);
    margin-bottom: 0.75rem;
}

.principle p {
    color: var(--grey-light);
}

/* ===================================
   Contact Page Specific
   =================================== */

body.contact-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 120px 0 4rem;
}

.contact-content {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
}

.contact-intro {
    font-size: 1.15rem;
    color: var(--grey-light);
    line-height: 1.9;
    margin-bottom: 3rem;
}

.contact-methods {
    margin-top: 4rem;
}

.contact-item {
    padding: 2rem 0;
    border-top: 1px solid rgba(200, 118, 80, 0.2);
}

.contact-item:last-child {
    padding-bottom: 0;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--copper);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--off-white);
}

.contact-value a {
    color: var(--off-white);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.contact-value a:hover {
    color: var(--copper);
    border-color: var(--copper);
}

.contact-note {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(200, 118, 80, 0.05);
    border-left: 2px solid var(--copper);
}

.contact-note p {
    color: var(--grey-light);
    line-height: 1.9;
}

.availability {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--grey-dark);
}

.availability h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.availability p {
    color: var(--grey-light);
    line-height: 1.8;
}

/* ===================================
   Footer
   =================================== */

footer {
    background: var(--deep-charcoal);
    padding: 3rem 0;
    border-top: 1px solid var(--grey-dark);
    margin-top: auto;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    color: var(--grey-mid);
    font-size: 0.9rem;
}

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

footer a:hover {
    color: var(--copper);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    nav ul {
        gap: 1.5rem;
    }

    nav a {
        font-size: 0.85rem;
    }

    .help-grid,
    .sectors,
    .focus-grid,
    .linkedin-grid {
        grid-template-columns: 1fr;
    }

    .visual-break {
        height: 350px;
    }

    .featured-article,
    .roundup-preview {
        padding: 2rem;
    }

    .contact-note {
        padding: 1.5rem;
    }

    footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
