/* ============================================
   Innovation Portfolio - Consulting Firm Aesthetic
   Navy + Rose Gold | Professional & Elegant
   ============================================ */

/* === COLOR PALETTE === */
:root {
    /* Primary Colors - Navy & Rose Gold */
    --navy-dark: #1a2744;
    --navy: #2d3e5f;
    --navy-light: #4a5f7f;
    --rose-gold: #b76e79;
    --rose-gold-light: #c89199;
    --rose-gold-dark: #9f5a64;

    /* Neutrals */
    --white: #ffffff;
    --cream: #faf9f7;
    --gray-light: #e8e6e3;
    --gray-medium: #9ca3af;
    --gray-dark: #4b5563;
    --black: #1f2937;

    /* Typography */
    --font-serif: 'DM Serif Display', Georgia, serif;
    --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: auto;
}

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--gray-dark);
    background-color: var(--white);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    line-height: 1.2;
    color: var(--navy-dark);
    font-weight: 400;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

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

a:hover {
    color: var(--rose-gold-dark);
}

strong {
    font-weight: 600;
    color: var(--navy-dark);
}

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

/* === NAVIGATION === */
.site-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

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

.nav-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--navy-dark);
}

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

.nav-links a {
    color: var(--navy);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--rose-gold);
}

/* === HERO SECTION === */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.hero-name {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--navy-dark);
}

.hero-tagline {
    font-size: 1.75rem;
    color: var(--rose-gold);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-dark);
    max-width: 900px;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* === STATS BAR === */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 0;
    margin: 2rem 0 3rem;
}

.stat {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--gray-light);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(183, 110, 121, 0.15);
    border-color: var(--rose-gold-light);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--rose-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    color: var(--navy-dark);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-sublabel {
    font-size: 0.875rem;
    color: var(--gray-medium);
}

/* === BUTTONS === */
.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--rose-gold);
    color: var(--white);
    border-color: var(--rose-gold);
}

.btn-primary:hover {
    background: var(--rose-gold-dark);
    border-color: var(--rose-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(183, 110, 121, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--navy-dark);
    border-color: var(--navy);
}

.btn-secondary:hover {
    background: var(--navy-dark);
    color: var(--white);
    border-color: var(--navy-dark);
}

.btn-demo {
    background: var(--navy-dark);
    color: var(--white);
    border-color: var(--navy-dark);
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
}

.btn-demo:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.btn-source {
    background: transparent;
    color: var(--rose-gold);
    border-color: var(--rose-gold);
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
}

.btn-source:hover {
    background: var(--rose-gold);
    color: var(--white);
    border-color: var(--rose-gold);
}

/* === SECTION STYLES === */
section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--navy-dark);
    text-align: center;
}

.section-intro {
    text-align: center;
    font-size: 1.1875rem;
    color: var(--gray-dark);
    max-width: 900px;
    margin: 0 auto 4rem;
    line-height: 1.8;
    font-weight: 400;
}

.demos-section {
    background: var(--cream);
}

/* === FILTER BUTTONS === */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem auto 3rem;
    max-width: 900px;
}

.filter-btn {
    background: var(--white);
    color: var(--navy-dark);
    border: 2px solid var(--gray-light);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--rose-gold);
    color: var(--rose-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(183, 110, 121, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
    border-color: var(--navy-dark);
}

.filter-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 39, 68, 0.3);
}

/* === COLLAPSIBLE SECTIONS === */
.section-header-wrapper {
    margin-bottom: 0;
}

.collapsible-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
}

.section-toggle {
    background: var(--rose-gold);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.section-toggle:hover {
    background: var(--navy-dark);
    transform: rotate(90deg);
}

.toggle-icon {
    font-weight: bold;
    line-height: 1;
}

.section-content {
    margin-top: 2rem;
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(26, 39, 68, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 39, 68, 0.4);
    background: linear-gradient(135deg, var(--rose-gold-dark) 0%, var(--rose-gold) 100%);
}

.capabilities-section {
    background: var(--white);
}

.experience-section {
    background: var(--cream);
}

.presentations-section {
    background: var(--white);
}

.recognition-section {
    background: var(--cream);
}

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

.achievement-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--gray-light);
    border-top: 4px solid var(--rose-gold);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 39, 68, 0.1);
    border-top-color: var(--navy-dark);
}

.achievement-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--navy-dark);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-light);
}

.achievement-card ul {
    list-style: none;
    padding: 0;
}

.achievement-card li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.achievement-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--rose-gold);
    font-weight: bold;
}

.achievement-card li:last-child {
    margin-bottom: 0;
}

.credentials-section {
    background: var(--white);
}

.cumberland-section {
    background: var(--white);
}

/* === LIVE DEMONSTRATIONS === */
.demos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--gray-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(26, 39, 68, 0.08);
}

.demo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26, 39, 68, 0.12);
    border-color: var(--rose-gold);
}

.demo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--rose-gold);
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: var(--font-mono);
    z-index: 2;
}

