/* EZEN SYSTEMS — site styles */
:root {
    --bg-base: #020202;
    --bg-panel: #0a0a0c;
    --accent-red: #ff1e1e;
    --accent-dark: #7a0000;
    --text-main: #f0f0f0;
    --text-dim: #9a9a9a;
    --line: rgba(255, 255, 255, 0.09);
    --border-glow: 0 0 14px rgba(255, 30, 30, 0.7);
    --font-sys: 'Share Tech Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
    --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sys);
    color: var(--text-main);
    background-color: var(--bg-base);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); border-left: 1px solid #1a1a1a; }
::-webkit-scrollbar-thumb { background: var(--accent-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-red); }
::selection { background: rgba(255, 30, 30, 0.4); color: #fff; }

/* ---------- background ---------- */
.techno-bg {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(1100px 600px at 50% -10%, rgba(255, 30, 30, 0.13), transparent 70%),
        radial-gradient(700px 500px at 100% 100%, rgba(255, 30, 30, 0.06), transparent 70%),
        linear-gradient(rgba(255, 30, 30, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(90deg, rgba(255, 30, 30, 0.045) 1px, transparent 1px) 0 0 / 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, rgba(0, 0, 0, 0.35) 100%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, rgba(0, 0, 0, 0.35) 100%);
}
.scanline {
    position: fixed; left: 0; right: 0; top: 0; height: 140px; z-index: 1; pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(255, 30, 30, 0.035) 60%, rgba(255, 30, 30, 0.09));
    border-bottom: 1px solid rgba(255, 30, 30, 0.12);
    animation: scan 9s linear infinite;
}
@keyframes scan { from { transform: translateY(-160px); } to { transform: translateY(100vh); } }

/* ---------- layout ---------- */
.app-wrapper { position: relative; z-index: 2; min-height: 100vh; display: flex; flex-direction: column; animation: pageFadeIn 0.8s cubic-bezier(0.2, 1, 0.2, 1) both; }
@keyframes pageFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.page-content { flex: 1; display: flex; flex-direction: column; transition: opacity 0.35s ease, transform 0.35s ease; }
.page-content.fade-out { opacity: 0; transform: translateY(10px); }
main { flex: 1; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
section { padding: 30px 0 70px; }

header {
    position: sticky; top: 0; z-index: 50;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 14px clamp(16px, 4vw, 48px);
    background: rgba(4, 4, 5, 0.78);
    -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 30, 30, 0.35);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 30, 30, 0.12);
}
.logo-link { text-decoration: none; display: flex; align-items: center; gap: 14px; }
.logo-link svg { filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7)); flex: none; }
.logo-text { font-size: 1.9rem; letter-spacing: 3px; font-weight: bold; line-height: 1; white-space: nowrap; }
.logo-text .ezen { color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.6); }
.logo-text .systems { color: var(--accent-red); text-shadow: 0 0 12px rgba(255, 30, 30, 0.8); margin-left: 8px; }
nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
nav a {
    position: relative; display: block; padding: 9px 14px;
    color: var(--text-dim); text-decoration: none; font-size: 0.95rem; letter-spacing: 2px;
    border: 1px solid transparent; border-radius: 4px; transition: color 0.25s, background 0.25s, border-color 0.25s;
}
nav a:hover { color: #fff; background: rgba(255, 30, 30, 0.08); }
nav a.active { color: #fff; border-color: rgba(255, 30, 30, 0.6); background: rgba(255, 30, 30, 0.12); box-shadow: inset 0 0 14px rgba(255, 30, 30, 0.18), 0 0 14px rgba(255, 30, 30, 0.18); }
.header-controls { display: flex; gap: 8px; align-items: center; }
.control-btn {
    font: inherit; font-size: 0.9rem; color: var(--text-main); background: rgba(255, 255, 255, 0.04);
    border: 1px solid #333; border-radius: 4px; padding: 7px 10px; cursor: pointer; transition: border-color 0.25s, box-shadow 0.25s;
}
.control-btn:hover, .control-btn:focus-visible { border-color: var(--accent-red); box-shadow: 0 0 10px rgba(255, 30, 30, 0.35); outline: none; }
select.control-btn option { background: #0a0a0c; color: #fff; }

footer { position: relative; z-index: 3; background: #050505; border-top: 1px solid #222; padding: 10px clamp(16px, 4vw, 48px); margin-top: auto; }
footer p { font-size: 0.72rem; letter-spacing: 5px; color: #fff; text-shadow: 0 0 12px var(--accent-red); font-weight: bold; }
footer span { color: var(--accent-red); }

/* ---------- typography blocks ---------- */
.page-header { position: relative; padding: 60px 0 34px; border-bottom: 1px solid var(--line); text-align: center; }
.page-header h2 {
    font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: 6px; line-height: 1.2; text-transform: uppercase; color: #fff;
    text-shadow: 0 0 18px rgba(255, 30, 30, 0.55), 0 0 60px rgba(255, 30, 30, 0.25);
}
.page-header h2::after { content: ''; display: block; width: 90px; height: 3px; margin: 18px auto 0; background: var(--accent-red); box-shadow: var(--border-glow); }
.page-header p { max-width: 980px; margin: 22px auto 0; color: #cfcfcf; font-size: clamp(1rem, 1vw + 0.5rem, 1.15rem); line-height: 1.8; }
.page-header strong, .card strong { color: #fff; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: 5px; margin: 20px 0 22px; color: #fff; text-shadow: 0 0 14px rgba(255, 30, 30, 0.5); }

/* hero (home) */
.hero { border-bottom: none; padding: clamp(40px, 9vh, 110px) 0 clamp(40px, 8vh, 90px); isolation: isolate; }
.hero h2::after { display: none; }
.hero > * { position: relative; z-index: 2; }
.hero .hero-holo {
    position: absolute; z-index: 1; inset: -40px -10vw -40px; pointer-events: none; opacity: 0.42;
    -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, #000 35%, transparent 75%);
    mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, #000 35%, transparent 75%);
}
.hero .hero-holo .holo3d { width: 100%; height: 100%; }
.hero p { text-shadow: 0 2px 14px #000, 0 0 30px #000; }

/* ---------- grids & cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; }
.card {
    position: relative; display: flex; flex-direction: column;
    padding: 22px; border-radius: var(--radius);
    background: linear-gradient(160deg, rgba(22, 22, 26, 0.92), rgba(8, 8, 10, 0.92));
    border: 1px solid #23232a;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.35s cubic-bezier(0.2, 1, 0.2, 1), border-color 0.35s, box-shadow 0.35s, opacity 0.8s ease-out;
}
.card::before, .card::after { content: ''; position: absolute; width: 16px; height: 16px; border: 2px solid var(--accent-red); opacity: 0.7; transition: all 0.35s; pointer-events: none; }
.card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-radius: var(--radius) 0 0 0; }
.card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-radius: 0 0 var(--radius) 0; }
.card:hover { transform: translateY(-5px); border-color: rgba(255, 30, 30, 0.55); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 26px rgba(255, 30, 30, 0.18); }
.card:hover::before, .card:hover::after { width: 34px; height: 34px; opacity: 1; filter: drop-shadow(0 0 6px var(--accent-red)); }
.card h3 { font-size: 1.12rem; letter-spacing: 1.5px; line-height: 1.4; color: #fff; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.card p { color: #c9c9c9; font-size: 1rem; }

.re-btn {
    font: inherit; font-size: 1rem; letter-spacing: 3px; text-transform: uppercase; cursor: pointer;
    display: block; width: 100%; margin-top: 18px; padding: 13px 20px;
    color: #fff; background: linear-gradient(180deg, rgba(255, 30, 30, 0.16), rgba(255, 30, 30, 0.05));
    border: 1px solid var(--accent-red); border-radius: 4px;
    position: relative; overflow: hidden; transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}
.re-btn::before { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent); transform: skewX(-20deg); transition: left 0.6s; }
.re-btn:hover { background: var(--accent-red); box-shadow: 0 0 24px rgba(255, 30, 30, 0.6); }
.re-btn:hover::before { left: 120%; }
.re-btn:active { transform: scale(0.98); }
.re-btn.hero-btn { display: inline-block; width: auto; padding: 18px 50px; font-size: 1.15rem; border-radius: 6px; box-shadow: 0 0 24px rgba(255, 30, 30, 0.4); }

.custom-list { list-style: none; }
.custom-list li { position: relative; padding-left: 22px; margin-bottom: 11px; color: #c9c9c9; }
.custom-list li::before { content: ''; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; background: var(--accent-red); transform: rotate(45deg); box-shadow: 0 0 8px var(--accent-red); }
.custom-num-list { list-style: none; counter-reset: n; }
.custom-num-list li { counter-increment: n; position: relative; padding: 9px 0 9px 52px; border-bottom: 1px dashed #2a2a2a; color: #d6d6d6; }
.custom-num-list li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 8px; width: 38px; text-align: center; color: var(--accent-red); border: 1px solid rgba(255, 30, 30, 0.5); border-radius: 3px; font-size: 0.9rem; text-shadow: 0 0 8px var(--accent-red); }
.detail-block { margin-top: 6px; font-size: 1rem; color: #ddd; }
.detail-block strong { color: var(--accent-red) !important; display: block; margin-top: 18px; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 2px; }
.detail-block p { font-size: 1.1rem; color: #eee; }
.detail-block a { color: #fff; text-decoration: none; border-bottom: 1px dashed rgba(255, 30, 30, 0.6); transition: color 0.2s; }
.detail-block a:hover { color: var(--accent-red); }

/* ---------- hologram viewports ---------- */
.holo-container {
    position: relative; width: 100%; height: 260px; margin-bottom: 20px; overflow: hidden;
    border-radius: 4px; border: 1px solid #26262c;
    background: radial-gradient(ellipse at 50% 62%, #1c0305, #060203 60%, #020202);
    box-shadow: inset 0 0 50px rgba(255, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.holo-container::before { /* fine scanlines */
    content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 60, 60, 0.035) 3px 4px);
}
.holo-container::after { /* HUD corner marks */
    content: ''; position: absolute; inset: 8px; z-index: 3; pointer-events: none;
    background:
        linear-gradient(var(--accent-red), var(--accent-red)) 0 0 / 14px 1px, linear-gradient(var(--accent-red), var(--accent-red)) 0 0 / 1px 14px,
        linear-gradient(var(--accent-red), var(--accent-red)) 100% 0 / 14px 1px, linear-gradient(var(--accent-red), var(--accent-red)) 100% 0 / 1px 14px,
        linear-gradient(var(--accent-red), var(--accent-red)) 0 100% / 14px 1px, linear-gradient(var(--accent-red), var(--accent-red)) 0 100% / 1px 14px,
        linear-gradient(var(--accent-red), var(--accent-red)) 100% 100% / 14px 1px, linear-gradient(var(--accent-red), var(--accent-red)) 100% 100% / 1px 14px;
    background-repeat: no-repeat; opacity: 0.65;
}
.holo3d { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.holo3d.grabbing { cursor: grabbing; }
.holo3d canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 0.7s ease; }
.holo3d.ready canvas { opacity: 1; }
.holo3d[data-bare="1"] { cursor: default; }
.holo-container .holo3d:not(.ready)::after { /* loading pulse */
    content: ''; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px;
    border: 2px solid rgba(255, 30, 30, 0.25); border-top-color: var(--accent-red); border-radius: 50%; animation: spin 0.9s linear infinite;
}
.no-webgl .holo-container .holo3d::after { animation: none; border-color: rgba(255, 30, 30, 0.25); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- folders / project cards ---------- */
.folder {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    cursor: pointer; border-radius: var(--radius); overflow: hidden; text-align: center;
    background: linear-gradient(160deg, rgba(22, 22, 26, 0.92), rgba(8, 8, 10, 0.92));
    border: 1px solid #23232a; padding: 24px 16px 18px;
    transition: transform 0.35s cubic-bezier(0.2, 1, 0.2, 1), border-color 0.35s, box-shadow 0.35s, opacity 0.8s ease-out;
}
.folder:hover, .folder:focus-visible { transform: translateY(-5px); border-color: var(--accent-red); box-shadow: 0 0 26px rgba(255, 30, 30, 0.28); outline: none; }
.folder-icon { width: 84px; height: 60px; position: relative; margin: 14px 0 16px; background: linear-gradient(180deg, #1a0a0a, #0a0a0c); border: 2px solid var(--accent-red); border-radius: 0 6px 6px 6px; box-shadow: 0 0 14px rgba(255, 30, 30, 0.3), inset 0 0 14px rgba(255, 30, 30, 0.15); transition: transform 0.3s; }
.folder-icon::before { content: ''; position: absolute; top: -12px; left: -2px; width: 36px; height: 12px; background: #1a0a0a; border: 2px solid var(--accent-red); border-bottom: 0; border-radius: 5px 5px 0 0; }
.folder:hover .folder-icon { transform: scale(1.08); }
.folder-name { font-size: 1rem; letter-spacing: 2px; color: #fff; text-transform: uppercase; }
.folder.has-thumb { padding: 0; min-height: 250px; }
.folder-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.75) brightness(0.72) contrast(1.05); transition: transform 0.8s cubic-bezier(0.2, 1, 0.2, 1), filter 0.5s; }
.folder.has-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2, 2, 2, 0.96) 6%, rgba(2, 2, 2, 0.35) 48%, rgba(60, 0, 0, 0.12)); pointer-events: none; }
.folder.has-thumb:hover .folder-thumb { transform: scale(1.07); filter: saturate(1) brightness(0.9); }
.folder.has-thumb .folder-name { position: relative; z-index: 2; width: 100%; padding: 16px 14px; font-size: 1.05rem; text-shadow: 0 2px 10px #000; border-top: 1px solid rgba(255, 30, 30, 0.55); background: rgba(2, 2, 2, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.project-photo { display: block; max-width: 100%; max-height: 420px; width: auto; height: auto; margin: 0 auto 20px; border: 1px solid var(--accent-red); border-radius: 4px; box-shadow: 0 0 24px rgba(255, 30, 30, 0.2); cursor: zoom-in; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.project-photo:hover { transform: scale(1.015); box-shadow: 0 0 34px rgba(255, 30, 30, 0.4); }

.brands-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
a.brand-logo {
    display: flex; align-items: center; justify-content: center; width: 168px; height: 94px; padding: 14px;
    background: linear-gradient(180deg, #f1f1f1, #c9c9c9); border-radius: 5px; border: 2px solid transparent; text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5); transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
a.brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; image-rendering: auto; }
a.brand-logo:hover { transform: translateY(-4px) scale(1.04); border-color: var(--accent-red); box-shadow: 0 0 22px rgba(255, 30, 30, 0.5); }

/* ---------- reveal ---------- */
.anim-element { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 1, 0.2, 1), border-color 0.35s, box-shadow 0.35s; }
.anim-element.visible { opacity: 1; transform: translateY(0); }
.card.anim-element.visible:hover, .folder.anim-element.visible:hover { transform: translateY(-5px); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: clamp(8px, 3vw, 40px); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.modal.active { opacity: 1; visibility: visible; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal-content {
    position: relative; width: min(1040px, 100%); max-height: 100%; display: flex; flex-direction: column;
    background: linear-gradient(170deg, #121216, #070708); border: 1px solid rgba(255, 30, 30, 0.6); border-radius: 8px;
    box-shadow: 0 0 60px rgba(255, 30, 30, 0.25), 0 30px 80px #000; transform: translateY(24px) scale(0.98); transition: transform 0.35s cubic-bezier(0.2, 1, 0.2, 1);
}
.modal.active .modal-content { transform: none; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid rgba(255, 30, 30, 0.35); background: rgba(255, 30, 30, 0.06); }
.modal-title, .modal-header h3 { font-size: clamp(1rem, 2vw, 1.35rem); letter-spacing: 2px; color: #fff; text-transform: uppercase; text-shadow: 0 0 12px rgba(255, 30, 30, 0.6); transition: opacity 0.25s; }
.modal-close { flex: none; width: 42px; height: 42px; display: grid; place-items: center; font-size: 2rem; line-height: 1; cursor: pointer; color: #fff; border: 1px solid #444; border-radius: 4px; transition: all 0.25s; }
.modal-close:hover { background: var(--accent-red); border-color: var(--accent-red); box-shadow: 0 0 16px var(--accent-red); }
.modal-scroll-area { overflow-y: auto; padding: 22px; transition: opacity 0.25s; }
.fade-out { opacity: 0; }
.modal-holo-wrapper { position: relative; }
#modal-holo .holo-container { height: clamp(240px, 46vh, 440px); }
.modal-nav-btn { position: absolute; z-index: 6; top: 50%; transform: translateY(-50%); width: 44px; height: 70px; display: grid; place-items: center; font-size: 2rem; cursor: pointer; color: #fff; background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 30, 30, 0.6); border-radius: 4px; user-select: none; transition: all 0.25s; }
.modal-nav-btn:hover { background: var(--accent-red); box-shadow: 0 0 18px var(--accent-red); }
.modal-nav-btn.disabled { opacity: 0.2; pointer-events: none; }
#modal-prev { left: 10px; } #modal-next { right: 10px; }
.modal-body { font-size: 1.05rem; line-height: 1.75; color: #d6d6d6; }
.modal-body > strong { display: block; margin: 20px 0 8px; color: var(--accent-red); letter-spacing: 2px; text-shadow: 0 0 10px rgba(255, 30, 30, 0.5); }
.modal-body > strong:first-child { margin-top: 0; }
.modal-body p { margin-bottom: 10px; }

/* image zoom */
#image-zoom-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, 0.95); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
#image-zoom-modal.active { opacity: 1; visibility: visible; }
#zoomed-image-container { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
#zoomed-image { max-width: 92vw; max-height: 82vh; cursor: grab; border: 1px solid var(--accent-red); box-shadow: 0 0 40px rgba(255, 30, 30, 0.3); user-select: none; -webkit-user-drag: none; }
.zoom-close { position: absolute; top: 18px; right: 22px; z-index: 5; width: 46px; height: 46px; display: grid; place-items: center; font-size: 2.2rem; color: #fff; border: 1px solid #555; border-radius: 4px; cursor: pointer; background: rgba(0, 0, 0, 0.6); }
.zoom-close:hover { background: var(--accent-red); border-color: var(--accent-red); }
.zoom-controls { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 14px; padding: 10px 18px; background: rgba(0, 0, 0, 0.7); border: 1px solid rgba(255, 30, 30, 0.6); border-radius: 30px; }
.zoom-label { color: #fff; font-size: 1.5rem; width: 24px; text-align: center; user-select: none; }
#zoom-slider { accent-color: var(--accent-red); width: min(240px, 50vw); }

/* ---------- intro ---------- */
#intro-screen { position: fixed; inset: 0; z-index: 99999; background: var(--bg-base); display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.6s ease; }
.intro-globe-wrap { position: relative; width: min(78vmin, 560px); height: min(78vmin, 560px); margin-bottom: 8px; }
.intro-globe-wrap .holo3d { width: 100%; height: 100%; }
.intro-loading-text { text-align: center; display: flex; flex-direction: column; gap: 10px; }
#intro-progress { font-size: 2.2rem; color: var(--accent-red); text-shadow: 0 0 16px var(--accent-red); letter-spacing: 3px; }
.intro-bar { width: min(320px, 70vw); height: 3px; background: #1c1c1c; border-radius: 2px; overflow: hidden; margin: 0 auto; }
.intro-bar i { display: block; height: 100%; width: 0; background: var(--accent-red); box-shadow: 0 0 12px var(--accent-red); transition: width 0.15s linear; }
.intro-status { font-size: 0.95rem; letter-spacing: 4px; color: #ddd; }

/* ---------- easter egg ---------- */
.tinfoil-modal { position: fixed; inset: 0; z-index: 3000; background: rgba(0, 0, 0, 0.94); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; cursor: pointer; text-align: center; padding: 20px; }
.tinfoil-modal.active { opacity: 1; visibility: visible; }
.tinfoil-wrapper { position: relative; width: min(70vmin, 420px); height: min(70vmin, 420px); }
.tinfoil-wrapper .holo3d { width: 100%; height: 100%; cursor: pointer; }
.tinfoil-text { font-size: clamp(1rem, 3vw, 1.6rem); letter-spacing: 4px; color: var(--accent-red); text-shadow: 0 0 16px var(--accent-red); }
.tinfoil-hint { color: #777; margin-top: 15px; font-size: 0.9rem; }

/* ---------- accessible (high-contrast) mode ---------- */
body.accessibility-mode {
    --bg-base: #fff; --bg-panel: #fff; --accent-red: #000; --accent-dark: #000; --text-main: #000; --text-dim: #222; --border-glow: none; --line: #000;
    --font-sys: Arial, Helvetica, sans-serif; font-size: 125%; background: #fff !important; color: #000 !important;
}
body.accessibility-mode * { text-shadow: none !important; box-shadow: none !important; transition: none !important; animation: none !important; color: #000 !important; border-color: #000 !important; font-family: Arial, Helvetica, sans-serif !important; letter-spacing: normal !important; }
body.accessibility-mode .techno-bg, body.accessibility-mode .scanline, body.accessibility-mode #intro-screen, body.accessibility-mode .holo-container, body.accessibility-mode .hero-holo, body.accessibility-mode .folder-thumb, body.accessibility-mode .folder::after, body.accessibility-mode .card::before, body.accessibility-mode .card::after { display: none !important; }
body.accessibility-mode header { border-bottom: 4px solid #000; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.accessibility-mode .card, body.accessibility-mode .modal-content, body.accessibility-mode .modal-header, body.accessibility-mode a.brand-logo, body.accessibility-mode .folder, body.accessibility-mode .folder-name, body.accessibility-mode footer { background: #fff !important; border: 3px solid #000 !important; border-radius: 0; }
body.accessibility-mode .folder.has-thumb { min-height: 0; }
body.accessibility-mode .anim-element { opacity: 1; transform: none; }
body.accessibility-mode a { text-decoration: underline; font-weight: bold; }
body.accessibility-mode button, body.accessibility-mode select, body.accessibility-mode nav a.active { background: #eee !important; color: #000 !important; border: 2px solid #000 !important; font-weight: bold; }
body.accessibility-mode .modal-overlay { background: rgba(255, 255, 255, 0.96) !important; }
body.accessibility-mode .modal-close, body.accessibility-mode .modal-nav-btn { background: #ddd !important; border: 2px solid #000 !important; }
body.accessibility-mode .custom-list li::before { background: #000; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    header { flex-direction: column; gap: 12px; padding: 14px 16px; position: relative; }
    nav { justify-content: center; }
    nav ul { justify-content: center; gap: 4px; }
    nav a { font-size: 0.85rem; letter-spacing: 1px; padding: 8px 10px; }
    .logo-text { font-size: 1.5rem; }
    .page-header { padding-top: 40px; }
    .page-header h2 { letter-spacing: 3px; }
    .holo-container { height: 220px; }
    .brands-grid { gap: 10px; }
    a.brand-logo { width: 132px; height: 74px; padding: 10px; }
    .modal-scroll-area { padding: 14px; }
    .modal-nav-btn { width: 36px; height: 54px; font-size: 1.6rem; }
    #modal-prev { left: 5px; } #modal-next { right: 5px; }
    .hero .hero-holo { inset: -20px -16px; opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
    .scanline { animation: none; display: none; }
    .anim-element { transition-duration: 0.01s; }
}
