/* ═══════════════════════════════════════════════════════════
   HAIDER — THE RISING SHIELD BEARER
   RPG Portfolio — Dark / Light / Colour modes
   ═══════════════════════════════════════════════════════════ */

/* ─── Dark mode (default) ─── */
:root {
    --bg-void:        #060610;
    --bg-panel:       #0e0d1c;
    --bg-panel-deep:  #0a0919;
    --bg-inset:       #08071a;
    --border-main:    rgba(184,134,11,0.22);
    --border-inset:   rgba(184,134,11,0.09);

    --gold-hi:   #f0c040;
    --gold-mid:  #c9952a;
    --gold-rim:  #b8860b;
    --gold-lo:   #7a5a10;

    --crimson:    #8b1a1a;
    --crimson-hi: #cc3333;
    --azure:      #1a4280;
    --azure-hi:   #3a7fd4;
    --emerald:    #1a6b3c;
    --emerald-hi: #2ea86e;

    --text-hi:   #f0e8d0;
    --text-base: #c8b89a;
    --text-lo:   #8a7a60;   /* brightened from #6a5e4a */
    --text-gold: #e4bb66;
    --text-date: #b0985c;   /* dedicated brighter date colour */

    --f-display: 'Cinzel Decorative', 'Georgia', serif;
    --f-heading: 'Cinzel', 'Georgia', serif;
    --f-body:    'IM Fell English', 'Georgia', serif;
    --f-mono:    'Share Tech Mono', 'Courier New', monospace;

    --radius: 0px;
    --gap-xs: 6px;
    --gap-sm: 12px;
    --gap-md: 22px;
    --gap-lg: 36px;

    --nav-bg:          rgba(6,6,16,0.92);
    --shadow-panel:    0 0 120px rgba(0,0,0,0.85), inset 0 0 80px rgba(0,0,0,0.45);
    --edu-icon-color:  var(--gold-mid);
    --wave-bg:         #1c1a2e;
    --wave-border:     rgba(240,192,64,0.4);
}

/* ─── Light mode ─── */
body.theme-light {
    --bg-void:        #f0ead8;
    --bg-panel:       #faf5e8;
    --bg-panel-deep:  #f2ead4;
    --bg-inset:       #ede5cc;
    --border-main:    rgba(139,100,11,0.28);
    --border-inset:   rgba(139,100,11,0.14);

    --gold-hi:   #8b6500;
    --gold-mid:  #a07010;
    --gold-rim:  #b8860b;
    --gold-lo:   #c9952a;

    --crimson-hi: #aa2222;
    --azure-hi:   #1a5faa;
    --emerald-hi: #1a7a44;

    --text-hi:   #1a1408;
    --text-base: #3a2e1a;
    --text-lo:   #6a5830;
    --text-gold: #7a5800;
    --text-date: #7a5000;

    --nav-bg:         rgba(240,234,216,0.94);
    --shadow-panel:   0 4px 40px rgba(100,80,20,0.15), 0 0 0 1px rgba(184,134,11,0.18);
    --edu-icon-color: var(--gold-rim);
    --wave-bg:        #0a0908;
    --wave-border:    rgba(139,100,11,0.4);
}

/* ─── Colour mode (vibrant dark-purple) ─── */
body.theme-color {
    --bg-void:        #0a0320;
    --bg-panel:       #130830;
    --bg-panel-deep:  #0d051f;
    --bg-inset:       #0b0426;
    --border-main:    rgba(160,80,255,0.3);
    --border-inset:   rgba(160,80,255,0.12);

    --gold-hi:   #d080ff;
    --gold-mid:  #a850e0;
    --gold-rim:  #8830cc;
    --gold-lo:   #5a1a88;

    --crimson-hi: #ff4488;
    --azure-hi:   #40c0ff;
    --emerald-hi: #40ffaa;

    --text-hi:   #f0e0ff;
    --text-base: #c8a8ee;
    --text-lo:   #8a609a;
    --text-gold: #d890ff;
    --text-date: #c080f0;

    --nav-bg:         rgba(10,3,32,0.94);
    --shadow-panel:   0 0 80px rgba(120,40,200,0.18), inset 0 0 60px rgba(0,0,0,0.5);
    --edu-icon-color: var(--gold-mid);
    --wave-bg:        #1f0f3d;
    --wave-border:    rgba(208,128,255,0.45);
}

/* ─── Phantom mode (Persona 5 inspired — black / crimson red / white) ─── */
body.theme-phantom {
    --bg-void:        #0a0a0a;
    --bg-panel:       #161414;
    --bg-panel-deep:  #0d0c0c;
    --bg-inset:       #121010;
    --border-main:    rgba(230,20,55,0.35);
    --border-inset:   rgba(230,20,55,0.14);

    --gold-hi:   #ff2d4d;
    --gold-mid:  #e0203f;
    --gold-rim:  #c81a38;
    --gold-lo:   #7a0f22;

    --crimson-hi: #ff5252;
    --azure-hi:   #5ec8ff;
    --emerald-hi: #39ff88;

    --text-hi:   #ffffff;
    --text-base: #d8d4d4;
    --text-lo:   #8a8282;
    --text-gold: #ff4d68;
    --text-date: #ff8095;

    --nav-bg:         rgba(10,10,10,0.92);
    --shadow-panel:   0 0 120px rgba(255,20,50,0.16), inset 0 0 80px rgba(0,0,0,0.6);
    --edu-icon-color: var(--gold-mid);
    --wave-bg:        #000000;
    --wave-border:    rgba(255,45,77,0.5);
}