.demo-card.flagship .demo-badge {
    background: var(--navy-dark);
}

.demo-card.toolkit .demo-badge {
    background: var(--rose-gold);
}

.demo-preview {
    height: 200px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.demo-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(183, 110, 121, 0.2) 0%, transparent 70%);
}

.preview-placeholder {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    text-align: center;
    z-index: 1;
    padding: 1rem;
}

.demo-content {
    padding: 1.75rem 2rem;
}

.demo-content h3 {
    margin-bottom: 0.75rem;
    color: var(--navy-dark);
    font-size: 1.875rem;
    line-height: 1.3;
}

.demo-type {
    color: var(--rose-gold);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    line-height: 1.4;
}

.demo-description {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: var(--cream);
    color: var(--navy);
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-family: var(--font-mono);
    font-weight: 500;
}

.demo-links {
    display: flex;
    gap: 1rem;
}

/* === DEMO CARD: TYPE LABELS === */
.demo-type-label {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.875rem 1.5rem;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 3px solid var(--rose-gold);
    box-shadow: 0 2px 4px rgba(26, 39, 68, 0.1);
}

/* === DEMO CARD: CONTENT SECTIONS === */
.business-problem,
.technical-solution,
.measurable-impact,
.reference-links {
    margin: 1.25rem 0;
    padding: 1.25rem 1.25rem;
    border-radius: 8px;
    background: var(--cream);
}

.business-problem {
    border-left: 5px solid var(--rose-gold);
}

.technical-solution {
    border-left: 5px solid var(--navy);
}

.measurable-impact {
    border-left: 5px solid var(--rose-gold-dark);
    background: linear-gradient(to right, var(--cream) 0%, var(--white) 100%);
    border: 1px solid var(--gray-light);
    border-left: 5px solid var(--rose-gold-dark);
}

.reference-links {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-left: 5px solid var(--navy-light);
}

.business-problem strong,
.technical-solution strong,
.measurable-impact strong,
.reference-links strong {
    display: block;
    margin-bottom: 1rem;
    color: var(--navy-dark);
    font-size: 1.0625rem;
    font-family: var(--font-sans);
    font-weight: 700;
}

.business-problem ul,
.technical-solution ul,
.measurable-impact ul,
.reference-links ul {
    margin: 1rem 0 0 1.5rem;
    padding: 0;
}

.business-problem li,
.technical-solution li,
.measurable-impact li,
.reference-links li {
    margin-bottom: 0.875rem;
    line-height: 1.7;
    color: var(--gray-dark);
    font-size: 1rem;
}

.business-problem li:last-child,
.technical-solution li:last-child,
.measurable-impact li:last-child,
.reference-links li:last-child {
    margin-bottom: 0;
}

/* Highlight key metrics in impact lists */
.measurable-impact li strong {
    color: var(--rose-gold-dark);
    font-weight: 700;
}

.reference-links ul {
    list-style-type: none;
    margin-left: 0;
}

.reference-links li {
    padding-left: 1.5rem;
    position: relative;
}

.reference-links li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--rose-gold);
    font-weight: bold;
}

.reference-links a {
    color: var(--rose-gold);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.3s ease;
}

.reference-links a:hover {
    text-decoration-color: var(--rose-gold);
    color: var(--rose-gold-dark);
}

/* === TOOLTIPS === */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted var(--rose-gold);
    cursor: help;
    color: var(--navy-dark);
    font-weight: 600;
    transition: all 0.2s ease;
}

.tooltip:hover {
    border-bottom-color: var(--rose-gold-dark);
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 260px;
    max-width: 90vw;
    background: linear-gradient(135deg, var(--navy-dark) 0%, #243354 100%);
    color: var(--white);
    text-align: left;
    border-radius: 8px;
    padding: 0.875rem 1rem;
    position: absolute;
    z-index: 10000;
    bottom: 180%;
    left: 50%;
    margin-left: -130px;
    opacity: 0;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    font-size: 0.875rem;
    line-height: 1.5;
    font-weight: 400;
    box-shadow: 0 12px 32px rgba(26, 39, 68, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    pointer-events: none;
    transform: translateY(8px);
    white-space: normal;
}

.tooltip .tooltiptext::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: #243354 transparent transparent transparent;
}

.tooltip:hover .tooltiptext,
.tooltip:focus .tooltiptext {
    visibility: visible;
    opacity: 0.98;
    transform: translateY(0);
}

/* Tech tag tooltips - appear above with more space */
.tech-tag.tooltip .tooltiptext {
    width: 240px;
    margin-left: -120px;
    bottom: 200%;
    font-size: 0.8125rem;
    padding: 0.75rem 0.875rem;
}

.tech-tag.tooltip .tooltiptext::after {
    margin-left: -6px;
}

/* Prevent tooltips from going off-screen on edges */
.tooltip:first-child .tooltiptext {
    left: 0;
    margin-left: 0;
}

.tooltip:first-child .tooltiptext::after {
    left: 24px;
    margin-left: 0;
}

.tooltip:last-child .tooltiptext {
    left: auto;
    right: 0;
    margin-left: 0;
}

.tooltip:last-child .tooltiptext::after {
    left: auto;
    right: 24px;
    margin-left: 0;
}

/* Mobile tooltip adjustments */
@media (max-width: 768px) {
    .tooltip .tooltiptext {
        width: 220px;
        margin-left: -110px;
        font-size: 0.8125rem;
        padding: 0.75rem 0.875rem;
        bottom: 160%;
    }

    .tech-tag.tooltip .tooltiptext {
        width: 200px;
        margin-left: -100px;
        bottom: 180%;
    }

    /* On mobile, center all tooltips to prevent off-screen */
    .tooltip:first-child .tooltiptext,
    .tooltip:last-child .tooltiptext {
        left: 50%;
        right: auto;
        margin-left: -110px;
    }

    .tooltip:first-child .tooltiptext::after,
    .tooltip:last-child .tooltiptext::after {
        left: 50%;
        right: auto;
        margin-left: -6px;
    }
}

/* === CAPABILITIES === */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.capability-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--gray-light);
    border-left: 4px solid var(--rose-gold);
    transition: all 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(183, 110, 121, 0.12);
    border-left-color: var(--navy-dark);
}

