:root {
    --primary: #f6f5f3;
    --accent: #515c94;
    --accent-warm: #6876bb;
    --text: #404456;
    --text-dim: #4a4a4a;
    --surface: #ffffff;
    --surface-elevated: #fafafa;
}

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

body {
    font-family: 'IBM Plex Mono', monospace;
    background: url('../img/bkgd.png') top center no-repeat,
                url('../img/footer-bkgd.png') bottom center no-repeat;
    background-size: contain, contain;
    background-attachment: scroll, scroll;
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 0;
}

h1, h2, h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    padding-top:15px;
}

.container {
    max-width: 1200px;
    margin: 150px auto 0;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    background: transparent;
}

/* ── Site Navigation ── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
/*     background: rgba(246, 245, 243, 0.95);
    backdrop-filter: blur(8px); */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-nav .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 56px;
}

/* .site-nav .nav-brand {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.03em;
} */

.site-nav .nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    list-style: none;
}

.site-nav .nav-links a {
    font-size: 0.8rem;
    color: #515c94;
    text-decoration: none;
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.site-nav .nav-links a:hover {
    color: #6876bb;
}

.site-nav .nav-links a:visited {
    color: #6876bb;
}

a:visited {
    color: var(--accent-warm);
}

.site-nav .nav-links a:active,
.site-nav .nav-links a.active {
    color: #ffffff;
}

/* ── Nav Dropdowns ── */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    cursor: default;
}

.nav-dropdown > a::after {
    content: ' ▾';
    font-size: 0.6em;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0;
    min-width: 140px;
    box-shadow: none;
    z-index: 1000;
    list-style: none;
    margin-top: 0;
    padding-top: 0.75rem;
}

/* Invisible bridge so hover doesn't break between trigger and menu */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 0.5rem;
}


.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li {
    padding: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.4rem 1rem;
    font-size: 0.75rem !important;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.04);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text);
    font-size: 1.25rem;
}

.email-icon {
    font-size: 30px !important;
    color: var(--accent);
    transition: color 0.2s ease;
    position: relative;
    top: -3px;
}
/* ── Header ── */
header {
    padding: 4rem 0 8rem;
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.header-text {
    flex: 1;
}

.eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

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

@keyframes slowFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.intro {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dim);
    max-width: 700px;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.quick-links {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

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

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

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

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

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
}

/* ── Credibility Strip ── */
.credibility-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 4rem;
}

.credibility-item {
    flex: 1;
    min-width: 200px;
}

.credibility-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 0.25rem;
}

.credibility-item .value {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
}

/* ── Featured Work Grid (Homepage) ── */
.featured-work {
    margin: 2rem 0 4rem;
}

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

.project-card {
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.project-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.project-card-body {
    padding: 1.5rem;
}

.project-card-body .meta-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    background: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    display: inline-block;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
}

.project-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    padding-top: 0.5rem;
}

.project-card-body p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-card-body .card-cta {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}

/* ── Section Teasers (Homepage) ── */
.section-teaser {
    margin: 4rem 0;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.section-teaser h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.section-teaser--with-image {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.teaser-image {
    flex-shrink: 0;
    max-width: 200px;
    height: auto;
    border-radius: 6px;
    margin-top:60px;
}

.teaser-content {
    flex: 1;
}

.section-teaser p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

/* ── Remote Work Section ── */
.remote-work {
    margin: 6rem 0;
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.remote-work h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.remote-work > p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 2rem;
    max-width: 800px;
}

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

.remote-highlight {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    border-left: 3px solid var(--text);
}

.remote-highlight h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

/* ── Case Studies (Portfolio Page) ── */
.case-studies {
    margin: 1rem 0;
}

.case-study-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.case-study-image:hover {
    transform: scale(1.02);
}

.case-study-full {
    margin-bottom: 4rem;
    scroll-margin-top: 80px;
}

.case-study-full .case-study-image {
    max-width: 100%;
}

/* ── Carousel (kept for portfolio page if needed) ── */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 1rem;
    max-height: 80vh;
    overflow-y: auto;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: var(--text);
    color: var(--primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--accent);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--text);
    width: 30px;
    border-radius: 5px;
}

/* ── Modal ── */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

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

/* ── Section Header ── */
.section-header {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text);
}

.count {
    font-size: 0.875rem;
    color: var(--text-dim);
    font-family: 'IBM Plex Mono', monospace;
}

/* ── Case Study Cards ── */
.case-study-grid {
    display: grid;
    gap: 3rem;
}

.case-study {
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.case-study-header {
    padding: 1.5rem 2rem;
    background: var(--surface-elevated);
    position: relative;
    overflow: hidden;
}

.case-study-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--text);
}

