/* Shared visual system: readable type, aligned surfaces and quiet 2D detail.
   Loaded after the original styles so legacy pages keep their content/layout. */
:root {
    --font-ui: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --neo-ink: #202320;
    --neo-paper: #faf9f3;
    --neo-yellow: #f6e778;
    --neo-pink: #f4b6d5;
    --neo-cyan: #c6eae5;
    --neo-purple: #ded4f1;
    --neo-green: #d6ebc8;
    --neo-orange: #f4c7a6;
    --neo-border: 2px solid var(--neo-ink);
    --neo-shadow: 5px 5px 0 var(--neo-ink);
    --neo-shadow-small: 3px 3px 0 var(--neo-ink);
    --text-secondary: #4d534e;
    --text-light: #596159;
    --primary-color: #315e4a;
    --accent-orange: #b24720;
    --nav-height: 78px;
    --container-max: 1200px;
    --ink: var(--neo-ink);
    --muted: var(--text-secondary);
}

html { scrollbar-color: #8c9588 var(--neo-paper); overflow-x: clip; }
body {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    background: var(--neo-paper);
    opacity: 1;
    animation: none;
    overflow-x: clip;
}
body::before, body::after { display: none; }
img, svg, video { max-width: 100%; }
p, li { overflow-wrap: break-word; }
button, input, textarea, select { font-family: var(--font-ui); }
button, a, input { -webkit-tap-highlight-color: transparent; }
input, textarea, select { font-size: 1rem; }
textarea:focus-visible, select:focus-visible,
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid #7b3cc5;
    outline-offset: 5px;
}

