/* =================================================================
   1. VARIABLES & RESET
   ================================================================= */

:root {
    --color-bg: #0d0d0d;
    --color-bg-elevated: #161616;
    --color-bg-subtle: #1a1a1a;
    --color-text: #f5f2ed;
    --color-text-muted: #9a958d;
    --color-accent: #FF4500;
    --color-accent-hover: #ff5a1f;
    --color-accent-subtle: rgba(255, 69, 0, 0.12);
    --color-border: rgba(245, 242, 237, 0.08);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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


/* =================================================================
   2. LAYOUT
   ================================================================= */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}


/* =================================================================
   3. HEADER
   ================================================================= */

/* Fixed header (default for full pages) */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    background: linear-gradient(to bottom, var(--color-bg) 0%, transparent 100%);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-text);
    text-decoration: none;
}

.logo-lobster {
    margin-right: 0.4rem;
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

.back-link {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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


/* =================================================================
   4. HERO
   ================================================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 6rem;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent-subtle) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.6;
}

.hero-content {
    max-width: 900px;
}

.hero-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero h1 em {
    font-style: italic;
    color: var(--color-accent);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    opacity: 0.5;
    margin-top: -2rem;
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;
}


/* =================================================================
   5. BUTTONS
   ================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}


/* =================================================================
   6. SECTIONS
   ================================================================= */

section {
    padding: 8rem 0;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
}


/* =================================================================
   7. SERVICE / CHALLENGE CARDS
   ================================================================= */

.services {
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--color-border);
    margin-top: 4rem;
}

.service-card {
    background: var(--color-bg-elevated);
    padding: 3rem;
    position: relative;
    transition: all 0.4s ease;
}

.service-card:hover {
    background: var(--color-bg-subtle);
}

.service-card::before {
    content: attr(data-number);
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 400;
    color: var(--color-border);
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    line-height: 1;
    transition: color 0.4s ease;
}

.service-card:hover::before {
    color: var(--color-accent-subtle);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* Challenge cards (neurodivergent page) */
.challenges {
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: var(--color-border);
    margin-top: 4rem;
}

.challenge-card {
    background: var(--color-bg-elevated);
    padding: 3rem;
    position: relative;
    transition: all 0.4s ease;
}

.challenge-card:hover {
    background: var(--color-bg-subtle);
}

.challenge-card::before {
    content: attr(data-icon);
    font-size: 2rem;
    display: block;
    margin-bottom: 1.25rem;
}

.challenge-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.challenge-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}


/* =================================================================
   8. PRICING
   ================================================================= */

.pricing {
    position: relative;
    overflow: hidden;
}

.pricing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.pricing-text .section-description {
    margin-bottom: 2rem;
}

.pricing-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
}

.pricing-card .price {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 400;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.pricing-card .price-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.pricing-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.4rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}


/* =================================================================
   9. PROCESS / STEPS
   ================================================================= */

.process-steps {
    display: grid;
    gap: 0;
    margin-top: 4rem;
    border-top: 1px solid var(--color-border);
}

.process-step {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    gap: 4rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.process-step:hover {
    background: var(--color-bg-elevated);
    padding-left: 2rem;
    padding-right: 2rem;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-accent);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.process-step:hover .step-number {
    opacity: 1;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
}

.step-description {
    color: var(--color-text-muted);
}

/* Getting-started steps (neurodivergent page - same layout) */
.steps-grid {
    display: grid;
    gap: 0;
    margin-top: 4rem;
    border-top: 1px solid var(--color-border);
}

.start-step {
    display: grid;
    grid-template-columns: 100px 1fr 1fr;
    gap: 4rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.start-step:hover {
    background: var(--color-bg-elevated);
    padding-left: 2rem;
    padding-right: 2rem;
}

.start-step:hover .step-number {
    opacity: 1;
}


/* =================================================================
   10. PHILOSOPHY (consulting page)
   ================================================================= */

.philosophy {
    position: relative;
    overflow: hidden;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.philosophy-text .section-description {
    margin-bottom: 2rem;
}

.philosophy-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid var(--color-border);
    transform: rotate(45deg);
}

.philosophy-visual::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid var(--color-accent);
    opacity: 0.3;
    transform: rotate(45deg);
    animation: pulse 4s ease-in-out infinite;
}

.quote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    text-align: center;
    color: var(--color-text);
    padding: 2rem;
    position: relative;
    z-index: 1;
}


/* =================================================================
   11. WORKFLOW CARDS (neurodivergent page)
   ================================================================= */

.workflows {
    position: relative;
    overflow: hidden;
}

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

.workflow-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
}

.workflow-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.workflow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.workflow-card:hover::before {
    opacity: 1;
}

.workflow-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
}

.workflow-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.workflow-card p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.workflow-example {
    font-size: 0.8125rem;
    color: var(--color-text);
    background: var(--color-bg);
    padding: 1rem 1.25rem;
    border-left: 2px solid var(--color-accent);
    font-style: italic;
}


/* =================================================================
   12. CALLOUT (neurodivergent page)
   ================================================================= */

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

.callout-box {
    background: var(--color-bg-elevated);
    border-left: 3px solid var(--color-accent);
    padding: 3rem;
    max-width: 760px;
}

.callout-box h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
}