.case-study-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.meta-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    background: rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.case-study h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    line-height: 1.2;
}

.case-study-intro {
    color: var(--text-dim);
    margin-bottom: 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

.case-study-body {
    padding: 1.5rem 2rem;
}

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

.outcome {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-left: 3px solid var(--text);
    border-radius: 4px;
}

.outcome-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 0.25rem;
}

.outcome-value {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.outcome-description {
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.3;
}

.challenge-section {
    margin-top: 1.5rem;
}

.challenge-section h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.challenge-section p, .challenge-section ul {
    color: var(--text-dim);
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

.challenge-section ul {
    list-style: none;
    padding-left: 0;
}

.challenge-section li {
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.4rem;
}

.challenge-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--text);
    font-size: 0.8rem;
}

.case-study-artifact {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.case-study-artifact img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* ── Services / Consulting ── */
#services ul {
  padding-left: 30px;
  padding-top:5px;
  list-style-type: square;
}

#services li, .services-intro p {
    color: #6876bb !important;
}

.services-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dim);
    max-width: 700px;
    margin-bottom: 2rem;
}

.service-card {
    background: var(--surface);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.service-card .service-for {
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.service-card li {
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--text);
    font-size: 0.8rem;
}

/* ── Writing Page ── */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.article-card {
    background: var(--surface);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.article-card .article-topic {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.article-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    padding-top: 0;
}

.article-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.article-card .article-status {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 1rem;
    font-style: italic;
}

/* ── Projects Page ── */
.project-detail {
    margin-bottom: 4rem;
}

.project-detail h3 {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.project-detail p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 800px;
    margin-bottom: 1rem;
}

.project-detail ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.project-detail li {
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.project-detail li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--text);
    font-size: 0.8rem;
}

.future-projects {
    margin-top: 4rem;
    padding: 2rem;
    border: 1px dashed rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.future-projects h3 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.future-projects p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* ── Page Header (inner pages) ── */
.page-header {
    padding: 2rem 0 4rem;
}

.page-header--with-image {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.page-header-text {
    flex: 1;
}

.page-header-image {
    flex-shrink: 0;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-top: 2rem;
    opacity: 0;
    animation: slowFadeIn 6s ease-out 2s both !important;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-warm);
}

.page-header p {
    font-size: 1rem;
    color: #a37e55;
    line-height: 1.7;
    max-width: 700px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* ── Footer ── */
footer {
    position: relative;
    min-height: 400px;
    margin-top: 6rem;
}

footer a {
    color: #6876bb !important;
}

.footer-content {
    position: absolute;
    bottom: 10px;
    right: -50px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    color: #515c94;
    z-index: 100;
}

@media (max-width: 1240px) {
    .footer-content {
        right: 10px;
    }
}

.footer-content h2 {
    margin-bottom: 1rem;
    color: #515c94;
}

.footer-content p {
    color: #515c94;
    max-width: 400px;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-links a {
    font-size: 0.85rem;
    text-decoration: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

.contact-link {
    color: var(--text);
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.contact-link:hover::after {
    width: 100%;
}

/* ── Logo ── */
.logo {
    position: absolute;
    top: 48px;
    right: 100px;
    max-width: 200px;
    z-index: 500;
    opacity: 0;
    transform: rotate(-6deg) translateY(150px);
    animation: logoFadeInUp 3s ease-out 0.8s forwards;
}

.logo.logo-static {
    opacity: 1;
    transform: rotate(-6deg);
    animation: none;
}

.service-image {
  float: right;
  margin-right: -30px; /* space between text and image */
  margin-top: -30px; /* optional for vertical spacing */
  margin-bottom: 60px; /* optional for vertical spacing */
  max-width: 350px; /* adjust as needed */
  height: auto;
}

@keyframes logoFadeInUp {
    from {
        opacity: 0;
        transform: rotate(-6deg) translateY(80px);
    }
    to {
        opacity: 1;
        transform: rotate(-6deg) translateY(0);
    }
}

/* ── Scroll Indicator ── */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--text);
    width: 0%;
    z-index: 1000;
    transition: width 0.1s ease;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.is-visible {
  animation: fadeInUp 0.8s ease-out both;
  animation-delay: var(--delay, 0s);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .header-content {
        flex-direction: column;
        gap: 2rem;
    }

    .quick-links {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

    .container {
        padding: 0 1rem;
    }

    .section-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Mobile nav */
    .site-nav .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(246, 245, 243, 0.98);
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 0.75rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .site-nav .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        background: transparent;
        backdrop-filter: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0 0 0 1rem;
        margin-top: 0;
        min-width: 0;
    }

    .nav-dropdown .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        padding: 0.3rem 0;
    }

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

    .credibility-strip {
        gap: 1rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* ── Accessibility ── */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