/* ─── Shield mode (Shield Hero inspired — steel blue / silver) ─── */
body.theme-shield {
    --bg-void:        #0b1420;
    --bg-panel:       #16212f;
    --bg-panel-deep:  #0e1620;
    --bg-inset:       #101a26;
    --border-main:    rgba(143,184,224,0.28);
    --border-inset:   rgba(143,184,224,0.12);

    --gold-hi:   #8fb8e0;
    --gold-mid:  #6f9bc4;
    --gold-rim:  #4f7aa8;
    --gold-lo:   #2f5276;

    --crimson-hi: #d6473c;
    --azure-hi:   #4fd1ff;
    --emerald-hi: #4fe0a0;

    --text-hi:   #eaf2fb;
    --text-base: #b8c8da;
    --text-lo:   #768ca0;
    --text-gold: #9fc4ea;
    --text-date: #87aed1;

    --nav-bg:         rgba(11,20,32,0.92);
    --shadow-panel:   0 0 100px rgba(80,140,200,0.16), inset 0 0 70px rgba(0,0,0,0.5);
    --edu-icon-color: var(--gold-mid);
    --wave-bg:        #060c14;
    --wave-border:    rgba(143,184,224,0.5);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body, html {
    width: 100%;
    min-height: 100vh;
    background: var(--bg-void);
    color: var(--text-base);
    font-family: var(--f-body);
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
    transition: background 0.35s ease, color 0.35s ease;
}

/* ─── Dungeon backdrop ─── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 55% at 50% -5%,  rgba(28,18,80,0.65) 0%, transparent 65%),
        radial-gradient(ellipse 45% 45% at  8% 92%,  rgba(100,32,18,0.22) 0%, transparent 60%),
        radial-gradient(ellipse 35% 50% at 95% 15%,  rgba(18,40,100,0.16) 0%, transparent 55%),
        repeating-linear-gradient(0deg, transparent, transparent 72px, rgba(184,134,11,0.018) 72px, rgba(184,134,11,0.018) 73px),
        repeating-linear-gradient(90deg, transparent, transparent 72px, rgba(184,134,11,0.018) 72px, rgba(184,134,11,0.018) 73px);
    transition: opacity 0.35s;
}

body.theme-light::before { opacity: 0.12; }

.light-leak {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle 600px at 15% 40%, rgba(184,134,11,0.04) 0%, transparent 70%),
        radial-gradient(circle 500px at 85% 65%, rgba(26,66,128,0.05) 0%, transparent 70%);
}

/* ─── Particles ─── */
.particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.particle {
    position: absolute;
    bottom: -8px; width: 2px; height: 2px; border-radius: 50%;
    background: var(--gold-hi); opacity: 0;
    animation: floatUp var(--dur, 9s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes floatUp {
    0%   { opacity: 0;   transform: translateY(0) translateX(0); }
    12%  { opacity: 0.5; }
    88%  { opacity: 0.15; }
    100% { opacity: 0;   transform: translateY(-105vh) translateX(var(--drift, 0px)); }
}
body.theme-light .particles { opacity: 0; }

/* ═══════════════════════════════════════════════════════════
   NAV TABS
   ═══════════════════════════════════════════════════════════ */

.nav-tabs {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border-main);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.35s, border-color 0.35s;
}

.nav-inner {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-brace { color: var(--gold-mid); font-size: 14px; font-family: var(--f-heading); }
.nav-logo-text {
    font-family: var(--f-heading); font-size: 11px; font-weight: 700;
    letter-spacing: 0.22em; color: var(--text-gold); text-transform: uppercase;
}

.tab-list { display: flex; align-items: stretch; gap: 0; }
.tab-btn {
    display: flex; align-items: center; gap: 7px;
    padding: 14px 22px;
    background: transparent;
    border: none; border-bottom: 2px solid transparent;
    color: var(--text-lo);
    font-family: var(--f-heading); font-size: 11px; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.tab-btn:hover { color: var(--text-gold); background: rgba(184,134,11,0.04); }
.tab-btn.tab-active { color: var(--gold-hi); border-bottom-color: var(--gold-rim); background: rgba(184,134,11,0.06); }
.tab-glyph { font-size: 13px; line-height: 1; }

/* ─── Theme dropdown ─── */
.theme-dropdown {
    position: relative;
    flex-shrink: 0;
}

.theme-trigger {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    background: transparent;
    border: 1px solid var(--border-inset);
    color: var(--text-gold);
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.18s;
    line-height: 1;
}

.theme-trigger:hover,
.theme-dropdown--open .theme-trigger {
    border-color: var(--gold-rim);
    color: var(--gold-hi);
    background: rgba(184,134,11,0.06);
}

.theme-trigger-icon { font-size: 12px; }
.theme-trigger-caret { font-size: 9px; opacity: 0.7; transition: transform 0.2s; margin-left: 1px; }
.theme-dropdown--open .theme-trigger-caret { transform: rotate(180deg); }

.theme-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 156px;
    background: var(--bg-panel);
    border: 1px solid var(--gold-rim);
    box-shadow: 0 10px 32px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    padding: 5px;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
    z-index: 200;
}

.theme-dropdown--open .theme-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-menu-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    background: transparent;
    border: none;
    color: var(--text-lo);
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s;
}

.theme-menu-item:hover {
    background: rgba(184,134,11,0.1);
    color: var(--text-gold);
}

.theme-menu-item--active {
    color: var(--gold-hi);
    background: rgba(184,134,11,0.08);
}

.theme-menu-icon { font-size: 12px; width: 16px; text-align: center; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   ROADMAP
   ═══════════════════════════════════════════════════════════ */

.roadmap-section { padding: 0 0 var(--gap-md); }

.roadmap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-md);
    padding: 0 52px;
}

.roadmap-grid--5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.road-card {
    background: var(--bg-inset);
    border: 1px solid var(--border-inset);
    padding: 14px 16px;
}

.road-active {
    border-color: rgba(46,168,110,0.35);
    border-left: 3px solid var(--emerald-hi);
}

.road-future {
    border-left: 3px solid rgba(184,134,11,0.3);
}

.road-status {
    font-family: var(--f-mono);
    font-size: 8.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-hi);
    margin-bottom: 7px;
}