.callout-box p {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.callout-box p:last-child {
    margin-bottom: 0;
}

.callout-box strong {
    color: var(--color-text);
    font-weight: 500;
}


/* =================================================================
   13. COMMUNITY (neurodivergent page)
   ================================================================= */

.community {
    padding: 8rem 0;
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.community-info h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.community-info p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    max-width: 450px;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.community-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
}

.community-features li {
    padding: 0.6rem 0;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.community-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.4rem;
}


/* =================================================================
   14. CONTACT (homepage)
   ================================================================= */

.contact {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-elevated) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.contact-info p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-details a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--color-accent);
}


/* =================================================================
   15. GETTING STARTED (neurodivergent page)
   ================================================================= */

.getting-started {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-elevated) 100%);
}


/* =================================================================
   16. FORMS
   ================================================================= */

.contact-form,
.community-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a958d' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    background: var(--color-bg);
    color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}


/* =================================================================
   17. FOOTER
   ================================================================= */

footer {
    padding: 4rem 0;
    border-top: 1px solid var(--color-border);
}

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

.footer-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

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

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

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


/* =================================================================
   18. ANIMATIONS
   ================================================================= */

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

@keyframes pulse {
    0%, 100% {
        transform: rotate(45deg) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: rotate(45deg) scale(1.1);
        opacity: 0.5;
    }
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* =================================================================
   19. ARTICLE PAGE
   ================================================================= */

body.page-article header {
    position: static;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 4rem;
    background: none;
}

body.page-article .container {
    max-width: 760px;
}

.article-header {
    margin-bottom: 4rem;
}

.article-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.article-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.article-header h1 em {
    font-style: italic;
    color: var(--color-accent);
}

.article-meta {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

.article-lede {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
}

/* Content blocks */
.content-block {
    margin-bottom: 4rem;
}

.content-block h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.content-block h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.content-block p {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.content-block p strong {
    color: var(--color-text);
    font-weight: 500;
}

.content-block a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-block a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

/* Article page table links */
body.page-article table a {
    color: var(--color-accent);
    text-decoration: none;
}

body.page-article table a:hover {
    text-decoration: underline;
}

.content-block ul,
.content-block ol {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.content-block li {
    margin-bottom: 0.5rem;
}

/* Callout (article inline) */
.callout {
    background: var(--color-bg-elevated);
    border-left: 3px solid var(--color-accent);
    padding: 2rem;
    margin: 2rem 0;
}

.callout p {
    color: var(--color-text);
    font-size: 1.0625rem;
    margin-bottom: 0;
}

.callout p + p {
    margin-top: 1rem;
}

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

.callout a:hover {
    text-decoration: underline;
}

/* Divider */
.section-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 4rem 0;
}

/* CTA block */
.article-cta {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    padding: 3rem;
    text-align: center;
    margin: 4rem 0;
}

.article-cta h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.article-cta p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

body.page-article footer {
    margin-top: 4rem;
}


/* =================================================================
   20. IMPRINT PAGE
   ================================================================= */

body.page-imprint {
    padding: 2rem;
}

body.page-imprint .container {
    max-width: 800px;
    padding: 2rem 0;
}

body.page-imprint .back-link {
    display: inline-block;
    color: var(--color-accent);
    text-decoration: none;
    margin-bottom: 2rem;
    text-transform: none;
    letter-spacing: normal;
    font-size: 1rem;
}

body.page-imprint .back-link:hover {
    text-decoration: underline;
}

body.page-imprint h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-accent);
    margin-bottom: 2rem;
}

body.page-imprint h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

body.page-imprint h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--color-accent);
}

body.page-imprint p,
body.page-imprint li {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

body.page-imprint ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

body.page-imprint a {
    color: var(--color-accent);
}

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

.company-info {
    background: var(--color-bg-elevated);
    padding: 2rem;
    margin: 1.5rem 0;
    border-left: 3px solid var(--color-accent);
}

.company-info p {
    margin-bottom: 0.5rem;
}


/* =================================================================
   21. SUCCESS PAGES
   ================================================================= */

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

body.page-success .success-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.success-container .lobster {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.success-container h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.success-container p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 440px;
}

.success-container a {
    color: var(--color-accent);
    text-decoration: none;
}

.success-container a:hover {
    text-decoration: underline;
}


/* =================================================================
   22. PAGE-SPECIFIC OVERRIDES
   ================================================================= */

/* Consulting page: shorter hero */
body.page-consulting .hero {
    min-height: 70vh;
}

/* Neurodivergent page: medium hero + slightly smaller h1 */
body.page-neurodivergent .hero {
    min-height: 80vh;
}

body.page-neurodivergent .hero h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
}

body.page-neurodivergent .hero-description {
    max-width: 620px;
}

/* Neurodivergent community form textarea */
body.page-neurodivergent .form-group textarea {
    min-height: 120px;
}


/* =================================================================
   23. MODAL
   ================================================================= */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    max-width: 500px;
    width: 100%;
    padding: 3rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--color-accent);
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-header .section-label {
    display: block;
    margin-bottom: 0.75rem;
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
}

.modal .contact-form {
    gap: 1.25rem;
}

.modal .form-group textarea {
    min-height: 120px;
}


/* =================================================================
   24. RESPONSIVE
   ================================================================= */

@media (max-width: 968px) {
    nav {
        display: none;
    }

    .pricing-content,
    .contact-content,
    .community-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .philosophy-visual {
        height: 300px;
    }

    .process-step,
    .start-step {
        grid-template-columns: 60px 1fr;
        gap: 2rem;
    }

    .step-description {
        grid-column: 2;
    }

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

@media (max-width: 600px) {
    .process-step,
    .start-step {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step-description {
        grid-column: 1;
    }

    /* Footer responsive - stack on mobile */
    footer .container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.5rem;
    }
}