/* One family, three clear levels of hierarchy. Sentence case stays readable. */
h1, h2, h3, h4, h5, h6, .section-title, .logo,
.saas-card h3, .zigzag-content h3, .saas-card p, .zigzag-content p,
.nav-link, .toggle-label, .photo-story-card strong,
.case-metrics strong, .admin-security-note strong, .storage-meter-card strong {
    font-family: var(--font-ui);
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.2;
    overflow-wrap: break-word;
    text-wrap: balance;
}
h3, .card h3, .saas-card h3 { font-size: 1.35rem; line-height: 1.3; }
h4 { font-size: 1.08rem; letter-spacing: -.015em; }
.section-title, .home-page .section-title {
    display: block;
    max-width: 24ch;
    margin: 0 0 24px;
    font-size: clamp(2rem, 3.3vw, 3.1rem) !important;
    line-height: 1.13 !important;
    text-transform: none;
    text-shadow: none;
    letter-spacing: -.045em;
    overflow-wrap: break-word;
}
.section-subtitle { max-width: 64ch; font-size: 1.06rem; line-height: 1.75; }
.container, .home-page .container { max-width: 1200px; padding-inline: 32px; }
.container > *, .grid-2 > *, .grid-3 > *, .grid-auto > *,
.hero-content > *, .case-hero-grid > *, .case-origin-grid > *,
.playground-layout > *, .admin-login-grid > * { min-width: 0; }
body > section, .home-page section {
    padding-block: clamp(64px, 7.5vw, 100px);
    border-block: 0 !important;
    border-bottom: 1px solid #20232024 !important;
    background-image: none !important;
}
/* Explicit section colors avoid a different palette when sections move. */
body > section:nth-of-type(n) { background-color: var(--neo-paper) !important; }
.home-page > #about { background-color: #fff !important; }
.home-page > .featured-section { background-color: #ede8f5 !important; }
.home-page > #powerbi-portfolio { background-color: var(--neo-paper) !important; }
.home-page > #field-notes { background-color: #e5efdf !important; }
.home-page > #systems-playground { background-color: #eee9f5 !important; }
.home-page > .experience-summary { background-color: #e3efeb !important; }
.home-page > #contact { background-color: var(--neo-yellow) !important; }
section .section-header {
    max-width: none;
    margin: 0 0 44px;
    text-align: left;
}
section .section-header::after { display: none; }
section .section-header .section-subtitle { margin-inline: 0 !important; }
.badge {
    display: table;
    max-width: 100%;
    margin: 0 0 22px;
    padding: 6px 11px;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .075em;
    border-radius: 4px;
    border-width: 1.5px;
    box-shadow: 2px 2px 0 var(--neo-ink);
    transform: none;
}

/* Navigation: desktop links or a phone menu, never both. */
.navbar {
    height: var(--nav-height);
    background: #faf9f3fa;
    border-bottom: 1px solid var(--neo-ink);
    box-shadow: none;
    transition: none;
}
.nav-container { gap: 24px; }
.logo { flex-shrink: 0; min-height: 42px; padding: 5px 12px; font-size: 1.05rem; transform: none; }
.nav-menu { align-items: center; gap: 2px; }
.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 7px 9px;
    font-size: .79rem;
    line-height: 1.25;
    letter-spacing: -.015em;
    text-transform: none;
    white-space: nowrap;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}
.nav-link:hover { transform: none; background: var(--neo-cyan); box-shadow: 2px 2px 0 var(--neo-ink); }
.nav-link.active { background: var(--neo-yellow); box-shadow: 2px 2px 0 var(--neo-ink); }
.mobile-toggle { display: none; cursor: pointer; font: 700 1.15rem var(--font-ui); }
.toggle-switch { width: 44px; height: 26px; flex-shrink: 0; }
.toggle-switch .slider::before { height: 18px; width: 18px; bottom: 2px; left: 2px; }
.toggle-switch input:checked + .slider::before { transform: translateX(18px); }
.toggle-label { font-size: .73rem; }
.home-scroll-progress { height: 3px; background: transparent; }
.home-scroll-progress span { background: #7c5bbb; border: 0; }
.home-section-rail { display: none; }

/* Hero: a short introduction paired with a framed portrait. */
.hero, .home-page .hero, .case-hero, .flow-hero {
    min-height: auto;
    padding-block: clamp(64px, 7vw, 98px);
    background: var(--neo-paper) !important;
    border-bottom: 1px solid #20232024;
}
.hero::before, .hero::after, .home-page .hero-text::before { display: none; }
.home-page .hero {
    background-image: radial-gradient(#20232016 .8px, transparent .8px) !important;
    background-size: 20px 20px !important;
    overflow: hidden;
}
.home-page .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
    align-items: center;
    gap: clamp(48px, 7vw, 88px);
    text-align: left;
}
.home-page .hero-text { max-width: none; width: 100%; }
.hero .section-title, .home-page .hero .section-title,
.case-hero .section-title, .flow-hero .section-title {
    max-width: 21ch;
    font-size: clamp(2.35rem, 4.2vw, 4.1rem) !important;
    margin-block: 0 24px !important;
    line-height: 1.06 !important;
    text-shadow: none;
    text-transform: none;
    animation: none;
}
.hero-name { display: block; margin-bottom: 14px; font-size: .37em; font-weight: 500; letter-spacing: -.02em; }
.hero-name-divider { display: none; }
.hero-statement { display: block; }
.home-page .hero .section-subtitle {
    max-width: 51ch;
    margin: 0 0 28px !important;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    font-size: 1.05rem !important;
    line-height: 1.75;
    font-weight: 400;
    color: var(--text-secondary);
    transform: none;
}
.home-page .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 450px; }
.home-page .hero-actions a { margin: 0; transform: none !important; font-size: .85rem; padding: 12px 14px; }
.home-page .hero-actions .cv-download-btn {
    min-height: 42px;
    padding: 8px 5px;
    border: 0;
    box-shadow: none;
    background: transparent;
    font-size: .78rem;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.home-page .hero-actions .cv-download-btn:hover { color: var(--primary-color); background: var(--neo-green); }
.home-page .hero-text > .hero-location {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    margin-top: 28px;
    padding: 0 !important;
    border: 0 !important;
    background: none;
    box-shadow: none;
    transform: none;
}
.home-page .hero-location small { font-size: .65rem; white-space: nowrap; }
.home-page .hero-location p { font-size: .85rem !important; }
.home-page .hero-visual {
    display: block;
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    padding: 12px;
    background: var(--neo-cyan);
    border: var(--neo-border);
    box-shadow: 8px 8px 0 var(--neo-ink);
    border-radius: 8px;
    transform: none;
    transform-style: flat;
    isolation: isolate;
}
.home-page .hero-visual .profile-img-large,
.home-page .hero-visual:hover .profile-img-large {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--neo-ink);
    border-radius: 3px;
    box-shadow: none;
    filter: none;
    object-fit: cover;
    object-position: center top;
    transform: none;
    animation: none;
}
.home-page .hero-visual::before {
    top: auto;
    bottom: 25px;
    left: -22px;
    right: auto;
    padding: 10px 14px;
    font-size: .66rem;
    transform: rotate(-4deg);
}
.hero-orbit-dot { display: none; animation: none; }
.hero-coordinate { bottom: -31px; right: 12px; border: 0; box-shadow: none; background: none; transform: none; font-size: .62rem; }
.hero-doodle {
    --drift: 0px;
    --spin: 0deg;
    position: absolute;
    z-index: 3;
    pointer-events: none;
    overflow: visible;
    transform: translateY(var(--drift)) rotate(var(--spin));
}
.doodle-spark { width: 90px; height: 90px; top: -39px; right: -34px; color: var(--neo-yellow); }
.doodle-loop { width: 104px; height: 78px; top: -54px; left: -46px; color: #655184; }
.doodle-grid { width: 64px; height: 64px; right: -29px; bottom: 68px; color: var(--neo-ink); }
.home-signal-strip { border-block: 1px solid var(--neo-ink); background: var(--neo-yellow); color: var(--neo-ink); }
.home-signal-track { width: 100%; min-height: 62px; justify-content: center; gap: 0; flex-wrap: wrap; animation: none; }
.home-signal-track span { padding-inline: clamp(12px, 2vw, 28px); font-family: var(--font-ui); font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.home-signal-track i { font-family: var(--font-ui); color: #5d505e; font-size: 1.4rem; }
.home-signal-track [aria-hidden='true'] { display: none; }
.home-signal-track i:last-of-type { display: none; }

/* Content surfaces share edges, padding and button baselines. */
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-2, .grid-3, .grid-auto { gap: 28px; }
.card, .saas-card, .home-page .card, .home-page .saas-card {
    padding: clamp(22px, 2.8vw, 32px);
    border-radius: 7px;
    box-shadow: var(--neo-shadow);
    transition: transform 240ms ease, box-shadow 240ms ease;
}
.grid-2 > .card:nth-child(n), .grid-3 > .card:nth-child(n),
.grid-auto > .card:nth-child(n), .grid-3 > .saas-card:nth-child(n) { background: var(--neo-white) !important; }
.card:hover, .saas-card:hover { transform: translateY(-3px); box-shadow: 5px 8px 0 var(--neo-ink); }
.project-card { display: flex; flex-direction: column; min-width: 0; }
.project-card::before { display: none; }
.project-card > .btn-small { align-self: flex-start; margin-top: auto; }
.project-card > div:only-child { display: flex; flex: 1; flex-direction: column; padding: 0 !important; }
.project-card > div:only-child > a { align-self: flex-start; margin-top: auto; }
.featured-section .project-card { border-top-width: 7px !important; border-top-color: #aa94c4 !important; }
.featured-section .project-card:nth-child(2) { border-top-color: #88b4a6 !important; }
.featured-section .project-card:nth-child(3) { border-top-color: #d2b457 !important; }
.saas-card { gap: 18px; }
.saas-card-img, .home-page .saas-card-img { aspect-ratio: 16 / 10; object-fit: contain; background: #fff; filter: none; }
.card img { filter: none; }
.tag, .saas-badge, .case-tags span {
    padding: 5px 9px;
    font-size: .73rem;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: none;
    border-width: 1px;
    background: #f5f3e9;
}
.tags { gap: 8px; margin-bottom: 20px; }
.btn, .btn-outline, .cv-download-btn, .saas-btn, .btn-small {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 19px;
    font-family: var(--font-ui);
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-transform: none;
    letter-spacing: -.01em;
    white-space: normal;
    border: var(--neo-border);
    border-radius: 5px;
    color: var(--neo-ink) !important;
    background: var(--neo-yellow);
    box-shadow: var(--neo-shadow-small);
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.btn-outline { background: var(--neo-white); }
.btn:hover, .btn-outline:hover, .btn-small:hover, .saas-btn:hover,
.cv-download-btn:hover { color: var(--neo-ink) !important; background: var(--neo-cyan); box-shadow: 1px 1px 0 var(--neo-ink); transform: translate(2px, 2px); }
.saas-btn { align-self: stretch; margin-top: auto; font-size: .78rem; }
.photo-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.photo-story-card, .photo-story-card.photo-wide {
    --sticker-rotate: 0deg;
    grid-column: auto;
    min-width: 0;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 5px 5px 0 var(--neo-ink);
    transform: none;
}
.photo-story-card:nth-child(2n) { --sticker-rotate: 0deg; }
.photo-story-card img, .home-page .photo-story-card img { height: 310px; border-width: 1px; filter: none; }
.photo-story-card:nth-child(4) img { object-fit: contain; background: white; }
.photo-story-card figcaption { min-height: 108px; padding: 20px 54px 10px 8px; }
.photo-story-card strong { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.03em; }
.photo-story-card small { font-size: .79rem; font-weight: 400; margin-top: 5px; }
.photo-index { width: 36px; height: 36px; font-size: .72rem; }
.kinetic-shape { width: 52px; border-width: 2px; box-shadow: 3px 3px 0 var(--neo-ink); opacity: .65; will-change: auto; }
.kinetic-square { right: 3%; top: 35px; }
.kinetic-circle { left: auto; right: 10%; bottom: 24px; }
.kinetic-triangle { width: 50px; bottom: 35px; }
.sticker-element.sticker-in { animation: none; }
.playground-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; }
.systems-sticker, .home-page .systems-sticker { width: min(360px, 100%); filter: none; }
.system-game { min-width: 0; }
.system-game-head { gap: 14px; }
.system-reset { flex-shrink: 0; min-height: 44px; }
.system-game h3 { font-size: 1.3rem; }
.system-node { min-height: 60px; }

/* A consistent two-column story, including stages without photographs. */
.zigzag-timeline { gap: 36px; }
.zigzag-timeline::before { display: none; }
.zigzag-row, .zigzag-row.reverse {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 32px;
    padding: 0;
    opacity: 1;
    transform: none;
    transition: none;
}
.zigzag-content, .zigzag-row.reverse .zigzag-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 32px;
    background: white;
    border: var(--neo-border);
    border-radius: 6px;
    box-shadow: var(--neo-shadow-small);
}
.zigzag-content h3 { padding-left: 46px; min-height: 36px; margin-bottom: 20px; font-size: 1.22rem; }
.zigzag-content p { font-size: .97rem; line-height: 1.8; }
.progress-marker { top: 30px; left: 30px; width: 34px; height: 34px; font-size: 1rem; border: 1px solid var(--neo-ink); box-shadow: none; transform: none; }
.zigzag-media { width: 100%; min-height: 330px; border: var(--neo-border); border-radius: 6px; box-shadow: var(--neo-shadow-small); }
.zigzag-row.reverse .zigzag-content { order: 2; }
.zigzag-row.reverse .progress-marker { left: calc(50% + 46px); }
.zigzag-row:not(:has(.zigzag-media)) { grid-template-columns: minmax(0, 1fr); }
.zigzag-row:not(:has(.zigzag-media)) .zigzag-content p { max-width: 92ch; }
.glass-caption { top: auto; height: auto; padding: 15px; font-size: .85rem; background: #202320d9; }
.zigzag-media:focus-within .glass-caption { opacity: 1; }
.home-page #contact .container { text-align: center; }
.home-page #contact .badge, .home-page #contact .section-title { margin-inline: auto; }
.home-page #contact .section-title { max-width: 24ch; }
.home-page #contact .container > div { gap: 16px !important; }

/* Shared subpages and private workspace. */
.hero > .container:not(.hero-content) > .section-title { margin-inline: auto; }
.hero > .container:not(.hero-content) > .badge { margin-inline: auto; }
.case-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.case-hero-dashboard, .case-story-card, .admin-login-card, .admin-security-note,
.flow-game-intro > p { --sticker-rotate: 0deg; transform: none; }
.case-lede { padding: 0; border: 0; background: none; box-shadow: none; font-weight: 400; font-size: 1.05rem; }
.case-metrics { margin: 0 0 72px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.case-metrics article { min-width: 0; min-height: 125px; padding: 18px 14px; }
.case-metrics strong { font-size: 2.3rem; }
.case-origin-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.admin-login-section { min-height: auto; padding-block: 64px; }
.admin-login-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; }
.admin-login-card { gap: 20px; }
.admin-login-card h2 { font-size: 2rem; }
.admin-security-note strong { font-size: .78rem; }
.admin-login-card label { font-size: .9rem; font-weight: 600; }
.contact-detail-link { color: inherit; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-page .hero .section-title { max-width: 100%; }
.contact-page .hero .card { text-align: left; }
.contact-page .hero .grid-2 { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.contact-page .grid-2 p { font-size: .98rem !important; overflow-wrap: anywhere; }
footer { padding-block: 40px !important; border-top: 0 !important; background: var(--neo-ink) !important; }
footer .container { gap: 24px !important; }
footer .container > div, .case-footer div { flex-wrap: wrap; gap: 18px !important; }
footer a { padding: 4px 0; border: 0; background: none; color: #faf9f3 !important; box-shadow: none; text-underline-offset: 5px; }
footer a:hover { text-decoration: underline !important; }

@media (max-width: 1100px) {
    :root { --nav-height: 72px; }
    .mobile-toggle { display: block; margin-left: auto; min-height: 44px; }
    .navbar { z-index: 1000; }
    .nav-menu, .home-page .nav-menu {
        position: fixed;
        inset: var(--nav-height) 0 auto;
        height: calc(100dvh - var(--nav-height));
        max-height: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 10px;
        padding: 24px max(24px, calc((100vw - 560px) / 2)) 36px;
        background: var(--neo-paper);
        border-bottom: var(--neo-border);
        overflow-y: auto;
        overscroll-behavior: contain;
        backdrop-filter: none;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
    }
    .nav-menu.active { visibility: visible; opacity: 1; transform: none; }
    .nav-menu li { width: 100%; }
    .nav-menu li:last-child { justify-content: center; margin: 14px 0 0 !important; }
    .nav-link, .home-page .nav-link { width: 100%; min-height: 46px; justify-content: flex-start; padding: 11px 16px; font-size: 1rem; border: 1px solid var(--neo-ink); box-shadow: 2px 2px 0 var(--neo-ink); background: white; }
    .nav-link.active { background: var(--neo-yellow); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-page .hero-content { gap: 40px; }
    .doodle-spark { right: -18px; width: 72px; }
    .doodle-grid { right: -12px; }
}

@media (max-width: 800px) {
    .container, .home-page .container { padding-inline: 26px; }
    .home-page .hero-content { grid-template-columns: minmax(0, 1fr); gap: 58px; }
    .home-page .hero-text { max-width: 600px; }
    .home-page .hero .section-title { max-width: 17ch; font-size: clamp(2.7rem, 6.4vw, 3.8rem) !important; }
    .home-page .hero .section-subtitle { max-width: 55ch; }
    .home-page .hero-visual { width: min(340px, 86%); justify-self: center; }
    .home-page .hero { padding-block: 54px 64px; }
    .grid-2, .playground-layout, .case-hero-grid, .case-origin-grid, .admin-login-grid { grid-template-columns: minmax(0, 1fr); }
    .playground-layout, .case-hero-grid, .case-origin-grid { gap: 42px; }
    .case-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .admin-login-grid { gap: 36px; }
    .photo-story-card img, .home-page .photo-story-card img { height: 250px; }
    .zigzag-row, .zigzag-row.reverse { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .zigzag-row.reverse .zigzag-content { order: 0; }
    .zigzag-row.reverse .progress-marker { left: 30px; }
    .zigzag-media { min-height: 350px; }
    .glass-caption { position: absolute; opacity: 1; backdrop-filter: none; }
    .home-signal-track { padding: 16px 24px; gap: 8px; }
    .home-signal-track span { padding-inline: 4px; font-size: .68rem; }
    .home-signal-track i { font-size: .9rem; }
    .systems-sticker, .home-page .systems-sticker { width: min(300px, 85%); }
}

@media (max-width: 560px) {
    :root { --nav-height: 66px; }
    .container, .home-page .container { padding-inline: 22px; }
    .logo { font-size: .95rem; min-height: 40px; }
    .hero, .case-hero, .flow-hero { padding-block: 48px 60px; }
    .home-page .hero { padding-top: 44px; }
    .home-page .hero .section-title { font-size: clamp(2.35rem, 9.3vw, 3.3rem) !important; line-height: 1.07 !important; max-width: 100%; }
    .hero .section-title, .case-hero .section-title, .flow-hero .section-title { font-size: clamp(2rem, 8.7vw, 2.9rem) !important; }
    .section-title, .home-page .section-title { font-size: clamp(1.8rem, 7.6vw, 2.4rem) !important; line-height: 1.15 !important; }
    .hero-name { font-size: .47em; margin-bottom: 13px; }
    .badge, .home-page .badge { font-size: .62rem; margin-bottom: 24px; }
    .home-page .hero .section-subtitle { font-size: .98rem !important; line-height: 1.7; }
    .home-page .hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .home-page .hero-actions .btn, .home-page .hero-actions .btn-outline { min-height: 46px; padding: 10px 8px; font-size: .78rem; }
    .home-page .hero-actions .cv-download-btn { padding-inline: 0; font-size: .71rem; }
    .home-page .hero-text > .hero-location { flex-direction: row; gap: 10px; margin-top: 22px; }
    .home-page .hero-visual { width: min(305px, 86%); padding: 10px; }
    .home-page .hero-visual::before { left: -14px; padding: 7px 9px; font-size: .6rem; }
    .doodle-spark { width: 62px; height: 62px; right: -24px; top: -28px; }
    .doodle-loop { left: -23px; top: -43px; width: 80px; height: 60px; }
    .doodle-grid { width: 46px; height: 46px; right: -21px; }
    body > section, .home-page section { padding-block: 60px; }
    section .section-header, .home-page .section-header { margin-bottom: 32px; }
    .grid-3, .photo-story-grid, .contact-page .hero .grid-2 { grid-template-columns: minmax(0, 1fr); }
    .grid-2, .grid-3, .grid-auto { gap: 24px; }
    .card, .saas-card, .home-page .card, .home-page .saas-card { padding: 22px; }
    .btn, .btn-outline, .cv-download-btn { margin-bottom: 0; }
    .project-card > div:only-child > a { width: auto; }
    .photo-story-card img, .home-page .photo-story-card img { height: 265px; }
    .photo-story-card figcaption { min-height: 106px; }
    .zigzag-content, .zigzag-row.reverse .zigzag-content { padding: 22px; }
    .progress-marker, .zigzag-row.reverse .progress-marker { left: 22px; top: 22px; }
    .zigzag-media { min-height: 290px; }
    .zigzag-content h3 { font-size: 1.13rem; }
    .kinetic-shape { width: 32px; opacity: .4; }
    .case-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 48px; }
    .case-metrics article:last-child { grid-column: 1 / -1; }
    .admin-login-card h2 { font-size: 1.8rem; }
    .admin-topbar .container { gap: 10px; }
    .admin-top-actions { gap: 8px; }
    .admin-topbar .btn-outline { font-size: .7rem; padding-inline: 10px; }
    .contact-page .grid-2 p { font-size: .92rem !important; }
    .contact-page .hero .section-title { margin-bottom: 28px !important; }
    footer .container { align-items: flex-start !important; flex-direction: column; }
}

@media (hover: none) {
    .card:hover, .saas-card:hover, .home-page .card:hover, .home-page .saas-card:hover { transform: none; box-shadow: var(--neo-shadow); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero-doodle, .kinetic-shape { transform: none !important; }
    .zigzag-row { opacity: 1 !important; transform: none !important; }
}