.road-future .road-status { color: var(--text-date); }

.road-skills {
    font-family: var(--f-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-hi);
    margin-bottom: 5px;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

.road-tags {
    font-family: var(--f-mono);
    font-size: 9px;
    color: var(--gold-mid);
    margin-bottom: 7px;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.road-note {
    font-family: var(--f-body);
    font-style: italic;
    font-size: 11px;
    color: var(--text-lo);
    line-height: 1.55;
}

.world-stage {
    position: relative; z-index: 1; min-height: 100vh;
    display: flex; align-items: flex-start; justify-content: center;
    padding: 36px 16px 72px;
}

.status-window {
    position: relative; width: 100%; max-width: 920px;
    background: var(--bg-panel);
    border: 1px solid var(--gold-rim);
    box-shadow: var(--shadow-panel);
    opacity: 0;
    transform: translateY(28px) scale(0.985);
    animation: revealWindow 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
    transition: background 0.35s, border-color 0.35s;
}
@keyframes revealWindow { to { opacity: 1; transform: translateY(0) scale(1); } }

/* ─── Chrome corners ─── */
.window-chrome { pointer-events: none; }
.chrome-corner { position: absolute; z-index: 10; pointer-events: none; }
.chrome-corner--tl { top: -2px;    left: -2px; }
.chrome-corner--tr { top: -2px;   right: -2px; transform: scaleX(-1); }
.chrome-corner--bl { bottom: -2px; left: -2px; transform: scaleY(-1); }
.chrome-corner--br { bottom: -2px; right: -2px; transform: scale(-1,-1); }

/* ─── Window header ─── */
.window-header {
    display: flex; align-items: center; gap: var(--gap-sm);
    padding: 16px 52px;
    border-bottom: 1px solid rgba(184,134,11,0.18);
    background: rgba(184,134,11,0.025);
}
.header-rule { flex: 1; height: 1px; background: linear-gradient(to right, transparent, rgba(184,134,11,0.55), transparent); }
.header-content { display: flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; }
.header-brace { color: var(--gold-mid); font-size: 20px; line-height: 1; font-family: var(--f-heading); }
.window-title { font-family: var(--f-heading); font-size: 12px; font-weight: 700; letter-spacing: 0.38em; color: var(--text-gold); text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════════
   CONTENT GRID
   ═══════════════════════════════════════════════════════════ */

.content-grid { display: grid; grid-template-columns: 268px 1fr; padding: 30px 52px; gap: 0; align-items: start; }

/* ═══════════════════════════════════════════════════════════
   PORTRAIT COLUMN
   ═══════════════════════════════════════════════════════════ */

.portrait-column {
    display: flex; flex-direction: column; align-items: center; gap: var(--gap-md);
    padding-right: 30px; padding-top: 4px; border-right: 1px solid rgba(184,134,11,0.14);
    position: sticky; top: 90px;
}
.portrait-frame { position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.portrait-aura {
    position: absolute; inset: -14px; border-radius: 50%;
    background: radial-gradient(circle, rgba(184,134,11,0.18) 0%, transparent 72%);
    animation: auraBreath 3.5s ease-in-out infinite; pointer-events: none;
}
@keyframes auraBreath { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.portrait-ring {
    position: relative; width: 162px; height: 162px; border-radius: 50%;
    border: 2px solid var(--gold-rim);
    box-shadow: 0 0 0 5px rgba(184,134,11,0.1), 0 0 24px rgba(184,134,11,0.14), inset 0 0 20px rgba(0,0,0,0.6);
    overflow: hidden; background: var(--bg-inset); flex-shrink: 0;
}
.portrait-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: sepia(25%) contrast(108%) brightness(0.92); transition: filter 0.5s ease; }
.portrait-ring:hover .portrait-img { filter: sepia(5%) contrast(105%) brightness(1); }
body.theme-light .portrait-img { filter: sepia(10%) contrast(105%) brightness(1); }

/* ─── Identity ─── */
.identity-block { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-name { font-family: var(--f-display); font-size: 30px; font-weight: 700; letter-spacing: 0.18em; color: var(--text-hi); text-shadow: 0 0 24px rgba(240,192,64,0.28), 0 2px 8px rgba(0,0,0,0.7); line-height: 1.1; }
.hero-class { font-family: var(--f-heading); font-size: 11px; letter-spacing: 0.18em; color: var(--gold-mid); border: 1px solid rgba(184,134,11,0.28); padding: 3px 12px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.class-gem { display: inline-block; width: 5px; height: 5px; background: var(--gold-rim); transform: rotate(45deg); flex-shrink: 0; }

/* ─── ID Card — bold asymmetric block, fills sidebar below identity ─── */
.id-card {
    width: 100%;
    position: relative;
    background: var(--bg-panel-deep);
    border: 2px solid var(--gold-rim);
    padding: 16px 18px 16px 20px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
    overflow: hidden;
}

.id-card-slash {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 6px;
    background: var(--gold-hi);
    box-shadow: 2px 0 10px rgba(240,192,64,0.4);
}

.id-card-row {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-hi);
    text-transform: uppercase;
}

.id-card-row + .id-card-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(184,134,11,0.25);
}

.id-card-row svg { color: var(--gold-hi); flex-shrink: 0; }

.status-dot {
    width: 8px; height: 8px;
    background: var(--emerald-hi);
    box-shadow: 0 0 8px var(--emerald-hi);
    flex-shrink: 0;
    animation: statusPulse 2s ease-in-out infinite;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}
@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.85); }
}

.quick-socials {
    display: flex;
    align-items: stretch;
    gap: 2px;
    width: 100%;
}

.quick-social-btn {
    flex: 1;
    height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-inset);
    border: 2px solid var(--border-inset);
    color: var(--gold-mid);
    transition: all 0.18s;
}

