        @font-face {
            font-family: 'ABBvoice';
            src: url('/font/ABBvoice_Lt.ttf') format('truetype');
            font-weight: 300;
        }

        @font-face {
            font-family: 'ABBvoice';
            src: url('/font/ABBvoice_Rg.ttf') format('truetype');
            font-weight: 400;
        }

        @font-face {
            font-family: 'ABBvoice';
            src: url('/font/ABBvoice_Md.ttf') format('truetype');
            font-weight: 500;
        }

        @font-face {
            font-family: 'ABBvoice';
            src: url('/font/ABBvoice_Bd.ttf') format('truetype');
            font-weight: 700;
        }

        :root {
            color-scheme: light dark;
            /* Light theme (default) */
            --bg: #FFFFFF;
            --bg-elevated: #F5F5F7;
            --bg-card: #FFFFFF;
            --text: #1D1D1F;
            --text-muted: #6E6E73;
            --text-dim: #86868B;
            --accent: #0066CC;
            --accent-bright: #0077ED;
            --accent-dark: #0055B3;
            --accent-glow: rgba(0, 102, 204, 0.15);
            --cyan: #06B6D4;
            --purple: #8B5CF6;
            --border: rgba(0, 0, 0, 0.12);
            --shadow: rgba(0, 0, 0, 0.1);
            --grid-color: rgba(0, 0, 0, 0.05);
            --nav-bg: rgba(255, 255, 255, 0.95);
        }

        /* Dark theme via system preference */
        @media (prefers-color-scheme: dark) {
            :root:not([data-theme="light"]) {
                /* Dark theme */
                --bg: #0B0F19;
                --bg-elevated: #141925;
                --bg-card: #1A1F2E;
                --text: #E4E6EB;
                --text-muted: #9BA3AF;
                --text-dim: #6B7280;
                --accent: #3B82F6;
                --accent-bright: #60A5FA;
                --accent-dark: #2563EB;
                --accent-glow: rgba(59, 130, 246, 0.15);
                --cyan: #06B6D4;
                --purple: #8B5CF6;
                --border: rgba(255, 255, 255, 0.08);
                --shadow: rgba(0, 0, 0, 0.3);
                --grid-color: rgba(59, 130, 246, 0.03);
                --nav-bg: rgba(11, 15, 25, 0.95);
            }
        }

        /* Manual dark theme override */
        :root[data-theme="dark"] {
            /* Dark theme */
            --bg: #0B0F19;
            --bg-elevated: #141925;
            --bg-card: #1A1F2E;
            --text: #E4E6EB;
            --text-muted: #9BA3AF;
            --text-dim: #6B7280;
            --accent: #3B82F6;
            --accent-bright: #60A5FA;
            --accent-dark: #2563EB;
            --accent-glow: rgba(59, 130, 246, 0.15);
            --cyan: #06B6D4;
            --purple: #8B5CF6;
            --border: rgba(255, 255, 255, 0.08);
            --shadow: rgba(0, 0, 0, 0.3);
            --grid-color: rgba(59, 130, 246, 0.03);
            --nav-bg: rgba(11, 15, 25, 0.95);
        }

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

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 64px;
            background-color: var(--bg) !important;
        }

        body {
            font-family: 'ABBvoice', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
            background-color: var(--bg) !important;
            background-image:
                linear-gradient(var(--grid-color) 1px, transparent 1px),
                linear-gradient(90deg, var(--grid-color) 1px, transparent 1px) !important;
            background-size: 50px 50px !important;
            color: var(--text);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            padding: 7rem 2rem 3rem 2rem;
            position: relative;
            overflow-x: hidden;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        ::selection {
            background: var(--accent);
            color: white;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 100;
            padding: 0 5%;
            min-height: 64px;
            height: 64px;
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
            transition: all 0.3s ease;
            background: var(--nav-bg);
            -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            box-shadow: 0 2px 10px var(--shadow);
        }

        .back-link {
            justify-self: start;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 400;
            transition: color 0.3s;
        }

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

        .back-link svg {
            width: 20px;
            height: 20px;
        }

        .header-name {
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text);
            letter-spacing: -0.01em;
            text-align: center;
            justify-self: center;
        }

        .header-signature {
            justify-self: end;
            display: flex;
            align-items: center;
            height: 100%;
        }

        .signature {
            height: 22px;
            width: auto;
            display: block;
        }

        /* Signature theme switching */
        :root[data-theme="dark"] .signature.light-theme,
        :root:not([data-theme]) .signature.dark-theme {
            display: none;
        }

        :root[data-theme="dark"] .signature.dark-theme,
        :root:not([data-theme]) .signature.light-theme {
            display: block;
        }

        @media (prefers-color-scheme: dark) {
            :root:not([data-theme="light"]) .signature.light-theme {
                display: none;
            }

            :root:not([data-theme="light"]) .signature.dark-theme {
                display: block;
            }
        }

        /* Fishbone Container */
        .fishbone-wrapper {
            position: relative;
            display: inline-block;
            z-index: 1;
            margin-bottom: 1rem;
        }

        .fishbone-image {
            max-width: 100%;
            max-height: calc(100vh - 16rem);
            width: auto;
            height: auto;
            object-fit: contain;
            display: block;
            border-radius: 12px;
        }

        /* Fishbone theme switching - always show only the correct image */
        .fishbone-image.dark-theme {
            display: none;
        }

        .fishbone-image.light-theme {
            display: block;
        }

        :root[data-theme="dark"] .fishbone-image.dark-theme {
            display: block;
        }

        :root[data-theme="dark"] .fishbone-image.light-theme {
            display: none;
        }

        /* Hover Zones - dynamically positioned from hover-zones.json */
        .hover-zone {
            position: absolute;
            cursor: pointer;
            /* Debug mode: uncomment to see zones */
            /* background: rgba(255, 0, 0, 0.2); border: 1px solid red; */
        }

        /* Info Panel */
        .info-panel {
            position: fixed;
            top: 4rem;
            right: 0;
            bottom: 4rem;
            width: 30vw;
            max-width: 400px;
            background: var(--bg-elevated);
            border-left: 1px solid var(--border);
            border-radius: 12px 0 0 12px;
            padding: 2rem 2.5rem;
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 50;
            display: flex;
            flex-direction: column;
            justify-content: center;
            box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
            overflow-y: auto;
            visibility: hidden;
        }

        .info-panel.active {
            transform: translateX(0);
            visibility: visible;
        }

        .info-panel-content {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            transition: opacity 0.2s ease-out;
        }

        .info-panel-content.transitioning {
            opacity: 0.5;
        }

        .info-panel-logo {
            width: 72px;
            height: 72px;
            object-fit: contain;
            transition: opacity 0.2s ease-out;
        }

        .info-panel-text {
            flex: 1;
        }

        .info-panel-header {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
            margin-bottom: 0.5rem;
        }

        .info-panel-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text);
            line-height: 1.3;
            transition: opacity 0.2s ease-out;
        }

        .info-panel-year {
            font-size: 0.9rem;
            color: var(--accent-bright);
            font-weight: 600;
        }

        .info-panel-subtitle {
            font-size: 1rem;
            color: var(--text-muted);
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border);
        }

        .info-panel-description {
            font-size: 0.95rem;
            color: var(--text-muted);
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .info-panel-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--accent-bright);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            padding: 0.75rem 1.25rem;
            background: var(--accent-glow);
            border: 1px solid var(--accent);
            border-radius: 8px;
            transition: all 0.3s;
            width: fit-content;
        }

        .info-panel-link:hover {
            background: var(--accent);
            color: white;
        }

        .info-panel-link svg {
            width: 18px;
            height: 18px;
        }

        .info-panel-link.hidden {
            display: none;
        }

        .info-panel-close {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-muted);
            cursor: pointer;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            transition: all 0.3s;
        }

        .info-panel-close:hover {
            color: var(--accent-bright);
            border-color: var(--accent);
            background: var(--accent-glow);
        }


        @keyframes fadeInHint {
            from {
                opacity: 0;
                transform: translateY(5px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .interaction-hint {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            pointer-events: none;
            z-index: 5;
            padding: 1rem 0;
        }

        /* Desktop: position hint to the bottom right corner */
        @media (min-width: 901px) {
            .interaction-hint {
                position: fixed;
                bottom: 4rem;
                right: 2rem;
                top: auto;
                transform: none;
                width: auto;
                flex: none;
                justify-content: flex-end;
            }
        }

        .interaction-hint-pill {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--bg-card);
            padding: 0.35rem 0.9rem;
            border-radius: 20px;
            border: 1px solid var(--border);
            box-shadow: 0 2px 10px var(--shadow);
            animation: fadeInHint 0.8s ease-out;
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        .interaction-hint-pill svg {
            width: 14px;
            height: 14px;
            color: var(--accent-bright);
        }

        /* Footer */
        footer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            width: 100%;
            background: var(--nav-bg);
            -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
            padding: 0 5%;
            border-top: 1px solid var(--border);
            box-shadow: 0 -4px 20px var(--shadow);
            z-index: 100;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1.5rem;
            min-height: 38px;
            height: 38px;
        }

        .core-values {
            display: flex;
            flex-wrap: nowrap;
            gap: 0.5rem;
            justify-content: center;
            max-width: 100%;
        }

        footer .footer-actions {
            display: flex;
            align-items: center;
        }

        .value-pill {
            background: var(--bg-card);
            border: 1px solid var(--border);
            padding: 0.1rem 0.5rem;
            border-radius: 16px;
            font-size: 0.75rem;
            color: var(--text-muted);
            transition: all 0.3s;
        }

        .value-pill:hover {
            border-color: var(--accent);
            color: var(--accent-bright);
            background: var(--accent-glow);
            box-shadow: 0 0 15px rgba(91, 158, 246, 0.2);
        }

        .theme-toggle {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-muted);
            padding: 0.3rem;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
        }

        .theme-toggle:hover {
            border-color: var(--accent);
            color: var(--accent-bright);
            background: var(--accent-glow);
        }

        .theme-toggle svg {
            width: 18px;
            height: 18px;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .info-panel {
                width: 40vw;
            }
        }

        @media (max-width: 768px) {
            body {
                padding: 7rem 1rem 3rem 1rem;
            }

            nav {
                padding: 0.4rem 5%;
                grid-template-columns: auto 1fr auto;
            }

            .signature {
                height: 24px;
            }

            .header-name {
                font-size: 0.85rem;
            }

            .back-link {
                font-size: 0.85rem;
            }

            footer {
                padding: 0 0.5rem;
                flex-direction: row;
                justify-content: space-between;
                gap: 0.5rem;
            }

            .core-values {
                gap: 0.15rem;
                flex: 1;
                justify-content: flex-start;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                padding: 0.2rem 0;
            }

            .core-values::-webkit-scrollbar {
                display: none;
            }

            footer .footer-actions {
                grid-column: auto;
                justify-self: center;
            }

            .value-pill {
                padding: 0.1rem 0.4rem;
                font-size: 0.6rem;
                white-space: nowrap;
            }

            .info-panel {
                width: 90vw;
                max-width: none;
            }

            .info-panel-title {
                font-size: 1.2rem;
            }

            .info-panel-logo {
                width: 48px;
                height: 48px;
            }
        }

        /* Mobile bottom-slide panel - narrower screens */
        @media (max-width: 900px) {
            body {
                justify-content: flex-start;
                padding-top: 7rem;
            }

            .info-panel {
                position: fixed;
                top: auto;
                left: 0;
                right: 0;
                bottom: 3.5rem;
                width: 100%;
                max-width: none;
                max-height: 55vh;
                border-radius: 20px 20px 0 0;
                border-left: none;
                border-top: 1px solid var(--border);
                box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
                transform: translateY(100%);
                padding: 1.5rem 1.5rem 2rem;
            }

            .info-panel.active {
                transform: translateY(0);
            }

            .info-panel-close {
                top: 1rem;
                right: 1rem;
            }

            .info-panel-content {
                gap: 1rem;
                padding-top: 0.5rem;
            }

            .info-panel-logo {
                width: 56px;
                height: 56px;
            }

            .info-panel-title {
                font-size: 1.25rem;
            }

            .info-panel-description {
                font-size: 0.9rem;
                line-height: 1.7;
                margin-bottom: 1rem;
            }

            /* Removed swipe indicator tab as it can trigger pull-to-refresh issues on mobile */
        }

        /* Very small screens */
        @media (max-width: 480px) {
            body {
                padding: 7rem 0.5rem 3rem 0.5rem;
            }

            .info-panel {
                max-height: 50vh;
                padding: 1.25rem 1rem 1.5rem;
            }

            .info-panel-logo {
                width: 48px;
                height: 48px;
            }

            .info-panel-title {
                font-size: 1.1rem;
            }

            .info-panel-subtitle {
                font-size: 0.9rem;
            }

            .info-panel-description {
                font-size: 0.85rem;
            }

            .info-panel-link {
                padding: 0.6rem 1rem;
                font-size: 0.85rem;
            }
        }