@font-face {
            font-family: 'Albert Sans';
            font-style: normal;
            font-weight: 300 800;
            font-display: swap;
            src: url('../fonts/albert-sans-latin-ext.woff2') format('woff2');
            unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
        }
        @font-face {
            font-family: 'Albert Sans';
            font-style: normal;
            font-weight: 300 800;
            font-display: swap;
            src: url('../fonts/albert-sans-latin.woff2') format('woff2');
            unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
        }

:root {
            --bg:         #ffffff;
            --ink:        #0a0a0a;
            --muted:      #757575;
            --line:       rgba(10,10,10,0.12);
            --peach:      #f5c99b;
            --pink:       #eab6e8;
            --lilac:      #d4c4f5;
            --card-bg:    rgba(255,255,255,0.6);
            --card-border:rgba(10,10,10,0.1);
            --input-bg:   rgba(255,255,255,0.8);
            --modal-card: rgba(255,255,255,0.96);
            --shadow:     rgba(0,0,0,0.10);
            --blob-opacity: 0.85;
            --nav-control-height: 39px;
        }
        body.dark {
            --bg:         #0a0a0a;
            --ink:        #f5f5f5;
            --muted:      #a0a0a0;
            --line:       rgba(245,245,245,0.14);
            --peach:      #8a5a2e;
            --pink:       #5d2b58;
            --lilac:      #3d3570;
            --card-bg:    rgba(24,24,24,0.55);
            --card-border:rgba(245,245,245,0.12);
            --input-bg:   rgba(24,24,24,0.75);
            --modal-card: rgba(18,18,18,0.96);
            --shadow:     rgba(0,0,0,0.45);
            --blob-opacity: 0.45;
        }

        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; scroll-padding-top: 140px; }
        :where(a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])):focus-visible {
            outline: 3px solid color-mix(in srgb, var(--ink) 72%, transparent);
            outline-offset: 4px;
        }
        .skip-link {
            position: fixed;
            top: 14px;
            left: 14px;
            z-index: 1000;
            transform: translateY(-160%);
            padding: 10px 16px;
            background: var(--ink);
            color: var(--bg);
            border-radius: 10px;
            font-size: 13px;
            font-weight: 700;
            text-decoration: none;
            transition: transform 0.2s ease;
        }
        .skip-link:focus-visible {
            transform: translateY(0);
        }
        body {
            background: var(--bg);
            color: var(--ink);
            font-family: 'Albert Sans', sans-serif;
            letter-spacing: 0.3px;
            font-weight: 400;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            position: relative;
            transition: background 0.35s ease, color 0.35s ease;
        }

        /* ─── GRADIENT BLOBS (background) ─────────────── */
        .blobs {
            display: none;
        }
        .blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(90px);
            will-change: transform;
            opacity: var(--blob-opacity);
            transition: opacity 0.5s ease;
        }
        .blob-1 {
            width: 780px; height: 780px;
            background: radial-gradient(circle, var(--pink) 0%, transparent 62%);
            top: 12%;
            left: -260px;
            animation: float-1 18s ease-in-out infinite;
        }
        .blob-2 {
            width: 900px; height: 720px;
            background: radial-gradient(ellipse, var(--peach) 0%, transparent 60%);
            top: 8%;
            right: -220px;
            animation: float-2 22s ease-in-out infinite;
        }
        .blob-3 {
            width: 660px; height: 660px;
            background: radial-gradient(circle, var(--lilac) 0%, transparent 62%);
            bottom: -200px;
            left: 30%;
            animation: float-3 26s ease-in-out infinite;
        }
        .blob-4 {
            width: 580px; height: 580px;
            background: radial-gradient(circle, var(--pink) 0%, transparent 62%);
            top: 48%;
            right: 8%;
            animation: float-4 24s ease-in-out infinite;
        }
        @keyframes float-1 {
            0%,100% { transform: translate(0,0) scale(1); }
            50%     { transform: translate(80px, 60px) scale(1.1); }
        }
        @keyframes float-2 {
            0%,100% { transform: translate(0,0) scale(1); }
            50%     { transform: translate(-100px, 80px) scale(1.15); }
        }
        @keyframes float-3 {
            0%,100% { transform: translate(0,0) scale(1); }
            50%     { transform: translate(60px, -80px) scale(1.08); }
        }
        @keyframes float-4 {
            0%,100% { transform: translate(0,0) scale(1); }
            50%     { transform: translate(-70px, 50px) scale(1.12); }
        }

        /* ─── NAV ─────────────────────────────────────── */
        #nav {
            position: fixed;
            top: 0; left: 0; right: 0;
            z-index: 100;
            padding: 22px 48px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: transparent;
            backdrop-filter: blur(0px);
            -webkit-backdrop-filter: blur(0px);
            box-shadow: none;
            border-bottom: 1px solid transparent;
            transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s, border-color 0.35s;
        }
        #nav.scrolled {
            background: rgba(255,255,255,0.82);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            box-shadow: 0 2px 28px rgba(0,0,0,0.09);
            border-bottom: 1px solid rgba(255,255,255,0.5);
        }
        body.dark #nav.scrolled {
            background: rgba(20,20,24,0.85);
            border-bottom: 1px solid rgba(255,255,255,0.06);
            box-shadow: 0 2px 28px rgba(0,0,0,0.35);
        }
        .nav-left {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .site-logo {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: calc(var(--nav-control-height) * 1.5);
            height: var(--nav-control-height);
            margin-right: 8px;
            flex: 0 0 auto;
            text-decoration: none;
            position: relative;
        }
        .site-logo img {
            display: none;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        body:not(.dark) .site-logo .site-logo-light { display: block; }
        body:not(.dark) .site-logo .site-logo-dark { display: none; }
        body.dark .site-logo .site-logo-light { display: none; }
        body.dark .site-logo .site-logo-dark { display: block; }
        .nav-links {
            display: flex;
            gap: 44px;
            list-style: none;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }
        .nav-links a {
            font-size: 17px;
            font-weight: 500;
            color: var(--ink);
            text-decoration: none;
            transition: opacity 0.2s;
        }
        .nav-links a:hover { opacity: 0.6; }
        .nav-right {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .btn-nav-ghost {
            padding: 10px 22px;
            background: transparent;
            color: var(--ink);
            border: 1.5px solid var(--ink);
            border-radius: 10px;
            font-family: inherit;
            font-size: 15px;
            font-weight: 700;
            letter-spacing: 0.3px;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s;
        }
        .btn-nav-ghost:hover { background: var(--ink); color: var(--bg); }
        .btn-nav-solid {
            padding: 10px 22px;
            background: var(--ink);
            color: var(--bg);
            border: 1.5px solid var(--ink);
            border-radius: 10px;
            font-family: inherit;
            font-size: 15px;
            font-weight: 700;
            letter-spacing: 0.3px;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s;
        }
        .btn-nav-solid:hover { opacity: 0.85; }
        .btn-nav-mobile-contact {
            display: none;
            padding: 10px 22px;
            background: var(--ink);
            color: var(--bg);
            border: 1.5px solid var(--ink);
            border-radius: 10px;
            font-family: inherit;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.3px;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s;
        }
        @media (hover: hover) and (pointer: fine) {
            .btn-nav-mobile-contact:hover { opacity: 0.85; }
        }

        /* ─── NAV TOGGLES (lang + theme) ──────────────── */
        .lang-switch {
            position: relative;
            display: grid;
            grid-template-columns: repeat(2, minmax(42px, 1fr));
            align-items: stretch;
            background: transparent;
            border: 1.5px solid var(--ink);
            border-radius: 10px;
            padding: 0;
            height: var(--nav-control-height);
            overflow: hidden;
        }
        .lang-switch::before {
            content: "";
            position: absolute;
            top: -1.5px;
            bottom: -1.5px;
            left: -1.5px;
            width: calc(50% + 1.5px);
            background: var(--ink);
            border-radius: 10px 0 0 10px;
            pointer-events: none;
        }
        .lang-switch:has(.lang-btn[data-lang="en"].active) {
            background: transparent;
        }
        .lang-switch:has(.lang-btn[data-lang="en"].active)::before {
            left: 50%;
            width: calc(50% + 1.5px);
            border-radius: 0 10px 10px 0;
        }
        .lang-btn {
            position: relative;
            z-index: 1;
            box-sizing: border-box;
            background: transparent;
            border: none;
            color: var(--muted);
            font-family: inherit;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.5px;
            cursor: pointer;
            padding: 0 14px;
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s, color 0.2s;
        }
        .lang-btn:hover {
            background: transparent;
            color: var(--ink);
        }
        .lang-btn.active {
            background: transparent;
            color: var(--bg);
        }
        .lang-btn:focus-visible {
            background: var(--ink);
            color: var(--bg);
            outline: none;
        }
        .theme-btn {
            width: var(--nav-control-height);
            height: var(--nav-control-height);
            padding: 0;
            border-radius: 10px;
            border: 1.5px solid var(--ink);
            background: transparent;
            color: var(--ink);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s, border-color 0.2s, color 0.2s;
        }
        .theme-btn:hover {
            background: transparent;
            color: var(--ink);
        }
        .theme-btn svg {
            width: 18px; height: 18px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .theme-btn .ic-moon { display: block; }
        .theme-btn .ic-sun { display: none; }
        body.dark .theme-btn .ic-moon { display: none; }
        body.dark .theme-btn .ic-sun { display: block; }

        /* ─── TEAM ────────────────────────────────────── */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }
        .team-card {
            background: var(--card-bg);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1.5px solid var(--card-border);
            border-radius: 18px;
            overflow: hidden;
            transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s, background 0.35s;
        }
        .team-card:hover {
            transform: translateY(-6px);
            border-color: var(--ink);
            box-shadow: 0 20px 48px var(--shadow);
        }
        .team-photo-wrap {
            width: 100%;
            aspect-ratio: 1 / 1;
            overflow: hidden;
            background: linear-gradient(135deg, var(--lilac), var(--pink));
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .team-photo-wrap.no-photo {
            background: transparent;
        }
        .team-photo-wrap img {
            width: 100%; height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.7s ease;
        }
        .team-card:hover .team-photo-wrap img { transform: scale(1.04); }
        .team-initials {
            font-size: 64px;
            font-weight: 800;
            letter-spacing: -2px;
            color: rgba(10,10,10,0.65);
        }
        .team-info {
            padding: 24px 26px 28px;
        }
        .team-role {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--muted);
            margin-bottom: 10px;
            display: block;
        }
        .team-name {

            font-size: 21px;
            font-weight: 500;
            letter-spacing: -0.6px;
            color: var(--ink);
            margin-bottom: 10px;
        }
        .team-bio {
            font-size: 13.5px;
            line-height: 1.58;
            color: var(--muted);
        }
        .team-card { cursor: pointer; }
        .team-expand {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px; height: 44px;
            border: 1.5px solid var(--ink);
            border-radius: 50%;
            margin-top: 14px;
            transition: background 0.3s, color 0.3s;
        }
        .team-card:hover .team-expand {
            background: var(--ink);
            color: var(--bg);
        }
        .team-expand svg {
            width: 18px; height: 18px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
        }

        /* ─── TEAM MODAL ──────────────────────────────── */
        .team-modal {
            position: fixed;
            inset: 0;
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 40px 24px;
        }
        .team-modal.open { display: flex; }
        .team-modal-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(10,10,10,0.55);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            opacity: 0;
            animation: fade 0.35s ease forwards;
        }
        .team-modal-card {
            position: relative;
            width: min(780px, calc(100vw - 120px));
            height: min(680px, calc(100svh - 48px));
            max-height: min(680px, calc(100svh - 48px));
            background: var(--modal-card);
            border: 1.5px solid var(--card-border);
            border-radius: 28px;
            overflow: hidden;
            display: grid;
            grid-template-columns: minmax(0, 1.65fr) minmax(340px, 0.75fr);
            box-shadow: 0 40px 120px var(--shadow);
            transform: translateY(30px) scale(0.97);
            opacity: 0;
            animation: pop 0.45s cubic-bezier(0.2,0.9,0.3,1.2) 0.05s forwards;
            cursor: pointer;
        }
        .team-modal-photo {
            width: 100%; height: 100%;
            min-height: 360px;
            overflow: hidden;
            background: linear-gradient(135deg, var(--lilac), var(--pink));
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .team-modal-photo.no-photo {
            background: transparent;
        }
        .team-modal-photo img {
            width: 100%; height: 100%;
            object-fit: cover; display: block;
        }
        .team-modal-photo .team-initials {
            font-size: 80px;
        }
        .team-modal-body {
            padding: 38px 38px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            min-height: 0;
            scrollbar-width: thin;
            scrollbar-color: color-mix(in srgb, var(--ink) 26%, transparent) transparent;
        }
        .team-modal-body::-webkit-scrollbar { width: 6px; }
        .team-modal-body::-webkit-scrollbar-track { background: transparent; }
        .team-modal-body::-webkit-scrollbar-thumb {
            background: color-mix(in srgb, var(--ink) 22%, transparent);
            border-radius: 999px;
        }
        .team-modal-body .team-role { margin-bottom: 12px; }
        .team-modal-body .team-name {
            font-size: 30px;
            letter-spacing: -1px;
            margin-bottom: 20px;
        }
        .team-modal-body .tm-bio {
            font-size: 14.5px;
            line-height: 1.66;
            color: var(--muted);
            margin-bottom: 28px;
        }
        .tm-highlights {
            display: flex;
            flex-direction: column;
            gap: 16px;
            padding-top: 22px;
            border-top: 1px solid var(--line);
        }
        .tm-hl {
            display: flex;
            gap: 14px;
            align-items: flex-start;
        }
        .tm-hl-icon {
            width: 36px; height: 36px;
            border-radius: 50%;
            background: var(--card-bg);
            border: 1.5px solid var(--card-border);
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0;
        }
        .tm-hl-icon svg {
            width: 16px; height: 16px;
            stroke: var(--ink);
            fill: none;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .tm-hl-text {
            font-size: 13px;
            line-height: 1.5;
            color: var(--muted);
        }
        .tm-hl-text strong { color: var(--ink); }
        .team-modal-close {
            position: absolute;
            top: 18px; right: 18px;
            width: 42px; height: 42px;
            border-radius: 50%;
            background: var(--modal-card);
            color: var(--ink);
            border: 1.5px solid var(--card-border);
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; z-index: 5;
            transition: all 0.2s;
        }
        .team-modal-close:hover,
        .team-modal-card.close-affordance-active .team-modal-close { background: var(--ink); color: var(--bg); border-color: var(--ink); }
        .team-modal-close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: translateX(-1px); }

        @media (max-width: 700px) {
            .team-modal-card { grid-template-columns: 1fr; overflow: hidden; }
            .team-modal-photo { min-height: 220px; max-height: none; }
            .team-modal-body .team-name { font-size: 24px; }
            .team-modal-close {
                top: auto;
                left: auto;
                bottom: 14px;
                right: 14px;
            }
        }

        /* ─── HERO ────────────────────────────────────── */
        #architekt-chojnice {
            position: relative;
            z-index: 10;
            min-height: 100vh;
            min-height: 100svh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 80px 24px 80px;
            overflow: hidden;
        }
        .hero-title {

            font-size: clamp(62px, 7.6vw, 108px);
            font-weight: 500;
            letter-spacing: -2.2px;
            line-height: 1.02;
            max-width: 1280px;
            margin-bottom: 24px;
            opacity: 0;
            animation: fade-up 1s ease 0.2s forwards;
            color: var(--ink);
            cursor: default;
        }
        .hero-sub {
            font-size: 20px;
            font-weight: 400;
            color: var(--ink);
            max-width: 690px;
            line-height: 1.55;
            margin-bottom: 42px;
            opacity: 0;
            animation: fade-up 1s ease 0.4s forwards;
        }
        .btn-pill {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 19px 42px 19px 48px;
            background: transparent;
            color: var(--ink);
            border: 1.5px solid var(--ink);
            border-radius: 10px;
            font-family: inherit;
            font-size: 16px;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s ease;
            opacity: 0;
            animation: fade-up 1s ease 0.6s forwards;
        }
        @media (hover: hover) and (pointer: fine) {
            .btn-pill:hover {
                background: var(--ink);
                color: var(--bg);
            }
        }
        .btn-pill svg {
            width: 15px; height: 15px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2.5;
            stroke-linecap: round;
            stroke-linejoin: round;
            animation: arrow-bounce 2s ease-in-out infinite;
        }
        @media (hover: hover) and (pointer: fine) {
            .btn-pill:hover svg {
                animation: arrow-bounce-hover 1.2s ease-in-out infinite;
            }
        }
        @keyframes arrow-bounce {
            0%, 100% { transform: translateY(0); }
            50%      { transform: translateY(4px); }
        }
        @keyframes arrow-bounce-hover {
            0%, 100% { transform: translateY(0); }
            50%      { transform: translateY(5px); }
        }

        /* ─── SECTION LAYOUT ──────────────────────────── */
        .section {
            position: relative;
            z-index: 10;
            padding: 108px 48px;
            max-width: 1280px;
            margin: 0 auto;
            content-visibility: auto;
            contain-intrinsic-size: auto 920px;
        }
        .section-head {
            text-align: center;
            max-width: 660px;
            margin: 0 auto 56px;
        }
        .eyebrow {
            display: inline-block;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--muted);
            margin-bottom: 14px;
        }
        .h2 {

            font-size: clamp(34px, 4.1vw, 56px);
            font-weight: 400;
            letter-spacing: -1.25px;
            line-height: 1.05;
            color: var(--ink);
        }
        .h2-sub {
            font-size: 18px;
            color: var(--muted);
            margin-top: 16px;
            line-height: 1.55;
        }

        /* ─── SERVICES ────────────────────────────────── */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
        .service-card {
            background: var(--card-bg);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1.5px solid var(--card-border);
            border-radius: 18px;
            padding: 36px 32px;
            transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s, background 0.35s;
        }
        .service-card:hover {
            transform: translateY(-6px);
            border-color: var(--ink);
            box-shadow: 0 20px 48px var(--shadow);
        }
        .service-num {
            font-size: 12px;
            font-weight: 700;
            color: var(--muted);
            letter-spacing: 1px;
            margin-bottom: 24px;
            display: block;
        }
        .service-name {

            font-size: 26px;
            font-weight: 500;
            letter-spacing: -0.8px;
            margin-bottom: 12px;
            color: var(--ink);
        }
        .service-desc {
            font-size: 15px;
            line-height: 1.62;
            color: var(--muted);
            margin-bottom: 28px;
        }
        .service-arrow {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px; height: 40px;
            border: 1.5px solid var(--ink);
            border-radius: 50%;
            transition: background 0.3s, color 0.3s;
        }
        .service-card:hover .service-arrow {
            background: var(--ink);
            color: var(--bg);
        }
        .service-arrow svg {
            width: 22px; height: 22px;
            stroke: currentColor;
            fill: none;
            stroke-width: 1.85;
            stroke-linecap: round;
            stroke-linejoin: round;
            transform: translateX(1px);
        }
        .service-modal-card {
            cursor: pointer;
        }
        .service-modal-card .proj-modal-hero {
            cursor: pointer;
        }
        .service-modal-card .proj-modal-hero img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
            cursor: pointer;
        }

        /* ─── STATS ───────────────────────────────────── */
        .stats-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0;
            border-top: 1.5px solid var(--line);
            border-bottom: 1.5px solid var(--line);
            padding: 52px 0;
            margin-top: 44px;
        }
        .stat {
            text-align: center;
            padding: 0 24px;
            border-right: 1px solid var(--line);
        }
        .stat:last-child { border-right: none; }
        .stat-n {
            font-size: 56px;
            font-weight: 700;
            letter-spacing: -3px;
            line-height: 1;
            display: flex;
            align-items: baseline;
            justify-content: center;
        }
        .stat-n sup {
            font-size: 24px;
            font-weight: 500;
            color: var(--muted);
            margin-left: 4px;
        }
        .stat-l {
            font-size: 13px;
            color: var(--muted);
            margin-top: 14px;
        }

        /* ─── PROJECTS ────────────────────────────────── */
        .projects-head {
            text-align: center;
            max-width: 660px;
            margin: 0 auto 56px;
        }
        .projects-head .eyebrow { margin-bottom: 12px; }
        .projects-head .btn-pill {
            display: inline-flex;
        }
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 32px 24px;
            width: 100%;
        }
        .proj {
            text-decoration: none;
            color: inherit;
            display: block;
            min-width: 0;
        }
        .proj-img {
            width: 100%;
            aspect-ratio: 4 / 3;
            overflow: hidden;
            border-radius: 14px;
            border: 1.5px solid var(--card-border);
            background: var(--card-bg);
            margin-bottom: 14px;
            transition: background 0.35s, border-color 0.35s;
        }
        .proj-img img {
            width: 100%; height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
        }
        .proj:hover .proj-img img { transform: scale(1.05); }
        .proj-name {
            font-size: 17px;
            font-weight: 700;
            letter-spacing: -0.3px;
            color: var(--ink);
            margin-bottom: 4px;
        }
        .proj-cat {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 1.3px;
            text-transform: uppercase;
            color: var(--muted);
        }
        .projects-empty {
            grid-column: 1 / -1;
            color: var(--muted);
            text-align: center;
            font-size: 15px;
            line-height: 1.6;
        }

        /* ─── PROJECT MODAL ───────────────────────────── */
        .proj-modal {
            position: fixed;
            inset: 0;
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 40px 24px;
        }
        .proj-modal.open { display: flex; }
        .proj-modal-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(10,10,10,0.55);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            opacity: 0;
            animation: fade 0.35s ease forwards;
        }
        @keyframes fade { to { opacity: 1; } }
        .proj-modal-card {
            position: relative;
            width: min(1100px, 100%);
            max-height: calc(100vh - 80px);
            background: var(--modal-card);
            border: 1.5px solid var(--card-border);
            border-radius: 28px;
            overflow: hidden;
            display: grid;
            grid-template-columns: 1.1fr 1fr;
            box-shadow: 0 40px 120px var(--shadow);
            transform: translateY(30px) scale(0.97);
            opacity: 0;
            animation: pop 0.45s cubic-bezier(0.2,0.9,0.3,1.2) 0.05s forwards;
        }
        .project-modal-card {
            width: calc(100vw - 48px);
            height: calc(100svh - 48px);
            max-height: calc(100svh - 48px);
            grid-template-columns: minmax(0, 1.65fr) minmax(340px, 0.75fr);
            cursor: pointer;
            --pm-thumb-height: clamp(74px, 9svh, 108px);
            --pm-gallery-padding-y: 10px;
        }
        .service-modal-card {
            width: min(780px, calc(100vw - 120px));
            height: min(680px, calc(100svh - 48px));
            max-height: min(680px, calc(100svh - 48px));
            grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
        }
        @keyframes pop { to { opacity: 1; transform: none; } }

        /* ─── OUTER MODAL NAV ARROWS ─────────────────────── */
        .modal-card-wrap {
            position: relative;
            z-index: 1;
        }
        .modal-outer-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 4;
            background: none;
            border: none;
            padding: 8px;
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }
        .modal-outer-nav svg {
            width: 42px;
            height: 42px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.85;
            stroke-linecap: round;
            stroke-linejoin: round;
            filter: drop-shadow(0 2px 8px rgba(0,0,0,0.42));
        }
        .modal-outer-prev {
            right: calc(100% - 8px);
        }
        .modal-outer-next {
            left: calc(100% - 8px);
        }
        .modal-outer-prev svg polyline {
            animation: nav-arrow-prev 2s ease-in-out infinite;
            transform-box: fill-box;
            transform-origin: center;
        }
        .modal-outer-next svg polyline {
            animation: nav-arrow-next 2s ease-in-out infinite;
            transform-box: fill-box;
            transform-origin: center;
        }
        .modal-outer-nav:hover svg polyline { animation-duration: 1.2s; }

        .proj-modal-close {
            position: absolute;
            top: 18px; right: 18px;
            width: 42px; height: 42px;
            border-radius: 50%;
            background: var(--modal-card);
            color: var(--ink);
            border: 1.5px solid var(--card-border);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 5;
            transition: all 0.2s;
            -webkit-tap-highlight-color: transparent;
        }
        .proj-modal-close svg {
            width: 20px; height: 20px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2.2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .proj-modal-close .pm-back-icon {
            display: block;
            transform: translateX(-1px);
        }
        .proj-modal-close .pm-close-icon {
            display: none;
        }
        .proj-modal-close.suppress-hover:hover {
            background: var(--modal-card);
            border-color: var(--card-border);
            color: var(--ink);
        }
        .proj-modal-card.close-affordance-active .proj-modal-close {
            background: var(--ink);
            border-color: var(--ink);
            color: var(--bg);
        }
        .project-modal-card.fullscreen-affordance-active .pm-fullscreen-btn {
            background: var(--ink);
            border-color: var(--ink);
            color: var(--bg);
            transform: scale(1.04);
        }
        .proj-modal-hero {
            width: 100%;
            height: 100%;
            overflow: hidden;
            background: #f3f3f3;
            min-height: 360px;
            cursor: zoom-in;
            position: relative;
        }
        .project-modal-media {
            min-width: 0;
            min-height: 0;
            display: grid;
            grid-template-rows: minmax(0, 1fr) auto;
            position: relative;
            background: transparent;
        }
        .project-modal-card .proj-modal-hero {
            min-height: 0;
            height: auto;
            background: #0e0e0e;
            touch-action: pan-y pinch-zoom;
            cursor: zoom-in;
        }
        .pm-image-track {
            width: 300%;
            height: 100%;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            transform: translate3d(calc(-33.333333% + var(--pm-drag-offset, 0px)), 0, 0);
            will-change: transform;
            transition: transform 0.28s cubic-bezier(.22,.61,.36,1);
        }
        .pm-track-cell {
            height: 100%;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .pm-track-img {
            max-height: 100%;
            max-width: 100%;
            width: auto;
            height: auto;
            display: block;
        }
        .pm-hero-video {
            display: none;
            width: 100%;
            height: 100%;
            object-fit: contain;
            background: #000;
        }
        .proj-modal-hero.show-video .pm-image-track {
            display: none;
        }
        .proj-modal-hero.show-video .pm-hero-video {
            display: block;
        }
        .pm-image-action.pm-video-toggle {
            left: 18px;
            bottom: 18px;
            width: 38px;
            height: 38px;
            opacity: 0.78;
            z-index: 6;
        }
        .pm-video-toggle .pm-pause-icon,
        .pm-video-toggle.is-playing .pm-play-icon {
            display: none;
        }
        .pm-video-toggle svg {
            pointer-events: none;
        }
        .pm-video-toggle.is-playing .pm-pause-icon {
            display: block;
        }
        .pm-video-toggle[hidden] {
            display: none;
        }
        .pm-video-seek-wrap {
            position: absolute;
            left: 68px;
            right: 68px;
            bottom: 26px;
            z-index: 6;
            height: 22px;
            display: flex;
            align-items: center;
            opacity: 0.82;
        }
        .pm-video-seek-wrap[hidden] {
            display: none;
        }
        .pm-video-seek {
            width: 100%;
            height: 4px;
            border-radius: 999px;
            appearance: none;
            -webkit-appearance: none;
            background: linear-gradient(to right, rgba(255,255,255,0.9) var(--video-progress, 0%), rgba(255,255,255,0.25) var(--video-progress, 0%));
            cursor: pointer;
        }
        .pm-video-seek::-webkit-slider-thumb {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,0.5);
            background: #fff;
            appearance: none;
            -webkit-appearance: none;
            box-shadow: 0 2px 8px rgba(0,0,0,0.28);
        }
        .pm-video-seek::-moz-range-thumb {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,0.5);
            background: #fff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.28);
        }
        .pm-image-action {
            position: absolute;
            z-index: 4;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,0.22);
            background: rgba(10,10,10,0.5);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            transition: opacity 0.2s, background 0.2s, transform 0.2s;
            -webkit-tap-highlight-color: transparent;
        }
        .pm-image-action:disabled {
            display: none;
        }
        .pm-image-action svg {
            width: 19px;
            height: 19px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .pm-nav-btn svg polyline {
            transform-box: fill-box;
            transform-origin: center;
        }
        .pm-prev-btn svg polyline {
            animation: nav-arrow-prev 2s ease-in-out infinite;
        }
        .pm-next-btn svg polyline {
            animation: nav-arrow-next 2s ease-in-out infinite;
        }
        .pm-prev-btn:hover svg polyline,
        .pm-next-btn:hover svg polyline {
            animation-duration: 1.2s;
        }
        @keyframes nav-arrow-prev {
            0%, 100% { transform: translateX(0); }
            50%      { transform: translateX(-3px); }
        }
        @keyframes nav-arrow-next {
            0%, 100% { transform: translateX(0); }
            50%      { transform: translateX(3px); }
        }
        .pm-fullscreen-btn {
            top: 18px;
            right: 18px;
        }
        .pm-fullscreen-btn svg {
            width: 20px;
            height: 20px;
            stroke-width: 2.25;
        }
        .pm-nav-btn {
            top: 0;
            display: flex;
            width: clamp(132px, 18%, 270px);
            height: 100%;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
            opacity: 0.68;
            transform: none;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }
        .pm-prev-btn {
            left: 0;
            justify-content: flex-start;
            padding-left: 28px;
        }
        .pm-next-btn {
            right: 0;
            justify-content: flex-end;
            padding-right: 28px;
        }
        .project-modal-card .project-modal-media > .pm-nav-btn,
        .proj-modal.image-maximized .project-modal-media > .pm-nav-btn {
            display: none;
        }
        .pm-prev-btn svg {
            width: 42px;
            height: 42px;
            stroke-width: 1.85;
            filter: drop-shadow(0 2px 8px rgba(0,0,0,0.42));
            transform: translateX(-1px);
        }
        .pm-next-btn svg {
            width: 42px;
            height: 42px;
            stroke-width: 1.85;
            filter: drop-shadow(0 2px 8px rgba(0,0,0,0.42));
            transform: translateX(1px);
        }
        .proj-modal.image-maximized .pm-nav-btn { display: flex; }
        .project-modal-card.single-image .pm-nav-btn { display: none; }
        .proj-modal.image-maximized .project-modal-card {
            width: calc(100vw - 48px);
            height: calc(100svh - 48px);
            max-height: calc(100svh - 48px);
            grid-template-columns: 1fr;
            grid-template-rows: minmax(0, 1fr);
            flex: 0 0 auto;
        }
        .proj-modal.image-maximized .project-modal-media {
            min-height: 0;
            grid-template-rows: minmax(0, 1fr);
        }
        .proj-modal.image-maximized .proj-modal-hero {
            height: 100%;
            min-height: 0;
            max-height: none;
            cursor: zoom-out;
        }
        .proj-modal.image-maximized .pm-image-track,
        .proj-modal.image-maximized .pm-track-img {
            height: 100%;
            min-height: 0;
        }
        .proj-modal.image-maximized .proj-modal-hero {
            background: #000;
        }
        .proj-modal.image-maximized .proj-modal-body,
        .proj-modal.image-maximized .pm-gallery-shell,
        .proj-modal.image-maximized .pm-fullscreen-btn {
            display: none;
        }
        .proj-modal.image-maximized.video-active .pm-fullscreen-btn {
            display: flex;
        }
        @media (hover: hover) and (pointer: fine) {
            .proj-modal-close:hover,
            .proj-modal-card.close-affordance-active .proj-modal-close {
                background: var(--ink);
                border-color: var(--ink);
                color: var(--bg);
            }
            .pm-image-action:hover {
                background: rgba(10,10,10,0.72);
                transform: scale(1.04);
            }
            .pm-nav-btn:hover {
                background: transparent;
            }
            .pm-nav-btn:hover {
                opacity: 1;
                transform: none;
            }
        }
        .proj-modal-body {
            padding: 36px 36px 34px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            scrollbar-width: thin;
            scrollbar-color: color-mix(in srgb, var(--ink) 26%, transparent) transparent;
        }
        .proj-modal-body::-webkit-scrollbar {
            width: 6px;
        }
        .proj-modal-body::-webkit-scrollbar-track {
            background: transparent;
        }
        .proj-modal-body::-webkit-scrollbar-thumb {
            background: color-mix(in srgb, var(--ink) 22%, transparent);
            border-radius: 999px;
        }
        .proj-modal-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 12px;
        }
        .pm-cat {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--bg);
            background: var(--ink);
            padding: 6px 12px;
            border-radius: 999px;
            white-space: nowrap;
        }
        .pm-loc {
            font-size: 12px;
            font-weight: 600;
            color: var(--muted);
            letter-spacing: 0.2px;
        }
        .pm-title {

            font-size: 30px;
            font-weight: 500;
            letter-spacing: -1px;
            line-height: 1.1;
            color: var(--ink);
            margin-bottom: 12px;
        }
        .pm-desc {
            font-size: 15.5px;
            line-height: 1.62;
            color: var(--muted);
            margin-bottom: 18px;
        }
        .pm-stats {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 20px;
            padding: 16px 0;
            border-top: 1px solid var(--line);
            margin-bottom: 18px;
        }
        .pm-stat {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .pm-stat-v {
            font-size: 16px;
            font-weight: 700;
            color: var(--ink);
            letter-spacing: -0.3px;
        }
        .pm-stat-l {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 1.2px;
            text-transform: uppercase;
            color: var(--muted);
        }
        .pm-gallery-shell {
            position: relative;
            min-width: 0;
            background: transparent;
        }
        .pm-gallery-shell::before,
        .pm-gallery-shell::after {
            content: "";
            position: absolute;
            top: 0;
            bottom: 0;
            z-index: 2;
            width: 56px;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.2s;
        }
        .pm-gallery-shell::before {
            left: 0;
            background: linear-gradient(90deg, rgba(14,14,14,0.96), rgba(14,14,14,0));
        }
        .pm-gallery-shell::after {
            right: 0;
            background: linear-gradient(270deg, rgba(14,14,14,0.96), rgba(14,14,14,0));
        }
        .pm-gallery-shell.can-scroll-left::before,
        .pm-gallery-shell.can-scroll-right::after {
            opacity: 1;
        }
        .pm-gallery {
            display: grid;
            grid-auto-flow: column;
            grid-auto-columns: calc(var(--pm-thumb-height) * 1.42);
            grid-template-columns: none;
            gap: 10px;
            overflow-x: auto;
            padding: var(--pm-gallery-padding-y) 14px;
            background: transparent;
            scrollbar-width: none;
            touch-action: pan-x pan-y pinch-zoom;
            overscroll-behavior-x: contain;
            -webkit-overflow-scrolling: touch;
        }
        .pm-gallery::-webkit-scrollbar {
            display: none;
        }
        .pm-gallery-scroll {
            position: absolute;
            top: 50%;
            z-index: 3;
            width: 32px;
            height: 32px;
            border: 1px solid rgba(255,255,255,0.22);
            border-radius: 50%;
            background: rgba(14,14,14,0.68);
            color: #fff;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transform: translateY(-50%);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            transition: background 0.2s, opacity 0.2s;
        }
        .pm-gallery-scroll svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .pm-gallery-scroll-prev {
            left: 12px;
        }
        .pm-gallery-scroll-next {
            right: 12px;
        }
        .pm-gallery-shell.can-scroll-left .pm-gallery-scroll-prev,
        .pm-gallery-shell.can-scroll-right .pm-gallery-scroll-next {
            display: flex;
        }
        .pm-gallery-scroll:hover {
            background: rgba(14,14,14,0.86);
        }
        .pm-gallery img,
        .pm-gallery button {
            width: 100%;
            height: var(--pm-thumb-height);
            aspect-ratio: auto;
            object-fit: cover;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.3s, opacity 0.2s;
            border: 1.5px solid transparent;
        }
        .pm-gallery button {
            position: relative;
            padding: 0;
            overflow: hidden;
            background: #111;
            color: #fff;
            font: inherit;
        }
        .pm-gallery button img {
            width: 100%;
            height: 100%;
            border: 0;
            border-radius: 0;
            opacity: 0.72;
        }
        .pm-gallery .pm-video-thumb-icon {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .pm-gallery .pm-video-thumb-icon svg {
            width: 24px;
            height: 24px;
            fill: #fff;
            filter: drop-shadow(0 2px 8px rgba(0,0,0,0.45));
        }
        .pm-gallery img:hover,
        .pm-gallery button:hover {
            transform: scale(1.04);
            opacity: 0.92;
        }
        .pm-gallery img.active,
        .pm-gallery button.active {
            border-color: var(--ink);
        }
        body.modal-open { overflow: hidden; }

        @media (max-width: 900px) {
            .proj-modal {
                padding: 16px;
            }
            .team-modal {
                padding: 16px;
            }
            .proj-modal-card {
                grid-template-columns: 1fr;
                max-height: calc(100vh - 60px);
                overflow-y: auto;
            }
            .project-modal-card,
            .service-modal-card,
            .team-modal-card {
                width: min(100%, 620px);
                height: calc(100svh - 32px);
                max-height: calc(100svh - 32px);
                grid-template-rows: minmax(0, auto) minmax(0, 1fr);
                overflow: hidden;
            }
            .project-modal-card .proj-modal-body,
            .service-modal-card .proj-modal-body,
            .team-modal-card .team-modal-body {
                min-height: 0;
                overflow-y: auto;
            }
            .proj-modal-hero { min-height: 260px; max-height: 320px; }
            .project-modal-card .proj-modal-hero,
            .service-modal-card .proj-modal-hero,
            .team-modal-card .team-modal-photo {
                height: clamp(250px, 46svh, 430px);
                max-height: none;
            }
            .proj-modal-body { padding: 32px 28px; }
            .team-modal-body { padding: 32px 28px; }
            .pm-title { font-size: 26px; }
        }

        /* ─── CONTACT ─────────────────────────────────── */
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1.5px solid var(--card-border);
            border-radius: 24px;
            padding: 56px;
            transition: background 0.35s, border-color 0.35s;
        }
        .contact-title {

            font-size: clamp(32px, 4vw, 42px);
            font-weight: 400;
            letter-spacing: -1.5px;
            line-height: 1.05;
            margin-bottom: 18px;
        }
        .contact-desc {
            font-size: 16px;
            line-height: 1.62;
            color: var(--muted);
            margin-bottom: 30px;
        }
        /* Direct call card */
        .call-card {
            position: relative;
            background: linear-gradient(135deg, rgba(245,201,155,0.28), rgba(234,182,232,0.22));
            border: 1.5px solid var(--card-border);
            border-radius: 18px;
            padding: 24px 26px 26px;
            margin-bottom: 38px;
            overflow: hidden;
            transition: background 0.35s, border-color 0.35s, transform 0.3s, box-shadow 0.3s;
        }
        body.dark .call-card {
            background: linear-gradient(135deg, rgba(138,90,46,0.28), rgba(93,43,88,0.28));
        }
        .call-card:hover {
            transform: translateY(-3px);
            border-color: var(--ink);
            box-shadow: 0 18px 44px var(--shadow);
        }
        .call-card-eyebrow {
            display: block;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--muted);
            margin-bottom: 14px;
        }
        .call-num-row {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 14px;
            flex-wrap: wrap;
        }
        .call-card-num {
            font-size: 26px;
            font-weight: 700;
            letter-spacing: -0.8px;
            color: var(--ink);
            text-decoration: none;
            line-height: 1.1;
        }
        .call-copy-btn {
            position: relative;
            width: 38px; height: 38px;
            border-radius: 50%;
            border: 1.5px solid var(--card-border);
            background: var(--card-bg);
            color: var(--ink);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s, border-color 0.2s, transform 0.2s;
            padding: 0;
        }
        .call-copy-btn:hover {
            border-color: var(--ink);
            transform: scale(1.06);
        }
        .call-copy-btn svg {
            width: 16px; height: 16px;
            stroke: currentColor;
            fill: none;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: opacity 0.2s, transform 0.2s;
        }
        .call-copy-btn .ic-check { position: absolute; opacity: 0; transform: scale(0.6); }
        .call-copy-btn.copied .ic-copy { opacity: 0; transform: scale(0.6); }
        .call-copy-btn.copied .ic-check { opacity: 1; transform: scale(1); color: #10b981; }
        .call-copy-btn .copy-tip {
            position: absolute;
            bottom: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%) translateY(4px);
            background: var(--ink);
            color: var(--bg);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.5px;
            padding: 6px 10px;
            border-radius: 6px;
            white-space: nowrap;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.2s, transform 0.2s;
        }
        .call-copy-btn.copied .copy-tip {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
        .call-card-desc {
            font-size: 15px;
            line-height: 1.6;
            color: var(--muted);
            margin-bottom: 18px;
            max-width: 360px;
        }
        .call-card-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 10px 22px;
            background: var(--ink);
            color: var(--bg);
            border: 1.5px solid var(--ink);
            border-radius: 10px;
            font-family: inherit;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.3px;
            text-decoration: none;
            cursor: pointer;
            transition: transform 0.25s ease, opacity 0.2s;
        }
        .call-card-btn:hover { transform: scale(1.03); opacity: 0.92; }
        .call-card-btn svg {
            width: 16px; height: 16px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .call-card-btn .ic-wave {
            width: 2px; height: 2px;
            background: currentColor;
            border-radius: 50%;
            display: inline-block;
            position: relative;
            margin-left: 2px;
        }
        .call-card-btn .ic-wave::before,
        .call-card-btn .ic-wave::after {
            content: '';
            position: absolute;
            left: 50%; top: 50%;
            border: 1.6px solid currentColor;
            border-left-color: transparent;
            border-bottom-color: transparent;
            border-radius: 50%;
            transform: translate(-50%,-50%) rotate(45deg);
            animation: wave-out 1.8s ease-out infinite;
            opacity: 0;
        }
        .call-card-btn .ic-wave::before { width: 10px; height: 10px; }
        .call-card-btn .ic-wave::after  { width: 16px; height: 16px; animation-delay: 0.6s; }
        @keyframes wave-out {
            0%   { opacity: 0.9; transform: translate(-50%,-50%) rotate(45deg) scale(0.4); }
            80%  { opacity: 0; }
            100% { opacity: 0; transform: translate(-50%,-50%) rotate(45deg) scale(1.2); }
        }
        .call-card-social {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }
        .call-card-social a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            flex: 0 0 38px;
            border: 1.5px solid rgba(255,255,255,0.25);
            border-radius: 50%;
            color: var(--ink);
            opacity: 0.65;
            overflow: hidden;
            transition: opacity .2s ease, border-color .2s ease;
        }
        .call-card-social a:hover {
            opacity: 1;
            border-color: var(--ink);
        }
        .call-card-social svg {
            width: 17px;
            height: 17px;
            max-width: 17px;
            max-height: 17px;
            flex: 0 0 17px;
            display: block;
        }

        .contact-items { display: flex; flex-direction: column; gap: 14px; flex: 0 0 auto; }
        .contact-items > * { flex: 0 0 auto; }
        .ci {
            display: flex;
            align-items: center;
            gap: 18px;
            min-height: 42px;
        }
        .ci-icon {
            width: 42px; height: 42px;
            border-radius: 50%;
            border: 1.5px solid var(--ink);
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0;
        }
        .ci-icon svg {
            width: 18px; height: 18px;
            stroke: var(--ink);
            fill: none;
            stroke-width: 1.6;
        }
        .ci-label {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--muted);
            margin-bottom: 3px;
        }
        .ci-val {
            font-size: 16px;
            font-weight: 600;
            color: var(--ink);
            text-decoration: none;
        }
        a.ci-val:hover { text-decoration: underline; }
        .ci-maps-row {
            text-decoration: none;
            border-radius: 10px;
            margin: 0;
            padding: 0;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            gap: 18px;
        }
        .ci-maps-row:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
        .ci-maps-arrow {
            width: 16px; height: 16px;
            stroke: var(--ink);
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            margin-left: auto;
            opacity: 0.45;
            transition: opacity 0.2s, transform 0.2s;
        }
        .ci-maps-row:hover .ci-maps-arrow { opacity: 1; transform: translateX(3px); }

        /* form */
        .contact-grid { align-items: stretch; }
        .contact-left { display: flex; flex-direction: column; }
        .form-wrap {
            display: flex;
            flex-direction: column;
            gap: 18px;
            height: 100%;
        }
        .fg-grow { display: flex; flex-direction: column; flex: 1; min-height: 0; }
        .fg-grow textarea { flex: 1; min-height: 140px; height: auto; }
        .fg label {
            display: block;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--muted);
            margin-bottom: 8px;
        }
        .fg input,
        .fg textarea,
        .fg select {
            width: 100%;
            background: var(--input-bg);
            border: 1.5px solid var(--card-border);
            border-radius: 12px;
            padding: 12px 16px;
            font-family: inherit;
            font-size: 15.5px;
            color: var(--ink);
            outline: none;
            transition: border-color 0.2s, background 0.2s;
            resize: none;
            -webkit-appearance: none;
        }
        .fg input:focus,
        .fg textarea:focus,
        .fg select:focus {
            border-color: var(--ink);
        }
        .fg input::placeholder, .fg textarea::placeholder { color: var(--muted); opacity: 0.7; }
        .fg textarea { height: 120px; }
        .form-btn {
            margin-top: 8px;
            padding: 13px;
            background: var(--ink);
            color: var(--bg);
            border: 1.5px solid var(--ink);
            border-radius: 10px;
            font-family: inherit;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.3px;
            text-transform: none;
            cursor: pointer;
            transition: transform 0.2s, opacity 0.2s;
        }
        .form-btn:hover { transform: scale(1.02); opacity: 0.85; }
        .form-btn:disabled { cursor: wait; opacity: 0.7; transform: none; }

        /* ─── SCROLL TO TOP BUTTON ────────────────────── */
        .scroll-to-top {
            position: fixed;
            bottom: 32px;
            right: 32px;
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: var(--ink);
            color: var(--bg);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 99;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.3s, transform 0.3s;
            pointer-events: none;
            box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        }
        body.dark .scroll-to-top {
            box-shadow: 0 4px 20px rgba(0,0,0,0.4);
        }
        @media (hover: hover) and (pointer: fine) {
            .scroll-to-top:hover {
                opacity: 0.85;
            }
        }
        .scroll-to-top.visible {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }
        .scroll-to-top svg {
            width: 20px;
            height: 20px;
        }

        /* ─── FOOTER ──────────────────────────────────── */
        .site-footer {
            position: relative;
            z-index: 10;
            border-top: 1.5px solid var(--line);
            padding: 44px 24px 38px;
            color: var(--muted);
        }
        .footer-inner {
            max-width: 1080px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            gap: 18px;
            text-align: center;
            font-size: 13px;
        }
        .footer-brand {
            width: 100%;
            max-width: 720px;
        }
        .footer-brand strong {
            color: var(--ink);
            font-weight: 700;
            letter-spacing: 0.02em;
        }
        .footer-brand p {
            margin: 10px auto 0;
            max-width: 680px;
            color: var(--muted);
            line-height: 1.7;
        }
        .footer-links,
        .footer-contact {
            font-style: normal;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            width: 100%;
            gap: 10px 22px;
            align-items: center;
        }
        .footer-links a,
        .footer-contact a {
            color: inherit;
            text-decoration: none;
        }
        .footer-links a {
            color: var(--ink);
            font-weight: 650;
        }
        .footer-links a:hover,
        .footer-contact a:hover { color: var(--ink); }
        .footer-social {
            display: flex;
            justify-content: center;
            gap: 16px;
            width: 100%;
        }
        .footer-social a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border: 1.5px solid var(--line);
            border-radius: 50%;
            color: var(--muted);
            transition: color .2s ease, border-color .2s ease;
        }
        .footer-social a:hover {
            color: var(--ink);
            border-color: var(--ink);
        }
        .footer-social svg {
            width: 19px;
            height: 19px;
        }
        .footer-legal {
            width: 100%;
            color: color-mix(in srgb, var(--muted), transparent 10%);
            font-size: 12px;
        }
        .footer-bottom {
            width: 100%;
            color: color-mix(in srgb, var(--muted), transparent 18%);
            font-size: 12px;
        }

        /* ─── ANIMATIONS ──────────────────────────────── */
        @keyframes fade-in {
            from { opacity: 0; }
            to   { opacity: 1; }
        }
        @keyframes fade-up {
            from { opacity: 0; transform: translateY(28px); }
            to   { opacity: 1; transform: none; }
        }
        .reveal {
            opacity: 0;
            transform: translateY(32px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }
        .reveal.visible { opacity: 1; transform: none; }

        @media (min-width: 1025px) and (max-height: 950px) {
            html { scroll-padding-top: 108px; }
            #nav { padding-block: 18px; }
            #architekt-chojnice {
                min-height: 100vh;
                min-height: 100svh;
                padding: 80px 24px 80px;
            }
            .hero-title {
                font-size: clamp(60px, 6.8vw, 98px);
                margin-bottom: 20px;
            }
            .hero-sub {
                font-size: 19px;
                line-height: 1.55;
                margin-bottom: 34px;
            }
            .section {
                padding-top: 88px;
                padding-bottom: 88px;
            }
            .section-head,
            .projects-head {
                margin-bottom: 46px;
            }
            .h2 {
                font-size: clamp(32px, 3.55vw, 50px);
                line-height: 1.07;
            }
            .h2-sub {
                font-size: 16px;
                margin-top: 14px;
            }
            .btn-pill {
                padding: 18px 40px 18px 46px;
                font-size: 16px;
            }
            .service-card {
                padding: 30px 28px;
            }
            .service-num {
                margin-bottom: 18px;
            }
            .service-desc {
                margin-bottom: 22px;
            }
            .team-info {
                padding: 20px 22px 24px;
            }
            .contact-grid {
                padding: 46px;
            }
            .project-modal-card {
                height: calc(100svh - 48px);
                max-height: calc(100svh - 48px);
            }
            .service-modal-card,
            .team-modal-card {
                height: min(680px, calc(100svh - 48px));
                max-height: min(680px, calc(100svh - 48px));
            }
        }

        @media (max-width: 940px) {
            .modal-outer-prev { right: auto; left: 20px; top: clamp(125px, 23svh, 215px); }
            .modal-outer-next { left: auto; right: 20px; top: clamp(125px, 23svh, 215px); }
        }

        /* ─── RESPONSIVE ──────────────────────────────── */
        @media (max-width: 1024px) {
            :root { --nav-control-height: 40px; }
            .nav-links { display: none; }
            #nav { padding: 20px 24px; }
            .section { padding: 96px 28px; }
            .services-grid { grid-template-columns: 1fr; }
            .projects-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
            .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 760px; margin: 0 auto; }
            .contact-grid { grid-template-columns: 1fr; padding: 40px 28px; gap: 40px; }
            .site-footer { padding: 34px 24px; }
            .footer-inner { gap: 16px; }
            .footer-contact { flex-direction: column; gap: 6px; }
            .nav-left { gap: 6px; }
            .nav-right { gap: 6px; }
            .site-logo {
                width: calc(var(--nav-control-height) * 1.5);
                height: var(--nav-control-height);
                margin-right: 4px;
            }
            .btn-nav-ghost { padding: 9px 16px; font-size: 12px; }
            .btn-nav-solid { padding: 9px 16px; font-size: 12px; }
            .scroll-to-top { width: 44px; height: 44px; bottom: 24px; right: 24px; }
        }
        @media (max-width: 680px) {
            .projects-grid { grid-template-columns: 1fr; gap: 32px; }
            .proj-modal {
                padding: 10px;
            }
            .proj-modal-close {
                top: auto;
                left: auto;
                bottom: 14px;
                right: 14px;
                width: 40px;
                height: 40px;
            }
            .project-modal-card {
                width: 100%;
                height: calc(100svh - 20px);
                max-height: calc(100svh - 20px);
                border-radius: 22px;
                --pm-thumb-height: clamp(64px, 8svh, 82px);
                --pm-gallery-padding-y: 8px;
            }
            .project-modal-card .proj-modal-hero {
                height: clamp(236px, 43svh, 360px);
            }
            .service-modal-card .proj-modal-hero {
                aspect-ratio: 4 / 3;
                height: auto;
                min-height: 0;
                max-height: 38svh;
            }
            .project-modal-card .proj-modal-body {
                padding: 24px 22px 26px;
            }
            .proj-modal-meta {
                gap: 8px;
                margin-bottom: 12px;
                flex-wrap: wrap;
            }
            .pm-cat {
                font-size: 9px;
                letter-spacing: 1.1px;
                padding: 5px 10px;
            }
            .pm-loc {
                font-size: 11px;
            }
            .pm-title {
                font-size: clamp(24px, 7.4vw, 30px);
                letter-spacing: 0;
                margin-bottom: 12px;
            }
            .pm-desc {
                font-size: 14px;
                line-height: 1.55;
                margin-bottom: 18px;
            }
            .pm-stats {
                gap: 18px;
                padding: 16px 0;
                margin-bottom: 0;
            }
            .pm-stat-v {
                font-size: 17px;
            }
            .pm-stat-l {
                font-size: 9px;
                letter-spacing: 1px;
            }
            .pm-gallery {
                grid-auto-columns: calc(var(--pm-thumb-height) * 1.42);
                gap: 8px;
                padding: 8px 10px;
            }
            .pm-fullscreen-btn {
                top: 14px;
                right: 14px;
                width: 40px;
                height: 40px;
            }
            .pm-nav-btn {
                top: 0;
                width: clamp(64px, 18vw, 92px);
                height: 100%;
                transform: none;
            }
            .pm-prev-btn {
                left: 0;
                padding-left: 18px;
            }
            .pm-next-btn {
                right: 0;
                padding-right: 18px;
            }
            :root { --nav-control-height: 36px; }
            .lang-switch { height: var(--nav-control-height); }
            .lang-btn { padding: 6px 9px; font-size: 10px; }
            .theme-btn { width: var(--nav-control-height); height: var(--nav-control-height); }
            .site-logo {
                width: calc(var(--nav-control-height) * 1.5);
                height: var(--nav-control-height);
                margin-right: 2px;
            }
            .btn-nav-ghost,
            .btn-nav-solid {
                display: none;
            }
            .btn-nav-mobile-contact {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-height: 36px;
                padding: 8px 12px;
                border-radius: 10px;
                font-size: 11px;
                letter-spacing: 0.2px;
                white-space: nowrap;
            }
        }

        @media (max-width: 680px) and (orientation: portrait) {
            .proj-modal.image-maximized .project-modal-card {
                width: calc(var(--pm-vw, 100vw) - 20px) !important;
                height: calc(var(--pm-vh, 100vh) - 20px) !important;
                max-height: none !important;
                border-radius: 22px;
                opacity: 1;
                animation: none;
                transform: none !important;
            }
            .proj-modal.image-maximized .pm-prev-btn,
            .proj-modal.image-maximized .pm-next-btn {
                top: 0;
                height: 100%;
                transform: none;
            }
            .proj-modal.image-maximized .pm-track-img {
                width: 100%;
                height: auto;
                max-width: 100%;
            }
        }

        @media (max-width: 680px) and (orientation: landscape) {
            .project-modal-card .project-modal-media {
                grid-template-rows: minmax(0, 1fr);
            }
            .project-modal-card .proj-modal-hero {
                height: auto;
                max-height: none;
            }
        }

        @media (max-width: 900px) and (orientation: landscape) {
            .proj-modal {
                padding: 10px 16px;
            }
            .project-modal-card {
                width: min(100%, calc(100vw - 32px));
                height: calc(100svh - 32px);
                max-height: calc(100svh - 32px);
                grid-template-columns: minmax(0, 1.55fr) minmax(232px, 0.85fr);
                grid-template-rows: minmax(0, 1fr);
                border-radius: 20px;
                --pm-thumb-height: clamp(58px, 12svh, 82px);
            }
            .project-modal-card .project-modal-media {
                min-height: 0;
                grid-template-rows: minmax(0, 1fr) auto;
            }
            .project-modal-card .proj-modal-hero {
                height: auto;
                min-height: 0;
                max-height: none;
            }
            .project-modal-card .pm-gallery {
                display: grid;
                grid-auto-columns: calc(var(--pm-thumb-height) * 1.42);
                gap: 8px;
                padding: 8px 12px;
            }
            .project-modal-card .proj-modal-body {
                min-height: 0;
                padding: 28px 24px 24px;
                overflow-y: auto;
            }
            .project-modal-card .pm-title {
                font-size: clamp(24px, 4.4vw, 34px);
                margin-bottom: 16px;
            }
            .project-modal-card .pm-desc {
                font-size: 14px;
                line-height: 1.55;
                margin-bottom: 20px;
            }
            .project-modal-card .pm-stats {
                gap: 16px;
                padding: 16px 0 0;
            }
            .project-modal-card .pm-fullscreen-btn {
                display: flex;
                top: 14px;
                right: 14px;
            }
            .project-modal-card .proj-modal-close {
                top: 14px;
                right: 14px;
                width: 40px;
                height: 40px;
            }
            .proj-modal.image-maximized .project-modal-card {
                width: calc(var(--pm-vw, 100vw) - 20px) !important;
                height: calc(var(--pm-vh, 100vh) - 20px) !important;
                max-height: none !important;
                grid-template-columns: 1fr;
                grid-template-rows: minmax(0, 1fr);
                border-radius: 22px;
                opacity: 1;
                animation: none;
                transform: none !important;
            }
            .proj-modal.image-maximized .proj-modal-hero {
                background: #000;
            }
        }

        @media (max-width: 360px) {
            #nav { padding-inline: 14px; }
            .btn-nav-mobile-contact {
                padding-inline: 10px;
                font-size: 10px;
            }
        }

        @media (max-width: 720px) {
            html { scroll-padding-top: 92px; }
            body {
                letter-spacing: 0;
                text-size-adjust: 100%;
                -webkit-text-size-adjust: 100%;
            }
            #nav {
                padding: 16px 20px;
                background: rgba(255,255,255,0.9);
                border-bottom-color: var(--line);
            }
            body.dark #nav { background: rgba(10,10,10,0.92); }
            #nav.scrolled,
            body.dark #nav.scrolled {
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
                box-shadow: none;
            }
            .blobs {
                position: absolute;
                height: 1600px;
            }
            .blob {
                filter: blur(42px);
                animation: none !important;
                will-change: auto;
            }
            .blob-1 { width: 360px; height: 360px; left: -160px; top: 120px; }
            .blob-2 { width: 420px; height: 360px; right: -210px; top: 80px; }
            .blob-3 { width: 340px; height: 340px; left: 18%; bottom: auto; top: 760px; }
            .blob-4 { display: none; }
            #architekt-chojnice {
                min-height: 100vh;
                min-height: 100svh;
                justify-content: center;
                padding: 96px 22px 56px;
            }
            .hero-title {
                font-size: clamp(46px, 16vw, 68px);
                letter-spacing: 0;
                line-height: 1.04;
                margin-bottom: 24px;
                max-width: 100%;
            }
            .hero-sub {
                font-size: 17px;
                line-height: 1.55;
                margin-bottom: 36px;
                max-width: 34rem;
            }
            .btn-pill {
                width: auto;
                max-width: min(100%, 280px);
                padding: 15px 28px;
                font-size: 13px;
                letter-spacing: 1px;
            }
            .section {
                padding: 76px 18px;
                width: 100%;
            }
            .section-head,
            .projects-head {
                margin-bottom: 44px;
            }
            .h2 {
                font-size: clamp(25px, 7vw, 30px);
                letter-spacing: 0;
                line-height: 1.08;
            }
            .h2-sub {
                font-size: 16px;
                line-height: 1.6;
            }
            #uslugi-architektoniczne .section-head {
                margin-bottom: 24px;
            }
            #uslugi-architektoniczne .h2-sub {
                display: none;
            }
            .service-card,
            .team-card,
            .contact-grid {
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
            }
            .service-card {
                padding: 34px 24px;
                border-radius: 18px;
            }
            .service-name {
                font-size: clamp(30px, 10vw, 40px);
                letter-spacing: 0;
            }
            .services-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            .service-card {
                display: grid;
                grid-template-columns: minmax(0, 1fr) auto;
                align-items: center;
                min-height: 64px;
                padding: 14px 16px;
                border-radius: 14px;
            }
            .service-card:hover {
                transform: none;
                box-shadow: none;
            }
            .service-num,
            .service-desc {
                display: none;
            }
            .service-name {
                font-size: 19px;
                line-height: 1.15;
                margin-bottom: 0;
            }
            .service-name br {
                display: none;
            }
            .service-arrow {
                width: 34px;
                height: 34px;
            }
            .service-arrow svg {
                width: 15px;
                height: 15px;
            }
            .team-grid {
                gap: 10px;
                max-width: none;
            }
            .team-card {
                border-radius: 14px;
            }
            .team-photo-wrap {
                aspect-ratio: 16 / 10;
            }
            .team-initials {
                font-size: 36px;
                letter-spacing: -1px;
            }
            .team-info {
                padding: 10px;
            }
            .team-role {
                display: none;
                font-size: 8px;
                line-height: 1.25;
                letter-spacing: 0.7px;
                margin-bottom: 6px;
            }
            .team-name {
                font-size: 15px;
                line-height: 1.12;
                letter-spacing: 0;
                margin-bottom: 0;
            }
            .team-bio {
                display: none;
            }
            .team-expand {
                width: 28px;
                height: 28px;
                margin-top: 8px;
                border-width: 1px;
            }
            .team-expand svg {
                width: 13px;
                height: 13px;
            }
            .projects-grid { gap: 28px; }
            .proj-img { border-radius: 16px; }
            .proj-name { font-size: 16px; }
            .contact-grid {
                padding: 26px 18px;
                gap: 32px;
                border-radius: 22px;
                overflow: hidden;
            }
            .contact-title {
                font-size: clamp(31px, 9.2vw, 40px);
                letter-spacing: 0;
                line-height: 1.12;
                max-width: 100%;
            }
            .contact-desc {
                font-size: 15px;
                line-height: 1.65;
                margin-bottom: 26px;
            }
            .call-card {
                padding: 24px 18px;
                border-radius: 18px;
                margin-bottom: 24px;
            }
            .call-card-eyebrow {
                font-size: 10px;
                letter-spacing: 1.4px;
            }
            .call-num-row {
                display: grid;
                grid-template-columns: 1fr;
                align-items: start;
                gap: 12px;
            }
            .call-card-num {
                font-size: clamp(22px, 7vw, 30px);
                letter-spacing: 0;
                white-space: nowrap;
            }
            .call-copy-btn { width: 42px; height: 42px; }
            .call-card-desc {
                font-size: 15px;
                max-width: none;
            }
            .call-card-btn {
                width: 100%;
                justify-content: center;
                padding: 14px 18px;
            }
            .ci {
                gap: 14px;
                align-items: center;
            }
            .ci-val {
                font-size: 15px;
                overflow-wrap: anywhere;
            }
            .form-wrap {
                gap: 14px;
            }
            .fg input,
            .fg textarea,
            .fg select {
                font-size: 16px;
                padding: 13px 14px;
            }
            .scroll-to-top {
                width: 42px;
                height: 42px;
                right: 14px;
                bottom: 14px;
                border-radius: 10px;
            }
            .site-footer {
                padding: 24px 18px 72px;
            }
        }

        @media (orientation: landscape) and (max-width: 1024px) and (max-height: 560px) {
            html { scroll-padding-top: 82px; }
            #nav {
                padding: 10px 24px;
                background: rgba(255,255,255,0.9);
                border-bottom-color: var(--line);
            }
            body.dark #nav { background: rgba(10,10,10,0.92); }
            .site-logo {
                width: calc(var(--nav-control-height) * 1.5);
                height: var(--nav-control-height);
                margin-right: 2px;
            }
            :root { --nav-control-height: 36px; }
            .lang-switch { height: var(--nav-control-height); }
            .lang-btn {
                padding: 6px 10px;
                font-size: 10px;
            }
            .theme-btn {
                width: var(--nav-control-height);
                height: var(--nav-control-height);
                padding: 8px;
            }
            .btn-nav-ghost,
            .btn-nav-solid {
                display: none;
            }
            .btn-nav-mobile-contact {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-height: 36px;
                padding: 8px 14px;
                font-size: 11px;
                white-space: nowrap;
            }
            #architekt-chojnice {
                min-height: 100vh;
                min-height: 100svh;
                padding: 76px 28px 16px;
            }
            .hero-title {
                font-size: clamp(46px, 7.4vw, 68px);
                letter-spacing: 0;
                line-height: 1.02;
                margin-bottom: 18px;
            }
            .hero-sub {
                font-size: clamp(15px, 2.25vw, 17px);
                line-height: 1.42;
                max-width: 600px;
                margin-bottom: 22px;
            }
            .btn-pill {
                width: auto;
                max-width: none;
                padding: 15px 28px;
                font-size: 12px;
                letter-spacing: 1px;
            }
            .section {
                padding-top: 48px;
                padding-bottom: 48px;
            }
            .section-head,
            .projects-head {
                max-width: none;
                margin-bottom: 28px;
            }
            .eyebrow {
                font-size: 10px;
                letter-spacing: 3px;
            }
            .h2 {
                font-size: clamp(25px, 4.4vw, 30px);
                line-height: 1.08;
            }
            .projects-head .h2 {
                white-space: nowrap;
            }
            .h2-sub {
                font-size: 14px;
                line-height: 1.4;
                margin-top: 12px;
            }
            .services-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 10px;
            }
            .service-card {
                min-height: 70px;
                padding: 14px 16px;
            }
            .service-name {
                font-size: 18px;
            }
        }

        @media (orientation: landscape) and (max-width: 1024px) and (max-height: 420px) {
            #nav { padding-block: 8px; }
            #architekt-chojnice { padding-top: 62px; }
            .hero-title {
                font-size: clamp(42px, 6.7vw, 56px);
                margin-bottom: 14px;
            }
            .hero-sub {
                font-size: 14px;
                line-height: 1.38;
                max-width: 560px;
                margin-bottom: 18px;
            }
            .btn-pill {
                padding: 13px 24px;
                font-size: 12px;
            }
            .section {
                padding-top: 40px;
                padding-bottom: 40px;
            }
            .section-head,
            .projects-head {
                margin-bottom: 22px;
            }
            .h2 {
                font-size: clamp(24px, 4.2vw, 29px);
            }
            .h2-sub {
                display: none;
            }
            .services-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 8px;
            }
            .service-card {
                min-height: 60px;
                padding: 12px 14px;
            }
            .service-name {
                font-size: 17px;
            }
            .service-arrow {
                width: 32px;
                height: 32px;
            }
        }

        @media (max-width: 380px) {
            .contact-grid { padding: 22px 14px; }
            .call-card { padding: 22px 14px; }
            .call-card-num { font-size: clamp(21px, 6.8vw, 26px); }
        }

        @media (prefers-reduced-motion: reduce), (max-width: 720px) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
            .reveal,
            .hero-title,
            .hero-sub,
            .btn-pill {
                opacity: 1;
                transform: none;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                scroll-behavior: auto !important;
            }
        }

        @media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
            .btn-pill svg {
                animation: arrow-bounce 2s ease-in-out infinite !important;
                animation-duration: 2s !important;
                animation-iteration-count: infinite !important;
            }
            .btn-pill:hover svg {
                animation: arrow-bounce-hover 1.2s ease-in-out infinite !important;
                animation-duration: 1.2s !important;
                animation-iteration-count: infinite !important;
            }
            .pm-prev-btn svg polyline {
                animation: nav-arrow-prev 2s ease-in-out infinite !important;
                animation-duration: 2s !important;
                animation-iteration-count: infinite !important;
            }
            .pm-next-btn svg polyline {
                animation: nav-arrow-next 2s ease-in-out infinite !important;
                animation-duration: 2s !important;
                animation-iteration-count: infinite !important;
            }
        }

        /* ═══ FAQ ══════════════════════════════════════════════════════ */
        .faq-list {
            max-width: 760px;
            margin: 0 auto;
        }
        .faq-item {
            border-bottom: 1px solid var(--line);
            padding-block: 4px;
        }
        .faq-q {
            display: block;
            list-style: none;
            cursor: pointer;
            padding: 22px 44px 22px 0;
            position: relative;
            font-size: clamp(1rem, 2vw, 1.15rem);
            font-weight: 500;
            color: var(--ink);
        }
        .faq-q::-webkit-details-marker { display: none; }
        .faq-q::marker {
            content: "";
            font-size: 0;
        }
        .faq-q::after {
            content: "+";
            position: absolute;
            right: 4px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.5rem;
            font-weight: 300;
            color: var(--muted);
            transition: transform .25s ease;
        }
        .faq-item[open] .faq-q::after {
            transform: translateY(-50%) rotate(45deg);
        }
        .faq-item[open] .faq-q {
            padding-bottom: 10px;
        }
        .faq-a {
            margin: 2px 0 0;
            padding: 6px 44px 24px 0;
            color: var(--muted);
            line-height: 1.7;
            max-width: 64ch;
        }

        @media (max-width: 680px) {
            .faq-item {
                padding-block: 8px;
            }
            .faq-q {
                padding: 14px 34px 10px 0;
                line-height: 1.32;
            }
            .faq-item[open] .faq-q {
                padding-bottom: 12px;
            }
            .faq-a {
                padding: 6px 0 20px 0;
                font-size: 15px;
                line-height: 1.62;
            }
        }