.quick-social-btn:hover {
    border-color: var(--gold-hi);
    color: var(--gold-hi);
    background: var(--bg-panel-deep);
    transform: translateY(-2px);
}

.quick-social-btn:nth-child(1) { clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.quick-social-btn:nth-child(3) { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }

.quick-cta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-family: var(--f-heading);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bg-void);
    background: var(--gold-hi);
    border: 2px solid var(--gold-hi);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
}

.quick-cta-arrow {
    transition: transform 0.2s;
}

.quick-cta:hover {
    background: transparent;
    color: var(--gold-hi);
    box-shadow: 0 0 22px rgba(184,134,11,0.35);
}

.quick-cta:hover .quick-cta-arrow {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   STATS COLUMN
   ═══════════════════════════════════════════════════════════ */

.stats-column { display: flex; flex-direction: column; gap: var(--gap-md); padding-left: 30px; }

.panel { display: flex; flex-direction: column; }
.panel-label {
    font-family: var(--f-heading); font-size: 10px; font-weight: 700;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--gold-mid);
    padding-bottom: 9px; margin-bottom: 11px;
    border-bottom: 1px solid rgba(184,134,11,0.16);
    display: flex; align-items: center; gap: 9px;
}
.panel-label::before { content: ''; width: 5px; height: 5px; background: var(--gold-rim); transform: rotate(45deg); flex-shrink: 0; }

/* ─── Lore ─── */
.lore-panel { background: var(--bg-inset); border: 1px solid rgba(184,134,11,0.1); padding: 14px 16px 16px; }
.lore-text { font-family: var(--f-body); font-style: italic; font-size: 13.5px; color: var(--text-base); line-height: 1.75; min-height: 64px; display: inline; }
.lore-cursor { display: inline; color: var(--gold-hi); font-size: 15px; animation: blink 0.85s step-end infinite; vertical-align: middle; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ═══════════════════════════════════════════════════════════
   EDUCATION
   ═══════════════════════════════════════════════════════════ */

.education-list { display: flex; flex-direction: column; gap: 10px; }
.edu-entry { background: var(--bg-inset); border: 1px solid var(--border-inset); padding: 12px 14px; transition: border-color 0.22s; }
.edu-entry:hover { border-color: rgba(184,134,11,0.3); }
.edu-header { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 4px; }
.edu-icon-wrap { flex-shrink: 0; color: var(--edu-icon-color); margin-top: 2px; }
.edu-svg { display: block; stroke: var(--edu-icon-color); }
.edu-inst { font-family: var(--f-heading); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; color: var(--text-hi); line-height: 1.35; }
.edu-degree { font-family: var(--f-body); font-style: italic; font-size: 12px; color: var(--gold-mid); margin-top: 2px; }
.edu-year { font-family: var(--f-mono); font-size: 9.5px; color: var(--text-date); letter-spacing: 0.06em; white-space: nowrap; margin-left: auto; flex-shrink: 0; padding-top: 2px; font-weight: 700; }
.edu-loc { font-family: var(--f-mono); font-size: 9px; color: var(--text-lo); letter-spacing: 0.06em; margin-left: 28px; }

/* ═══════════════════════════════════════════════════════════
   SKILL ABILITIES
   ═══════════════════════════════════════════════════════════ */

.abilities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ability-card {
    display: flex; align-items: center; gap: 11px;
    padding: 12px 14px;
    background: var(--bg-inset); border: 1px solid var(--border-inset);
    position: relative; overflow: hidden; transition: border-color 0.22s, background 0.22s;
}
.ability-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold-lo); transition: background 0.22s; }
.ability-card:hover { border-color: rgba(184,134,11,0.32); background: rgba(184,134,11,0.04); }
.ability-card:hover::before { background: var(--gold-hi); }
.ability-icon { flex-shrink: 0; opacity: 0.75; color: var(--gold-hi); transition: opacity 0.22s; }
.ability-card:hover .ability-icon { opacity: 1; }
.ability-body { flex: 1; min-width: 0; }
.ability-name { font-family: var(--f-heading); font-size: 12px; color: var(--text-base); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.03em; }

