
        :root {
            --bg: #FDFAF6; --bg-alt: #F7F3ED; --surface: #FFFFFF;
            --ink: #2C2A26; --ink-2: #4A4740; --ink-3: #7A756C; --ink-4: #A9A49A;
            --accent: #C0582A; --accent-hover: #A84B23; --accent-soft: #FDF0EB;
            --border: #E8E3DA; --border-light: #F0ECE4;
            --ease: cubic-bezier(0.16, 1, 0.3, 1);
            --px: clamp(20px, 5vw, 64px); --mw: 1160px;
        }
        *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; scroll-padding-top: 72px; }
        body { font-family: 'Noto Sans SC','Noto Sans SC Rest', -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--ink); line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
        @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; } }
        ::selection { background: #f5ddd0; color: var(--ink); }
        img { display: block; max-width: 100%; }
        a { color: inherit; text-decoration: none; }

        /* ═══ Nav ═══ */
        .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s; }
        .nav.s { border-bottom-color: var(--border); box-shadow: 0 1px 4px rgba(0,0,0,0.03); }
        .nav-in { max-width: var(--mw); margin: 0 auto; padding: 0 var(--px); height: 60px; display: flex; align-items: center; justify-content: space-between; }
        .logo { font-family: 'Source Serif 4', 'Noto Sans SC','Noto Sans SC Rest', serif; font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
        .logo em { font-style: normal; color: var(--accent); }
        .nav-l { display: flex; gap: 0; list-style: none; }
        .nav-l a { font-size: 17px; font-weight: 600; color: var(--ink); padding: 6px 14px; border-radius: 6px; transition: color 0.15s, background 0.15s; }
        .nav-l a:hover { color: var(--ink); background: var(--bg-alt); }

        /* ═══ Hero ═══ */
        .hero { min-height: 100vh; display: flex; align-items: center; padding: 100px var(--px) 72px; }
        .hero-in { max-width: var(--mw); margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }

        /* ═══ Hero Card ═══ */
        .hcard { background: var(--surface); border-radius: 16px; padding: 32px; border: 1px solid var(--border-light); box-shadow: 0 2px 12px rgba(0,0,0,0.03); contain: layout; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
        .hcard:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
        .hcard-top { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 18px; }
        .hcard-top .avatar-wrap { width: 80px; height: 100px; border-radius: 12px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--border-light); }
        .hcard-top .avatar-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
        .hcard-name { font-family: 'Source Serif 4', 'Noto Sans SC','Noto Sans SC Rest', serif; font-size: 22px; font-weight: 600; }
        .hcard-role { font-size: 14px; color: var(--ink-2); margin-top: 3px; font-weight: 500; }
        .hcard-bio { font-size: 14px; color: var(--ink-2); line-height: 1.85; margin-bottom: 20px; font-weight: 400; }
        .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-light); border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
        .stat { text-align: center; padding: 14px 8px; background: var(--surface); }
        .stat b { display: block; font-family: 'JetBrains Mono', monospace; font-size: 24px; color: var(--accent); line-height: 1.2; font-weight: 500; }
        .stat small { font-size: 12px; color: var(--ink-4); font-weight: 300; }
        .skills { display: flex; flex-direction: column; gap: 12px; }
        .skills h4 { font-size: 11px; font-weight: 500; color: var(--ink-4); letter-spacing: 0.5px; margin-bottom: 5px; }
        .tags { display: flex; flex-wrap: wrap; gap: 5px; }
        .tags span { font-size: 12px; padding: 4px 10px; background: var(--bg); color: var(--ink-3); border-radius: 6px; border: 1px solid var(--border-light); transition: background 0.15s, color 0.15s; }
        .tags span:hover { background: var(--accent-soft); color: var(--accent); border-color: #f0d5c8; }

        /* ═══ Sections ═══ */
        section { padding: clamp(56px, 7vw, 88px) var(--px); }
        .sin { max-width: var(--mw); margin: 0 auto; }
        .shd { margin-bottom: 36px; }
        .sl { font-size: 12px; font-weight: 500; letter-spacing: 1px; color: var(--ink-4); margin-bottom: 6px; }
        .st { font-family: 'Source Serif 4', 'Noto Sans SC','Noto Sans SC Rest', serif; font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -0.01em; }
        .ss { font-size: 14px; color: var(--ink-4); margin-top: 6px; font-weight: 300; }

        /* ═══ Articles ═══ */
        .arts { background: var(--surface); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); content-visibility: auto; contain-intrinsic-size: auto 600px; }
        .arts-layout { display: flex; gap: 40px; }
        .arts-side { flex-shrink: 0; width: 160px; }
        .cat-label { font-size: 11px; font-weight: 500; color: var(--ink-4); letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 12px; }
        .cat-list { display: flex; flex-direction: column; gap: 2px; list-style: none; }
        .cat-item { font-size: 14px; padding: 7px 14px; border-radius: 8px; cursor: pointer; transition: background 0.15s, color 0.15s; color: var(--ink-3); font-weight: 400; display: flex; justify-content: space-between; align-items: center; }
        .cat-item:hover { background: var(--bg-alt); color: var(--ink); }
        .cat-item.active { background: var(--accent-soft); color: var(--accent); font-weight: 500; }
        .cat-item .cnt { font-size: 11px; font-family: 'JetBrains Mono', monospace; color: var(--ink-4); font-weight: 400; }
        .cat-item.active .cnt { color: var(--accent); }
        .arts-main { flex: 1; min-width: 0; }
        .arts-list { display: flex; flex-direction: column; }
        .art-item { display: flex; align-items: flex-start; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border-light); transition: transform 0.2s var(--ease); }
        .art-item:first-child { padding-top: 0; }
        .art-item:last-child { border-bottom: none; }
        .art-item:hover { transform: translateX(4px); }
        .art-date { flex-shrink: 0; width: 90px; padding-top: 2px; }
        .art-date-day { font-family: 'JetBrains Mono', monospace; font-size: 20px; font-weight: 500; color: var(--ink); line-height: 1.2; }
        .art-date-ym { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-4); }
        .art-info { flex: 1; min-width: 0; }
        .art-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
        .art-read { font-size: 11px; color: var(--ink-4); font-family: 'JetBrains Mono', monospace; }
        .art-tag { display: inline-block; font-size: 11px; padding: 2px 8px; background: var(--accent-soft); color: var(--accent); border-radius: 4px; font-weight: 500; margin-bottom: 4px; }
        .art-title { font-family: 'Source Serif 4', 'Noto Sans SC','Noto Sans SC Rest', serif; font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px; line-height: 1.5; transition: color 0.15s; }
        .art-item:hover .art-title { color: var(--accent); }
        .art-excerpt { font-size: 13.5px; color: var(--ink-3); line-height: 1.7; font-weight: 300; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
        .art-item:hover .art-excerpt { -webkit-line-clamp: unset; }
        .art-item.hidden { display: none; }
        .arts-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
        .pager-btn { display: inline-flex; align-items: center; gap: 4px; padding: 7px 18px; font-size: 13px; font-weight: 500; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--ink-2); cursor: pointer; font-family: inherit; transition: all 0.15s; }
        .pager-btn:hover:not(:disabled) { border-color: var(--ink-4); background: var(--bg-alt); }
        .pager-btn:disabled { opacity: 0.35; cursor: default; }
        .pager-info { font-size: 13px; color: var(--ink-4); font-family: 'JetBrains Mono', monospace; }

        /* ═══ Contact ═══ */
        .contact { background: var(--bg-alt); border-top: 1px solid var(--border); content-visibility: auto; contain-intrinsic-size: auto 400px; }
        .cg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
        .cc { background: var(--surface); border: 1px solid var(--border-light); border-radius: 12px; padding: 32px 20px; text-align: center; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); display: block; }
        .cc:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.04); transform: translateY(-3px); }
        .cc:active { transform: translateY(-1px); }
        .cc-ico { font-size: 26px; margin-bottom: 12px; display: block; }
        .cc h3 { font-family: 'Source Serif 4', 'Noto Sans SC','Noto Sans SC Rest', serif; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
        .cc p { font-size: 13px; color: var(--ink-4); font-weight: 300; }
        .wc { position: relative; overflow: visible; cursor: pointer; }
        .wc-pop { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%) scale(0.95) translateY(6px); opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); background: #fff; border-radius: 12px; padding: 18px; box-shadow: 0 12px 40px rgba(0,0,0,0.1); z-index: 200; display: flex; flex-direction: column; align-items: center; gap: 6px; contain: layout style; }
        .wc-pop::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 7px solid transparent; border-top-color: #fff; }
        .wc:hover .wc-pop, .wc.open .wc-pop { transform: translateX(-50%) scale(1) translateY(0); opacity: 1; pointer-events: auto; }
        .wc-qr { width: 170px; height: auto; border-radius: 8px; }
        .wc-tip { font-size: 11px; color: var(--ink-4); }

        /* ═══ Footer ═══ */
        footer { background: var(--bg); color: var(--ink-4); padding: 28px var(--px) 32px; border-top: 1px solid var(--border); text-align: center; content-visibility: auto; contain-intrinsic-size: auto 80px; }
        .fin { max-width: var(--mw); margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 16px; }
        .fin span { font-size: 14px; color: var(--ink-3); font-weight: 400; }
        .fin a { font-size: 14px; color: var(--ink-3); transition: color 0.15s; font-weight: 400; }
        .fin a:hover { color: var(--ink-2); }
        .fin-sep { font-size: 14px; color: var(--ink-4); }

        /* ═══ Utilities ═══ */
        .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); will-change: opacity, transform; }
        .reveal.in { opacity: 1; transform: translateY(0); will-change: auto; }
        .tb { position: fixed; bottom: 28px; right: 28px; z-index: 90; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,0.04); cursor: pointer; font-size: 16px; color: var(--ink-3); opacity: 0; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s var(--ease), background 0.15s, color 0.15s; pointer-events: none; display: flex; align-items: center; justify-content: center; }
        .tb.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
        .tb.show:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
        .tb:active { transform: scale(0.95); }
        .skip { position: absolute; top: -100%; left: 16px; z-index: 999; padding: 8px 16px; background: var(--accent); color: #fff; border-radius: 6px; font-size: 14px; }
        .skip:focus { top: 8px; }
        .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; }
        :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
        :focus:not(:focus-visible) { outline: none; }
        #email-link { cursor: pointer; }
        .email-display { unicode-bidi: bidi-override; direction: rtl; }

        /* ═══ Responsive ═══ */
        @media (max-width: 768px) {
            .hero-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
            .hero { min-height: auto; padding: 88px var(--px) 40px; }
            .cg { grid-template-columns: 1fr; }
            .arts-layout { flex-direction: column; gap: 24px; }
            .arts-side { width: 100%; }
            .cat-list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
            .cat-item { padding: 5px 12px; font-size: 13px; border-radius: 100px; }
        }
        @media (max-width: 560px) {
            .hcard { padding: 24px; }
        }

        /* ═══ Carousel ═══ */
        .carousel-wrap { display: flex; flex-direction: column; }
        .carousel-title { position: absolute; top: 16px; left: 16px; z-index: 6; font-family: 'Source Serif 4', 'Noto Sans SC','Noto Sans SC Rest', serif; font-size: 17px; font-weight: 600; color: #fff; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; background: rgba(17,17,24,0.55); backdrop-filter: blur(6px); padding: 6px 14px; border-radius: 100px; }
        .carousel-title::before { content: ''; width: 4px; height: 16px; border-radius: 2px; background: var(--accent); }
        .carousel { position: relative; width: 100%; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-light); background: var(--surface); box-shadow: 0 12px 40px rgba(0,0,0,0.08); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
        .carousel:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(0,0,0,0.14); }
        .carousel-track { display: flex; transition: transform 0.55s var(--ease); }
        .carousel-slide { flex: 0 0 100%; min-width: 0; position: relative; }
        .carousel-slide img { width: 100%; height: 560px; object-fit: contain; display: block; background: #14141c; cursor: zoom-in; }
        .carousel-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 28px 20px; background: linear-gradient(180deg, transparent, rgba(17,17,24,0.78)); color: #fff; }
        .carousel-cap h3 { font-family: 'Source Serif 4', 'Noto Sans SC','Noto Sans SC Rest', serif; font-size: 19px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.01em; }
        .carousel-cap p { font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 300; }
        .carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,0.9); color: var(--ink); font-size: 18px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.18); transition: background 0.15s, transform 0.15s; z-index: 5; display: flex; align-items: center; justify-content: center; }
        .carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
        .carousel-btn.prev { left: 14px; }
        .carousel-btn.next { right: 14px; }
        .carousel-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
        .carousel-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,0.55); cursor: pointer; padding: 0; transition: background 0.2s, transform 0.2s; }
        .carousel-dot.active { background: #fff; transform: scale(1.25); }
        @media (max-width: 768px) {
            .carousel { margin-top: 28px; }
            .carousel-slide img { height: 300px; }
            .carousel-cap h3 { font-size: 16px; }
        }

        /* ═══ Lightbox ═══ */
        .lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10,10,14,0.92); display: none; align-items: center; justify-content: center; cursor: zoom-out; backdrop-filter: blur(4px); }
        .lightbox.open { display: flex; }
        .lightbox img { max-width: 94vw; max-height: 92vh; object-fit: contain; border-radius: 10px; box-shadow: 0 12px 48px rgba(0,0,0,0.5); animation: lb-in 0.25s var(--ease); }
        .lightbox-close { position: absolute; top: 20px; right: 28px; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: #fff; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s; }
        .lightbox-close:hover { background: rgba(255,255,255,0.24); transform: rotate(90deg); }
        @keyframes lb-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
    