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

:root {
    --black: #000000;
    --white: #ffffff;
    --gray: #6b6b6b;
    --light-gray: #e8e8e8;
    --blue: blue;
    
    /* Light mode (default) */
    --bg: #ffffff;
    --text: #000000;
    --text-muted: #6b6b6b;
    --border: #000000;
    --border-light: #CCC;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --surface: #f8f8f8;
}

[data-theme="dark"] {
    --bg: #0a0a0a;
    --text: #f0f0f0;
    --text-muted: #a0a0a0;
    --border: #f0f0f0;
    --border-light: #2a2a2a;
    --nav-bg: rgba(10, 10, 10, 0.95);
    --surface: #1a1a1a;
}

body {
    font-family: 'Crimson Pro', serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 18px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

::selection {
    background: var(--text);
    color: var(--bg);
}

nav {
/*    border-bottom: 1px solid var(--border);*/
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1060;
    background: linear-gradient(to bottom, 
        var(--nav-bg) 0%, 
        var(--nav-bg) 20%, 
        transparent 100%);
}

.nav-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-name img {
    height: 5rem;
    display: inline-block;
}

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

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-family: 'News Cycle', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.6;
}

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

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

.hero {
    padding: 5rem 0 2rem;
/*    border-bottom: 1px solid var(--border);*/
}