/* ═══════════════════════════════════════════════════════════
   EXPERIENCE
   ═══════════════════════════════════════════════════════════ */

.exp-list { display: flex; flex-direction: column; gap: 14px; }
.exp-entry { background: var(--bg-inset); border: 1px solid var(--border-inset); border-left: 3px solid var(--gold-lo); padding: 14px 16px; transition: border-color 0.22s; }
.exp-entry:hover { border-left-color: var(--gold-hi); }
.exp-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.exp-role { font-family: var(--f-heading); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--text-hi); margin-bottom: 2px; }
.exp-company { font-family: var(--f-body); font-style: italic; font-size: 12px; color: var(--gold-mid); }
.exp-date { font-family: var(--f-mono); font-size: 9.5px; color: var(--text-date); letter-spacing: 0.06em; white-space: nowrap; flex-shrink: 0; font-weight: 700; }
.exp-bullets { list-style: none; display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.exp-bullets li { font-family: var(--f-body); font-size: 12.5px; color: var(--text-base); padding-left: 14px; position: relative; line-height: 1.5; }
.exp-bullets li::before { content: '·'; position: absolute; left: 0; color: var(--gold-rim); }

/* ═══════════════════════════════════════════════════════════
   PUBLICATION
   ═══════════════════════════════════════════════════════════ */

.pub-card { display: flex; gap: 16px; background: var(--bg-inset); border: 1px solid rgba(184,134,11,0.18); padding: 16px; position: relative; overflow: hidden; }
.pub-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(to right, transparent, var(--gold-mid), transparent); }
.pub-gem { font-size: 20px; color: var(--gold-hi); text-shadow: 0 0 12px rgba(240,192,64,0.6); flex-shrink: 0; margin-top: 2px; }
.pub-title { font-family: var(--f-heading); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--text-hi); margin-bottom: 3px; }
.pub-meta { font-family: var(--f-mono); font-size: 9px; color: var(--gold-mid); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.pub-desc { font-family: var(--f-body); font-style: italic; font-size: 12.5px; color: var(--text-base); line-height: 1.6; margin-bottom: 10px; }
.pub-link { font-family: var(--f-heading); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--gold-mid); text-decoration: none; border-bottom: 1px solid rgba(184,134,11,0.3); transition: color 0.2s, border-color 0.2s; }
.pub-link:hover { color: var(--gold-hi); border-bottom-color: var(--gold-hi); }

/* ═══════════════════════════════════════════════════════════
   ORNAMENTAL DIVIDER
   ═══════════════════════════════════════════════════════════ */

.ornamental-divider { display: flex; align-items: center; gap: 14px; padding: 6px 52px; margin: 6px 0; }
.orn-line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, rgba(184,134,11,0.28), transparent); }

/* ═══════════════════════════════════════════════════════════
   ROADMAP
   ═══════════════════════════════════════════════════════════ */

.roadmap-section { padding: 0 0 var(--gap-md); }
.roadmap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-md); padding: 0 52px; }
.road-card { background: var(--bg-inset); border: 1px solid var(--border-inset); padding: 16px 18px; }
.road-active { border-color: rgba(46,168,110,0.3); border-left: 3px solid var(--emerald-hi); }
.road-future { border-left: 3px solid var(--text-lo); opacity: 0.65; }
.road-status { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--emerald-hi); margin-bottom: 8px; }
.road-future .road-status { color: var(--text-lo); }
.road-skills { font-family: var(--f-heading); font-size: 13px; font-weight: 700; color: var(--text-hi); margin-bottom: 6px; letter-spacing: 0.04em; }
.road-note { font-family: var(--f-body); font-style: italic; font-size: 11.5px; color: var(--text-lo); }

/* ═══════════════════════════════════════════════════════════
   PROJECTS TAB
   ═══════════════════════════════════════════════════════════ */

