html {
            overflow-x: hidden;
        }

        body {
            background-color: #ffffff;
            color: #000000;
            font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            -webkit-font-smoothing: antialiased;
        }

        h1, h2, h3, .serif { font-family: Georgia, "Times New Roman", serif; }
        .mono { font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* Type scale tokens */
        :root {
            --t-eyebrow: 16px; --t-caption: 17px; --t-label: 19px;
            --t-body: 20px;    --t-body-lg: 22px;
            --o-ambient: 0.20; --o-meta: 0.30; --o-secondary: 0.50; --o-primary: 0.65;
        }

        footer {
            background-color: #ffffff;
            color: #000000;
            padding: 40px 5%;
            position: relative;
            z-index: 1200;
            border-top: 1px solid rgba(0,0,0,0.06);
            overflow: visible;
        }

        .footer-inner { gap: 28px; }
        .footer-brand,
        .footer-year { flex-shrink: 0; }
        .footer-groups { flex-wrap: wrap; justify-content: center; row-gap: 14px; }
        .footer-column-trigger { position: relative; cursor: default; padding: 0 0 8px; }
        .footer-column-title {
            font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
            font-size: 8px;
            text-transform: uppercase;
            letter-spacing: 0.3em;
            opacity: 0.35;
            transition: opacity 0.2s;
        }
        .footer-column-trigger:hover .footer-column-title,
        .footer-column-trigger:focus-within .footer-column-title { opacity: 1; }
        .footer-submenu {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 7px;
            min-width: max-content;
            padding: 10px 12px 12px;
            background: rgba(255,255,255,0.96);
            border: 1px solid rgba(0,0,0,0.08);
            box-shadow: 0 16px 40px rgba(0,0,0,0.08);
            border-radius: 6px;
            visibility: hidden;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
            z-index: 1;
        }
        .footer-column-trigger:hover .footer-submenu,
        .footer-column-trigger:focus-within .footer-submenu {
            visibility: visible;
            opacity: 1;
            pointer-events: auto;
            transform: translateX(-50%) translateY(0);
        }
        .footer-link {
            font-family: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            opacity: 0.62;
            white-space: nowrap;
            text-decoration: none;
            color: #000000;
            transition: opacity 0.2s;
        }
        .footer-link:hover { opacity: 1; }
        .locale-active { opacity: 0.9; }

        @media (max-width: 768px) {
            footer { padding: 36px 5%; }
            .footer-inner {
                gap: 24px;
                align-items: center;
                text-align: center;
            }
            .footer-brand {
                flex-direction: column;
                gap: 10px;
            }
            .footer-groups {
                order: 3;
                width: 100%;
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 18px 20px;
                align-items: start;
            }
            .footer-column-trigger {
                padding: 0;
                display: flex;
                flex-direction: column-reverse;
                align-items: center;
                gap: 8px;
            }
            .footer-column-title {
                opacity: 0.45;
                font-size: 9px;
            }
            .footer-submenu {
                position: static;
                transform: none;
                visibility: visible;
                opacity: 1;
                pointer-events: auto;
                padding: 0;
                background: transparent;
                border: 0;
                box-shadow: none;
                border-radius: 0;
                gap: 8px;
            }
            .footer-column-trigger:hover .footer-submenu,
            .footer-column-trigger:focus-within .footer-submenu {
                transform: none;
            }
            .footer-link {
                opacity: 0.55;
                font-size: 10px;
                letter-spacing: 0.14em;
            }
            .footer-year { order: 4; }
        }

        @media (max-width: 420px) {
            .footer-groups { grid-template-columns: 1fr; }
        }

        #top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 50;
            padding: 28px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(18px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
        #menu-overlay {
            position: fixed;
            inset: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.96);
            display: flex;
            align-items: center;
            justify-content: center;
            transform: translateY(-100%);
            transition: transform 0.45s ease;
        }
        #menu-overlay.active { transform: translateY(0); }
        .nav-btn-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 28px;
            border-radius: 999px;
            background: #000;
            color: #fff;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.22em;
            text-decoration: none;
            transition: background 0.2s ease, opacity 0.2s ease;
        }
        .nav-btn-primary:hover { background: #333; }
        .blog-hero {
            padding: 164px 5% 76px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        }
        .blog-section {
            padding: 72px 5%;
            border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        }
        .blog-wrap {
            max-width: 1040px;
            margin: 0 auto;
        }
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }
        .blog-card {
            display: flex;
            flex-direction: column;
            gap: 18px;
            min-height: 260px;
            padding: 26px;
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 8px;
            color: #000;
            text-decoration: none;
            background: rgba(0, 0, 0, 0.015);
            transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
        }
        .blog-card:hover {
            border-color: rgba(0, 0, 0, 0.22);
            background: rgba(0, 0, 0, 0.03);
            transform: translateY(-1px);
        }
        .blog-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 10px 16px;
            align-items: center;
            font-family: "JetBrains Mono", monospace;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            opacity: 0.42;
        }
        .blog-author {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .gent-avatar {
            position: relative;
            display: inline-flex;
            width: 26px;
            height: 26px;
            flex: 0 0 26px;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(0, 0, 0, 0.12);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.72);
            opacity: 0.86;
        }
        .gent-avatar::before {
            content: "";
            position: absolute;
            top: 4px;
            left: 9px;
            width: 8px;
            height: 9px;
            border: 1.5px solid currentColor;
            border-bottom: 0;
            box-sizing: border-box;
        }
        .gent-avatar::after {
            content: "";
            position: absolute;
            top: 13px;
            left: 7px;
            width: 12px;
            height: 2px;
            background: currentColor;
            box-shadow: -2px 0 0 currentColor, 2px 0 0 currentColor;
        }
        .gent-avatar-bow {
            position: absolute;
            top: 17px;
            left: 6px;
            width: 14px;
            height: 6px;
        }
        .gent-avatar-bow::before,
        .gent-avatar-bow::after {
            content: "";
            position: absolute;
            top: 0;
            width: 6px;
            height: 6px;
            background: currentColor;
            opacity: 0.82;
            clip-path: polygon(0% 0%, 100% 34%, 100% 66%, 0% 100%);
        }
        .gent-avatar-bow::before { left: 0; }
        .gent-avatar-bow::after {
            right: 0;
            transform: scaleX(-1);
        }
        .gent-avatar-knot {
            position: absolute;
            top: 18px;
            left: 11px;
            width: 4px;
            height: 4px;
            border-radius: 1px;
            background: currentColor;
            opacity: 0.88;
        }
        .tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: auto;
        }
        .tag-chip {
            font-family: "JetBrains Mono", monospace;
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.16em;
            padding: 7px 9px;
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 999px;
            opacity: 0.58;
        }
        .post-shell {
            padding: 164px 5% 96px;
        }
        .post-wrap {
            max-width: 820px;
            margin: 0 auto;
        }
        .post-title {
            font-size: 60px;
            line-height: 0.95;
            letter-spacing: 0;
            margin: 22px 0 24px;
        }
        .post-desc {
            font-size: 23px;
            line-height: 1.45;
            opacity: 0.62;
            max-width: 720px;
        }
        .post-body {
            margin-top: 72px;
            font-size: 20px;
            line-height: 1.72;
            color: rgba(0, 0, 0, 0.68);
        }
        .post-body h2,
        .post-body h3,
        .post-body h4 {
            color: #000;
            font-family: Georgia, "Times New Roman", serif;
            font-style: italic;
            line-height: 1.12;
            margin: 54px 0 18px;
        }
        .post-body h2 { font-size: 42px; }
        .post-body h3 { font-size: 31px; }
        .post-body h4 { font-size: 24px; }
        .post-body p,
        .post-body ul,
        .post-body ol,
        .post-body blockquote,
        .post-body pre {
            margin: 0 0 24px;
        }
        .post-body ul,
        .post-body ol {
            padding-left: 1.35rem;
        }
        .post-body li {
            margin: 8px 0;
        }
        .post-body a {
            color: #000;
            text-decoration: underline;
            text-decoration-color: rgba(0, 0, 0, 0.22);
            text-underline-offset: 4px;
        }
        .post-body blockquote {
            border-left: 2px solid rgba(0, 0, 0, 0.16);
            padding-left: 18px;
            color: rgba(0, 0, 0, 0.54);
        }
        .post-body code {
            font-family: "JetBrains Mono", monospace;
            font-size: 0.86em;
            background: rgba(0, 0, 0, 0.04);
            padding: 0.12em 0.28em;
            border-radius: 4px;
        }
        .post-body pre {
            overflow-x: auto;
            padding: 18px;
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.035);
        }
        .post-body pre code {
            background: transparent;
            padding: 0;
            border-radius: 0;
            font-size: 14px;
            line-height: 1.6;
        }
        .post-back {
            display: inline-flex;
            margin-top: 56px;
            color: #000;
            text-decoration: none;
            border-bottom: 1px solid rgba(0, 0, 0, 0.18);
            opacity: 0.62;
            transition: opacity 0.2s, border-color 0.2s;
        }
        .post-back:hover {
            opacity: 1;
            border-color: rgba(0, 0, 0, 0.44);
        }
        @media (max-width: 860px) {
            #top-nav { height: 68px; padding: 0 5%; }
            .blog-hero,
            .post-shell { padding-top: 122px; }
            .blog-grid { grid-template-columns: 1fr; }
            .blog-card { min-height: 0; }
            .post-title { font-size: 46px; }
            .post-body { font-size: 18px; }
            .post-body h2 { font-size: 34px; }
            .post-body h3 { font-size: 27px; }
        }