.hero-eyebrow {
    font-family: 'News Cycle', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.hero h1 {
    color: var(--blue);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.hero h1 em {
    font-style: italic;
}

.hero-lead {
    font-size: 1.375rem;
    line-height: 1.65;
    margin-bottom: 3rem;
    max-width: 650px;
}

.hero-image {
    margin: 3rem 0;
    padding: .5rem;
    border: 1px solid var(--border);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--border-light);
    filter: grayscale(100%) contrast(1.1);
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-light);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-label {
    font-family: 'News Cycle', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.meta-value {
    font-size: 1rem;
    color: var(--text);
}

.stats {
    padding: 0 0 5rem;
    border-bottom: 1px solid var(--border);
}

.stats-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 600px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    padding-top: 2rem;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
}

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

.projects {
    display: grid;
    gap: 5rem;
}

.project {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 4rem;
}

.project:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.project-image {
    width: 240px;
    height: 240px;
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    gap: 2rem;
}

.project-number {
    font-family: 'News Cycle', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.project-year {
    font-family: 'News Cycle', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.project h3 {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project h3 a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.project h3 a:hover {
    border-bottom-color: var(--text);
}

.project-tags {
    font-family: 'News Cycle', sans-serif;
    font-size: 0.8125rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.project-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
/*    padding-top: 2rem;*/
/*    border-top: 1px solid var(--border-light);*/
}

.metric {
    text-align: left;
}

.metric-value {
    font-size: 2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.metric-label {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.project-cta {
    display: inline-block;
    margin-top: 2rem;
    font-family: 'News Cycle', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.25rem;
    transition: opacity 0.2s;
}

.project-cta:hover {
    opacity: 0.6;
}

.about {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}

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

.about-title {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.about-content p:first-child {
    font-size: 1.375rem;
    line-height: 1.6;
}

.expertise {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.expertise h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.expertise-list {
    columns: 2;
    column-gap: 3rem;
}

.expertise-item {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    break-inside: avoid;
}

.expertise-item::before {
    content: '—';
    margin-right: 0.5rem;
}

.contact {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}

.contact h2 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: -0.015em;
}

.contact-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 600px;
}

.contact-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: 'News Cycle', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.2s;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--text);
}

.btn-secondary {
    background: var(--white);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
}

.contact-details {
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-details a,
.contact-details span {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

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

footer {
    padding: 2rem 0;
    font-size: 1rem;
}

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

footer p {
    font-family: 'News Cycle', sans-serif;
    color: var(--text-muted);
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: 'News Cycle', sans-serif;
    transition: color 0.2s;
}

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

.article-header {
    padding: 5rem 0 0;
/*    border-bottom: 1px solid var(--border);*/
}

.article-hero-image {
    margin: 3rem 0;
    padding: .5rem;
/*    min-height: 400px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'News Cycle', sans-serif;
    font-size: 0.875rem;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.article-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(1.1);
    border: 1px solid var(--border-light);
}

article:not(.project):after {
    content: "";
    display: block;
    font-size: 1em;
    text-align: center;
    padding-bottom: 4rem;
    font-family: "Font Awesome 7 Sharp";
}

.eyebrow {
    font-family: 'News Cycle', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.lede {
    font-size: 1.375rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.meta {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
}

.content {
    padding: 4rem 0;
}

.content h2 {
    font-size: 2rem;
    font-weight: 600;
    line-height: normal;
    margin: 3rem 0 1.5rem;
    letter-spacing: -0.015em;
}

.content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2.5rem 0 1.25rem;
    letter-spacing: -0.01em;
}

.content p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.content ul {
    margin: 2rem 0 2rem 0;
    list-style: none;
}

.content li {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.content li::before {
    content: '—';
    position: absolute;
    left: 0;
}

.divider {
    height: 1px;
    background: var(--surface);
    margin: 3rem 0;
}

/* Tablet breakpoint */
@media (max-width: 1024px) {
    .project-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 17px;
    }
    
    .nav-container,
    .container,
    .container-narrow {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-meta {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats {
        padding: 0 0 3rem;
    }
    
    .stats-grid {
        gap: 3rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .projects {
        gap: 3rem;
    }
    
    .project {
        padding-bottom: 3rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        margin-bottom: 2rem;
    }
    
    .project-image {
        width: 100%;
        margin: auto;
        max-width: 240px;
    }
    
    .project-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-metrics {
        gap: 1rem;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .project-metrics span.metric-value {
        font-size: 1.2em;
    }

    .project-metrics span.metric-label {
        font-size: .8em;
        display: inline-block;
    }
    
    .expertise-list {
        columns: 1;
    }
    
    .contact-buttons {
        flex-direction: column;
        max-width: 300px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-header {
        padding: 3rem 0 0;
    }
}

/* Dark Mode Toggle */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    display: flex;
    z-index: 1000;
    font-size: 1.25rem;
    align-items: center;
    background: transparent;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: "Font Awesome 7 Sharp";
}

.theme-toggle:hover {
    transform: scale(1.1);
}

[data-theme="dark"] .theme-toggle {
    color: white;
/*    box-shadow: 0 2px 8px rgba(255,255,255,0.1);*/
}

/* Volunteer Section */
.volunteer {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}

.volunteer h2 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.015em;
    margin-bottom: 2rem;
}

.volunteer-intro {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: var(--text-muted);
}

.volunteer-items {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.volunteer-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.volunteer-date {
    font-family: 'News Cycle', sans-serif;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.volunteer-item p:not(.volunteer-date) {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
}

/* ========================================
   DARK MODE & RESPONSIVE FIXES
   ======================================== */

/* Dark Mode Button Fixes */
.btn-primary {
    background: var(--text);
    color: var(--bg);
    border-color: var(--border);
}

.btn-primary:hover {
    background: var(--bg);
    color: var(--text);
    border-color: var(--border);
}

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

.btn-secondary:hover {
    background: var(--text);
    color: var(--bg);
}

/* Footer Fixes */
.footer-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 2rem !important;
}

footer p {
    margin: 0 !important;
}

.footer-links a {
    white-space: nowrap;
}

.footer-links a:hover {
    color: var(--text) !important;
}

/* Dark Mode SVG/Image Handling */
[data-theme="dark"] .project-image img,
[data-theme="dark"] .hero-image img,
[data-theme="dark"] .article-hero-image img {
    filter: invert(1) grayscale(100%) contrast(0.9);
}

[data-theme="dark"] .project-image {
    background: var(--surface);
    border-color: var(--border);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
}

/* ========================================
   SERVICES PAGE STYLES
   ======================================== */

.services-hero {
    padding: 5rem 0 3rem;
    border-bottom: 1px solid var(--border);
}

.services-hero h1 {
    color: var(--blue);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.services-hero h1 em {
    font-weight: 400;
}

.services-list {
    padding: 5rem 0;
}

.service {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-light);
}

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

.service h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.015em;
}

.service p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.service ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service li {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.service li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.services-cta {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}

.services-cta h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: -0.015em;
}

.services-cta-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    color: var(--text-muted);
}

/* Form Styles */
.lead-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: 'News Cycle', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: 'Crimson Pro', serif;
    font-size: 1rem;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    transition: border-color 0.2s;
}

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

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

select {
    appearance: none;
    -webkit-appearance: none; /* For Safari/Chrome */
    -moz-appearance: none;    /* For Firefox */
    padding-right: 30px;      /* Make room for your new arrow */
}

/* Specifically for IE10/11 */
select::-ms-expand {
    display: none;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: ""; 
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none; /* Ensures clicks pass through to the select menu */
    font-family: "Font Awesome 7 Sharp";
}

.lead-form .btn {
    width: 100%;
    margin-top: 1rem;
}

.form-note {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-top: 2rem;
}

.form-note a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.form-note a:hover {
    opacity: 0.6;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Services Hero Image */
.services-hero-image {
    margin: 3rem 0 0;
    border: 1px solid var(--border);
    background: var(--surface);
}

.services-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Nav Icon */
.nav-links a[href="services.html"] i {
    color: var(--blue);
}

/* Case Study Images */
.case-study-image {
    margin: 3rem 0;
/*    background: var(--surface);*/
}

.case-study-image img {
    width: 100%;
    height: auto;
    display: block;
    padding: .5rem;
    border: 1px solid var(--border);
}

p.image-caption {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    line-height: 1.2em;
    color: var(--text-muted);
/*    font-style: italic;*/
    text-align: center;
/*    border-top: 1px solid var(--border-light);*/
    margin: 0;
}

/* ========================================
   ICON STYLES
   ======================================== */

/* Service Icons */
.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    opacity: 0.8;
}

/* Hero Eyebrow Icon */
.hero-eyebrow::before,
.eyebrow::before {
    content: '✦ ';
    opacity: 0.6;
}

/* ========================================
   PROTOTYPES SECTION
   ======================================== */

.prototypes {
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}

.prototypes h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: -0.015em;
}

.section-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.prototypes .btn {
    display: inline-block;
}

/* ========================================
   PROTOTYPES PAGE
   ======================================== */

.prototypes-hero {
    padding: 5rem 0 3rem;
    border-bottom: 1px solid var(--border);
}

.prototypes-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.prototypes-grid-section {
    padding: 5rem 0;
}

.prototypes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
}

.prototype-card {
    filter: grayscale(100%);
    border: 1px solid var(--border);
    transition: filter 0.2s;
}

.prototype-card:hover {
    filter: grayscale(0%);
    border-color: var(--text);
}

.prototype-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.prototype-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding: .5rem;
}

.prototype-content {
    padding: 2rem;
}

.prototype-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.prototype-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.prototype-link {
    display: inline-block;
    font-family: 'News Cycle', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: opacity 0.2s;
}

.prototype-link:hover {
    opacity: 0.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .prototypes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========================================
   BURGER MENU & MOBILE NAVIGATION
   ======================================== */

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    position: relative;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--text);
    transition: transform 0.35s ease, opacity 0.2s ease;
    transform-origin: center;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.burger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.burger-menu.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Full Screen Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-overlay .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 4rem;
}

.mobile-nav-overlay .mobile-nav-links a {
    font-family: 'Crimson Pro', serif;
    font-size: clamp(2.75rem, 12vw, 4.5rem);
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    line-height: 1.15;
    letter-spacing: -0.02em;
    transition: opacity 0.2s;
    border: none;
}

.mobile-nav-overlay .mobile-nav-links a:hover {
    opacity: 0.45;
}

.mobile-nav-overlay .mobile-nav-links i {
    color: var(--blue);
    font-size: .8em;
}

.mobile-nav-overlay .mobile-nav-footer {
    position: absolute;
    bottom: 2.5rem;
    left: 2rem;
    display: flex;
    gap: 2rem;
}

.mobile-nav-overlay .mobile-nav-footer a {
    font-family: 'News Cycle', sans-serif;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.mobile-nav-overlay .mobile-nav-footer a:hover {
    color: var(--text);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}