.projects-body { padding: 30px 52px 24px; }
.proj-section-tag { font-family: var(--f-heading); font-size: 11px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-mid); white-space: nowrap; padding: 0 16px; }
.proj-section-tag--alt  { color: var(--azure-hi); }
.proj-section-tag--prev { color: var(--emerald-hi); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap-md); }
.project-card { background: var(--bg-inset); border: 1px solid var(--border-inset); overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
.project-card:hover { border-color: rgba(184,134,11,0.4); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.project-card--alt:hover { border-color: rgba(58,127,212,0.4); }
.project-card--prev:hover { border-color: rgba(46,168,110,0.4); }
.project-img-wrap { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-panel-deep); }
.project-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.project-card:hover .project-img { transform: scale(1.04); }
.project-img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px dashed rgba(184,134,11,0.2); }
.project-img-placeholder--alt  { border-color: rgba(58,127,212,0.2); }
.project-img-placeholder--prev { border-color: rgba(46,168,110,0.2); }
.proj-placeholder-icon { font-size: 24px; color: var(--gold-lo); opacity: 0.5; }
.project-img-placeholder--alt  .proj-placeholder-icon { color: var(--azure-hi); }
.project-img-placeholder--prev .proj-placeholder-icon { color: var(--emerald-hi); }
.proj-placeholder-text { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.12em; color: var(--text-lo); text-transform: uppercase; }
.project-content { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.project-type-tag { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-mid); border: 1px solid rgba(184,134,11,0.28); padding: 2px 8px; display: inline-block; margin-bottom: 8px; width: fit-content; }
.project-type-tag--alt  { color: var(--azure-hi);   border-color: rgba(58,127,212,0.28); }
.project-type-tag--prev { color: var(--emerald-hi); border-color: rgba(46,168,110,0.28); }
.project-name { font-family: var(--f-heading); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: var(--text-hi); margin-bottom: 8px; line-height: 1.3; }
.project-desc { font-family: var(--f-body); font-style: italic; font-size: 12.5px; color: var(--text-base); line-height: 1.6; flex: 1; margin-bottom: 10px; }
.proj-provider { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--emerald-hi); margin-bottom: 8px; text-transform: uppercase; }
.proj-link { font-family: var(--f-heading); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--gold-mid); text-decoration: none; text-transform: uppercase; border-bottom: 1px solid rgba(184,134,11,0.3); display: inline-block; width: fit-content; transition: color 0.2s, border-color 0.2s; }
.proj-link:hover { color: var(--gold-hi); border-bottom-color: var(--gold-hi); }

/* ═══════════════════════════════════════════════════════════
   VOICE SHOWROOM TAB
   ═══════════════════════════════════════════════════════════ */

.voices-body { padding: 30px 52px 24px; }

.voices-subtitle {
    font-family: var(--f-body);
    font-style: italic;
    font-size: 13.5px;
    color: var(--text-lo);
    line-height: 1.7;
    margin-bottom: 22px;
    max-width: 640px;
}

.language-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.filter-btn {
    background: var(--bg-inset);
    border: 1px solid var(--border-inset);
    color: var(--text-lo);
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: rgba(184,134,11,0.4);
    color: var(--text-gold);
}

.filter-btn--active {
    border-color: var(--gold-rim);
    color: var(--gold-hi);
    background: rgba(184,134,11,0.1);
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--gap-md);
}

.voice-card {
    background: var(--bg-inset);
    border: 1px solid var(--border-inset);
    padding: 16px 18px;
    transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.voice-card:hover {
    border-color: rgba(184,134,11,0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}

.voice-card--hidden { display: none; }

.voice-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

/* ─── Animated avatar ─── */
.voice-avatar {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--bg-panel-deep);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    position: relative;
}

.avatar-svg { width: 100%; height: 100%; }
.avatar-ring { fill: none; stroke-width: 1.4; stroke: var(--gold-lo); opacity: 0.5; }
.avatar-head, .avatar-body { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Subtle per-card colour variety, same gold/azure/emerald family */
.voice-avatar--a .avatar-head, .voice-avatar--a .avatar-body { stroke: var(--gold-hi); }
.voice-avatar--b .avatar-head, .voice-avatar--b .avatar-body { stroke: #e07ab0; }
.voice-avatar--c .avatar-head, .voice-avatar--c .avatar-body { stroke: var(--azure-hi); }
.voice-avatar--d .avatar-head, .voice-avatar--d .avatar-body { stroke: var(--emerald-hi); }
.voice-avatar--e .avatar-head, .voice-avatar--e .avatar-body { stroke: #e07ab0; }
.voice-avatar--f .avatar-head, .voice-avatar--f .avatar-body { stroke: var(--azure-hi); }
.voice-avatar--g .avatar-head, .voice-avatar--g .avatar-body { stroke: var(--crimson-hi); }
.voice-avatar--h .avatar-head, .voice-avatar--h .avatar-body { stroke: var(--gold-mid); }

/* Gentle idle breathing animation so the avatar feels "alive" */
.avatar-head { animation: avatarBob 3.2s ease-in-out infinite; transform-origin: 32px 26px; }
.avatar-ring { animation: avatarPulse 3.2s ease-in-out infinite; transform-origin: 32px 32px; }
@keyframes avatarBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-1.5px); }
}
@keyframes avatarPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%      { opacity: 0.85; transform: scale(1.04); }
}