.capability-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--navy-dark);
}

.capability-card p {
    margin: 0;
    line-height: 1.7;
}

/* === TIMELINE === */
.timeline {
    max-width: 900px;
    margin: 3rem auto;
}

.timeline-item {
    position: relative;
    padding: 2rem 0 2rem 3rem;
    border-left: 2px solid var(--rose-gold-light);
}

.timeline-item:last-child {
    border-left-color: transparent;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 2rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--rose-gold);
    border: 2px solid var(--white);
}

.timeline-badge {
    display: inline-block;
    background: var(--rose-gold);
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

.timeline-badge.current {
    background: var(--navy-dark);
}

.timeline-badge.systems {
    background: var(--navy);
}

.timeline-badge.county {
    background: var(--rose-gold-dark);
}

.timeline-date {
    color: var(--gray-medium);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.timeline-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-org {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-highlight {
    color: var(--gray-dark);
    line-height: 1.7;
}

/* === PRESENTATIONS === */
.presentations-list {
    max-width: 900px;
    margin: 0 auto;
}

.presentation-item {
    padding: 2rem;
    margin-bottom: 2rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--gray-light);
    border-left: 4px solid var(--rose-gold);
    transition: all 0.3s ease;
}

.presentation-item:hover {
    box-shadow: 0 8px 24px rgba(183, 110, 121, 0.12);
    transform: translateX(4px);
}

.presentation-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--navy-dark);
}

.presentation-venue {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.presentation-date {
    color: var(--gray-medium);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.presentation-description {
    color: var(--gray-dark);
    line-height: 1.7;
    margin: 0;
}

/* === CREDENTIALS === */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.credentials-column h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--navy-dark);
    border-bottom: 2px solid var(--rose-gold);
    padding-bottom: 0.75rem;
}

.credential-item {
    margin-bottom: 2rem;
}

.credential-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--navy-dark);
}

.credential-org {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.credential-detail {
    color: var(--gray-medium);
    margin-bottom: 0.5rem;
}

.credential-link a {
    color: var(--rose-gold);
    font-weight: 600;
}

.leadership-section {
    margin-top: 4rem;
}

.leadership-section h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--navy-dark);
    text-align: center;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.leadership-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--gray-light);
    border-top: 3px solid var(--rose-gold);
}

.leadership-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--navy-dark);
}

.leadership-item p {
    color: var(--gray-medium);
    margin: 0;
}

/* === CUMBERLAND COUNTY === */
.cumberland-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
}

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

/* === CONTACT SECTION === */
.contact-section {
    background: var(--navy-dark);
    color: var(--white);
    padding: 4rem 0;
}

.contact-section h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-item strong {
    display: block;
    color: var(--rose-gold-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
}

.contact-item a {
    color: var(--white);
}

.contact-item a:hover {
    color: var(--rose-gold-light);
}

.portfolio-url {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.portfolio-url a {
    color: var(--rose-gold-light);
    font-weight: 600;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    html { font-size: 14px; }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-name { font-size: 2.5rem; }
    .hero-tagline { font-size: 1.25rem; }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

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

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

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

    .filter-container {
        gap: 0.5rem;
        margin: 1.5rem auto 2rem;
    }

    .filter-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1.25rem;
    }

    .section-toggle {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .stats-bar { grid-template-columns: 1fr; }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
        flex: 1 1 auto;
        min-width: 140px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 1rem;
        right: 1rem;
        font-size: 1.125rem;
    }
}

/* === ACCESSIBILITY === */
*:focus-visible {
    outline: 2px solid var(--rose-gold);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === SMOOTH SCROLLING OFFSET === */
section {
    scroll-margin-top: 80px;
}