/* While the card's audio is playing, avatar pulses faster + glows */
.voice-card--playing .voice-avatar {
    box-shadow: 0 0 0 2px var(--gold-rim), 0 0 16px rgba(184,134,11,0.35);
}
.voice-card--playing .avatar-head  { animation-duration: 0.9s; }
.voice-card--playing .avatar-ring  { animation-duration: 0.9s; stroke: var(--gold-hi); }

.voice-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }

.voice-name {
    font-family: var(--f-heading);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--text-hi);
}

.voice-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.voice-tag {
    font-family: var(--f-mono);
    font-size: 8.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 8px;
    border: 1px solid rgba(184,134,11,0.24);
    color: var(--text-lo);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.flag-icon {
    width: 16px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.voice-tag--male   { color: var(--azure-hi);   border-color: rgba(58,127,212,0.28); }
.voice-tag--female { color: #e07ab0;           border-color: rgba(224,122,176,0.28); }
.voice-tag--lang   { color: var(--gold-mid);   border-color: rgba(184,134,11,0.28); }

.play-btn {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-panel-deep);
    border: 1px solid var(--gold-rim);
    color: var(--gold-hi);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
}

.play-btn:hover {
    background: rgba(184,134,11,0.14);
    box-shadow: 0 0 14px rgba(184,134,11,0.25);
}

.play-btn--playing {
    background: var(--gold-rim);
    color: var(--bg-void);
}

.voice-desc {
    font-family: var(--f-body);
    font-style: italic;
    font-size: 12px;
    color: var(--text-base);
    line-height: 1.6;
    margin-bottom: 10px;
}

/* ─── Waveform visualiser (canvas, real audio-reactive) ─── */
.waveform {
    position: relative;
    width: 100%;
    height: 44px;
    background: var(--wave-bg);
    border: 1px solid var(--wave-border);
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 97% 100%, 3% 100%);
}

.waveform::before {
    /* idle scanline / center reference */
    content: '';
    position: absolute;
    left: 0; right: 0; top: 50%;
    height: 1px;
    background: var(--wave-border);
    opacity: 0.55;
    z-index: 1;
}

.waveform-canvas {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

/* Diagonal energy streaks, Persona-style, only visible while playing */
.waveform::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: repeating-linear-gradient(
        115deg,
        transparent 0px,
        transparent 14px,
        rgba(255,255,255,0.04) 14px,
        rgba(255,255,255,0.04) 16px
    );
    opacity: 0;
    transition: opacity 0.3s;
}

.voice-card--playing .waveform::after { opacity: 1; }
.voice-card--playing .waveform { border-color: var(--wave-border); box-shadow: 0 0 14px var(--wave-border), inset 0 0 18px rgba(184,134,11,0.06); }

.voices-note {
    margin-top: 26px;
    font-family: var(--f-mono);
    font-size: 10px;
    color: var(--text-lo);
    line-height: 1.7;
    border-top: 1px solid rgba(184,134,11,0.12);
    padding-top: 16px;
}

.voices-note code {
    font-family: var(--f-mono);
    background: rgba(0,0,0,0.2);
    padding: 1px 5px;
    border-radius: 2px;
    color: var(--gold-hi);
    font-size: 9.5px;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT TAB
   ═══════════════════════════════════════════════════════════ */

.contact-body { padding: 30px 52px 24px; }
.contact-lore { font-family: var(--f-body); font-style: italic; font-size: 14px; color: var(--text-lo); line-height: 1.7; margin-bottom: 30px; text-align: center; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--bg-inset); border: 1px solid var(--border-inset); text-decoration: none; transition: border-color 0.22s, background 0.22s, transform 0.22s; position: relative; }
.contact-card:hover { border-color: rgba(184,134,11,0.4); background: rgba(184,134,11,0.04); transform: translateX(3px); }
.contact-card--dimmed { opacity: 0.55; cursor: default; pointer-events: none; }
.contact-card-icon { flex-shrink: 0; opacity: 0.8; }
.contact-card-label { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-mid); margin-bottom: 4px; }
.contact-card-value { font-family: var(--f-heading); font-size: 12.5px; font-weight: 700; color: var(--text-hi); margin-bottom: 3px; letter-spacing: 0.02em; }
.contact-card-sub { font-family: var(--f-body); font-style: italic; font-size: 11px; color: var(--text-lo); }
.contact-arrow { margin-left: auto; color: var(--gold-lo); font-family: var(--f-mono); font-size: 16px; transition: color 0.2s, transform 0.2s; }
.contact-card:hover .contact-arrow { color: var(--gold-hi); transform: translateX(3px); }

/* ─── Quest panel (used in contact) ─── */
.quest-type-tag { font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-mid); border: 1px solid rgba(184,134,11,0.28); padding: 2px 9px; display: inline-block; }
.quest-heading { font-family: var(--f-heading); font-size: 17px; font-weight: 700; letter-spacing: 0.06em; color: var(--text-hi); margin-bottom: 7px; }
.quest-body { font-family: var(--f-body); font-style: italic; font-size: 13px; color: var(--text-lo); line-height: 1.65; margin-bottom: 16px; }
.quest-body strong { font-style: normal; color: var(--text-date); }

/* ─── Form elements ─── */
.contact-form-wrap { padding: 0; }
.scroll-input { background: var(--bg-inset); border: 1px solid rgba(184,134,11,0.22); color: var(--text-base); font-family: var(--f-body); font-style: italic; font-size: 13px; padding: 8px 13px; outline: none; transition: border-color 0.2s; display: block; }
.scroll-input:focus { border-color: var(--gold-rim); }
.scroll-input::placeholder { color: var(--text-lo); font-style: italic; }
.scroll-textarea { resize: vertical; }

.cta-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 18px; font-family: var(--f-heading); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: none; transition: all 0.22s; white-space: nowrap; line-height: 1; }
.cta-primary { background: var(--gold-rim); color: var(--bg-void); border: 1px solid var(--gold-hi); }
.cta-primary:hover { background: var(--gold-hi); box-shadow: 0 0 22px rgba(240,192,64,0.32); transform: translateY(-2px); }

.form-feedback { font-family: var(--f-mono); font-size: 10px; color: var(--emerald-hi); margin-top: 9px; letter-spacing: 0.06em; min-height: 16px; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.window-footer { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 52px 0; margin-top: 6px; border-top: 1px solid rgba(184,134,11,0.09); }
.footer-text { font-family: var(--f-mono); font-size: 10px; color: var(--text-lo); letter-spacing: 0.1em; }

/* ═══════════════════════════════════════════════════════════
   SIDEBAR CONTACT FORM (moved from old Contact tab into About)
   ═══════════════════════════════════════════════════════════ */
.sidebar-contact {
    width: 100%;
    scroll-margin-top: 88px;
}
.sidebar-contact .emailjs-notice { font-size: 9.5px; padding: 8px 11px; margin-bottom: 14px; }
.sidebar-contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sidebar-contact-form .scroll-input,
.sidebar-contact-form .scroll-textarea { font-size: 12.5px; padding: 8px 11px; }
.sidebar-send-btn {
    width: 100%;
    justify-content: center;
    margin-top: 2px;
}
.sidebar-contact-form .form-feedback { text-align: center; }

/* ─── Tab panels ─── */
.tab-panel { display: none; }
.tab-panel--active { display: block; }



/* ─── Form layout ─── */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-label {
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-date);
}

.scroll-input {
    background: var(--bg-inset);
    border: 1px solid rgba(184,134,11,0.22);
    color: var(--text-base);
    font-family: var(--f-body);
    font-style: italic;
    font-size: 13px;
    padding: 9px 13px;
    outline: none;
    transition: border-color 0.2s;
    display: block;
    width: 100%;
}
.scroll-input:focus { border-color: var(--gold-rim); }
.scroll-input::placeholder { color: var(--text-lo); font-style: italic; }
.scroll-textarea { resize: vertical; }

/* EmailJS notice banner */
.emailjs-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(184,134,11,0.07);
    border: 1px solid rgba(184,134,11,0.22);
    border-left: 3px solid var(--gold-mid);
    padding: 10px 14px;
    margin-bottom: 16px;
    font-family: var(--f-mono);
    font-size: 10.5px;
    color: var(--text-lo);
    line-height: 1.55;
}

.emailjs-notice.hidden { display: none; }

.notice-icon {
    flex-shrink: 0;
    font-size: 14px;
    color: var(--gold-mid);
    margin-top: 1px;
}

.emailjs-notice strong { color: var(--text-date); font-style: normal; }
.emailjs-notice code {
    font-family: var(--f-mono);
    background: rgba(0,0,0,0.2);
    padding: 1px 5px;
    border-radius: 2px;
    color: var(--gold-hi);
    font-size: 10px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 860px) {
    .roadmap-grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
    .world-stage { padding: 16px 8px 48px; }
    .window-header, .ornamental-divider { padding-left: 26px; padding-right: 26px; }
    .content-grid { grid-template-columns: 1fr; padding: 22px 26px; gap: var(--gap-md); }
    .portrait-column { padding-right: 0; border-right: none; border-bottom: 1px solid rgba(184,134,11,0.14); padding-bottom: var(--gap-md); position: static; }
    .stats-column { padding-left: 0; }
    .abilities-grid { grid-template-columns: 1fr; }
    .roadmap-grid, .roadmap-grid--5 { grid-template-columns: 1fr 1fr; padding: 0 26px; }
    .roadmap-section .panel-label { padding-left: 26px !important; padding-right: 26px !important; }
    .projects-body { padding: 22px 26px; }
    .voices-body { padding: 22px 26px; }
    .contact-body { padding: 22px 26px; }
    .contact-cards { grid-template-columns: 1fr; }
    .window-footer { padding-left: 26px; padding-right: 26px; }
    .nav-logo-text { display: none; }
    .tab-btn { padding: 12px 14px; font-size: 10px; }
    .theme-trigger-label { display: none; }
    .theme-trigger { padding: 7px 9px; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
    .projects-grid { grid-template-columns: 1fr; }
    .voice-grid { grid-template-columns: 1fr; }
    .roadmap-grid, .roadmap-grid--5 { grid-template-columns: 1fr; }
    .tab-btn { padding: 12px 10px; font-size: 9px; letter-spacing: 0.1em; }
    .hero-name { font-size: 24px; }
}
