/* Basic Reset & Globals */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --bg-color-yr: #FFFFFF;
    --text-color-yr: #0D0D0D;
    --text-color-yr-subtle: #555555;
    --accent-color-yr: #0052D4; /* Blue */
    --accent-color-yr-secondary: #FFD700; /* Yellow for nav buttons*/
    --accent-color-yr-text-on-dark: #FFFFFF;
    --border-color-yr: #D0D0D0;
    --highlight-bg-yr: rgba(0, 82, 212, 0.05);
    --light-gray: #EAEAEA;

    --font-display-yr: 'Oswald', 'Impact', 'Arial Black', sans-serif;
    --font-main-yr: 'Roboto', 'Noto Sans JP', sans-serif;
    --font-heading-yr: 'Oswald', 'Noto Sans JP', sans-serif;
    --font-mono-yr: 'Roboto Mono', 'SF Mono', 'Fira Code', monospace;
    --font-script-yr: 'Dancing Script', cursive;

    --primary-accent: var(--accent-color-yr);
}

body {
    font-family: var(--font-main-yr);
    line-height: 1.65;
    background-color: var(--bg-color-yr);
    color: var(--text-color-yr);
    overflow-x: hidden;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.container { width: 90%; max-width: 1366px; margin: auto; padding: 0 20px; position: relative; }

/* --- YR STYLE TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading-yr); color: var(--text-color-yr); line-height: 1.2; text-transform: uppercase; }
p { color: var(--text-color-yr-subtle); margin-bottom: 1em; }
a { color: var(--accent-color-yr); text-decoration: none; transition: color 0.2s ease-out; }
a:hover { color: #0033A0; }

/* --- YR INTRO OVERLAY --- */
#intro-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: var(--bg-color-yr); z-index: 10000; display: flex; justify-content: center; align-items: center; transition: opacity 0.6s ease-out 1.5s, visibility 0s linear 2.1s; } /* Thời gian transition opacity sẽ được JS điều chỉnh */
#intro-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none;}
.intro-content-yr { text-align: center; }
.intro-name-yr { font-family: var(--font-display-yr); font-size: clamp(3rem, 10vw, 7rem); letter-spacing: 0.02em; color: var(--text-color-yr); opacity: 0; transform: translateY(10px); /* GSAP sẽ animate */ }
.intro-line-yr { display: block; width: 60px; height: 2px; background: var(--accent-color-yr); margin: 15px auto 0; animation: introLineYR 0.7s ease-out 0.2s both; }
@keyframes introLineYR { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --- BACKGROUND VISUALIZER (Tinh chỉnh) --- */
#visualizer-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.025; /* Làm nền mờ hơn nữa */
}

/* --- YR HEADER (Tinh chỉnh hover cho nav, logo, lang buttons) --- */
#main-header { position: fixed; top: 0; left: 0; width: 100%; padding: 1.5rem 0; z-index: 1000; background: transparent; border-bottom: 1px solid transparent; transition: all 0.3s ease; }
#main-header.header-scrolled { padding: 0.8rem 0; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color-yr); box-shadow: 0 1px 5px rgba(0,0,0,0.05); }
.header-container { display: flex; justify-content: space-between; align-items: center; }

.logo a {
    font-family: var(--font-mono-yr);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color-yr);
    text-decoration:none;
    letter-spacing: -0.5px;
    padding: 5px 0px;
    mix-blend-mode: difference;
    transition: color 0.2s ease-out, transform 0.25s ease-out, opacity 0.25s ease-out;
}
.logo a:hover {
    transform: scale(1.08);
    opacity: 0.75;
}
#main-header.header-scrolled .logo a { font-size: 1.1rem; mix-blend-mode: normal; color: var(--text-color-yr); }
#main-header.header-scrolled .logo a:hover {
    opacity: 1;
}

#main-header nav#main-navigation-yr ul { list-style: none; display: flex; }
#main-header nav#main-navigation-yr ul li { margin-left: 30px; }
#main-header nav#main-navigation-yr ul li a.nav-link {
    position: relative;
}
#main-header nav#main-navigation-yr ul li a.nav-link > span {
    color: var(--text-color-yr);
    font-weight: 600;
    font-family: var(--font-mono-yr);
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 5px 0;
    position: relative;
    transition: color 0.2s ease-out, transform 0.25s ease-out;
    text-transform: uppercase;
    mix-blend-mode: difference;
    display: inline-block;
}
#main-header.header-scrolled nav#main-navigation-yr ul li a.nav-link > span { color: var(--text-color-yr-subtle); mix-blend-mode: normal; }

#main-header nav#main-navigation-yr ul li a.nav-link:not(.active):hover > span {
    transform: translateY(-2px) scale(1.03);
    color: var(--accent-color-yr) !important;
}
#main-header.header-scrolled nav#main-navigation-yr ul li a.nav-link:not(.active):hover > span {
    color: var(--text-color-yr) !important;
}
#main-header nav#main-navigation-yr ul li a.nav-link.active > span {
    color: var(--text-color-yr);
    font-weight: 700;
}
#main-header.header-scrolled nav#main-navigation-yr ul li a.nav-link.active > span {
    color: var(--text-color-yr);
    font-weight: 700;
}

#main-header nav#main-navigation-yr ul li a.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--accent-color-yr);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
#main-header nav#main-navigation-yr ul li a.nav-link.active::after,
#main-header nav#main-navigation-yr ul li a.nav-link:hover::after {
    transform: scaleX(1);
}
#main-header.header-scrolled nav#main-navigation-yr ul li a.nav-link.active::after,
#main-header.header-scrolled nav#main-navigation-yr ul li a.nav-link:hover::after {
    background-color: var(--text-color-yr);
}


.header-right-controls { display: flex; align-items: center; gap: 25px; }
#language-switcher { display: flex; align-items: center; }
.lang-btn {
    background-color: transparent;
    border: 1px solid var(--text-color-yr);
    color: var(--text-color-yr);
    padding: 4px 8px;
    margin-left: 5px;
    cursor: pointer;
    font-family: var(--font-mono-yr);
    font-size: 0.7rem;
    transition: all 0.2s ease, transform 0.2s ease-out;
    mix-blend-mode: difference;
}
#main-header.header-scrolled .lang-btn { border: 1px solid var(--border-color-yr); color: var(--text-color-yr-subtle); mix-blend-mode: normal; }
.lang-btn:not(.active):hover {
    transform: scale(1.08) translateY(-1px);
    background-color: var(--text-color-yr);
    color: var(--bg-color-yr);
    border-color: var(--text-color-yr);
}
.lang-btn.active {
    background-color: var(--text-color-yr);
    color: var(--bg-color-yr);
    border-color: var(--text-color-yr);
}
#main-header.header-scrolled .lang-btn.active {
    background-color: var(--text-color-yr);
    color: var(--bg-color-yr);
    border-color: var(--text-color-yr);
}
#main-header.header-scrolled .lang-btn:not(.active):hover {
    background-color: var(--text-color-yr);
    color: var(--bg-color-yr);
    border-color: var(--text-color-yr);
}


/* --- YR HERO SECTION --- */
.hero-yr { min-height: 100vh; height: 100vh; display: grid; grid-template-columns: 30% 1fr; align-items: center; position: relative; overflow: hidden; background-color: transparent; padding: 0; }
.hero-yr-title-block-wrapper { grid-column: 1 / 2; grid-row: 1 / -1; background-color: var(--accent-color-yr); color: var(--accent-color-yr-text-on-dark); padding: 5vh 3vw; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; z-index: 20; height: 100%; position: relative; }
.yr-title-jp-main { font-family: 'Noto Sans JP', var(--font-display-yr); font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; line-height: 0.9; color: var(--accent-color-yr-text-on-dark); margin: 0 0 -0.05em 0; text-shadow: none; }
.yr-title-jp-sub { font-family: 'Noto Sans JP', var(--font-main-yr); font-size: clamp(1rem, 2.5vw, 1.8rem); font-weight: 700; line-height: 1; color: var(--accent-color-yr-text-on-dark); margin-top: -0.2em; margin-left: 0.1em; letter-spacing: 0.08em; }
.yr-title-en-main { font-family: var(--font-heading-yr); font-size: clamp(0.9rem, 2vw, 1.3rem); line-height: 1; color: var(--accent-color-yr-text-on-dark); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 1.5em; opacity: 0.8; }
.yr-nickname-display, .yr-title-role { font-family: var(--font-mono-yr); color: var(--accent-color-yr-text-on-dark); opacity: 0.7; font-size: clamp(0.7rem, 1.5vw, 0.9rem); margin-top: 0.5em; }
.hero-slideshow-yr { grid-column: 2 / 3; grid-row: 1 / -1; position: relative; width: 100%; height: 100vh; overflow: hidden; background-color: var(--light-gray); }
.slideshow-yr-slides { position: relative; width: 100%; height: 100%; }
.slide-yr { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; display: flex; align-items: flex-end; justify-content: center; }
.slide-yr.active { opacity: 1; visibility: visible; z-index: 10; }
.slide-yr img { width: 100%; height: 100%; object-fit: cover; object-position: center; position: absolute; top: 0; left: 0; z-index: 1; }
.slide-yr-content { position: relative; z-index: 5; color: var(--accent-color-yr-text-on-dark); background-color: rgba(0, 82, 212, 0.8); padding: 20px 30px; margin-bottom: 5vh; text-align: left; max-width: 80%; border-radius: 4px; }
.slide-yr-title { font-family: var(--font-display-yr); font-size: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 0.3em; color: var(--accent-color-yr-text-on-dark); line-height: 1.1; }
.slide-yr-description { font-family: var(--font-main-yr); font-size: clamp(0.9rem, 1.5vw, 1.1rem); color: rgba(255, 255, 255, 0.85); line-height: 1.5; margin-bottom: 0; }
.slide-yr-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 15; background-color: var(--accent-color-yr-secondary); color: var(--text-color-yr); border: none; border-radius: 50%; width: 50px; height: 50px; font-size: 1.5rem; font-weight: bold; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color 0.2s ease, transform 0.2s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.slide-yr-nav:hover { background-color: #FFC700; transform: translateY(-50%) scale(1.05); }
.slide-yr-nav.prev { left: 20px; } .slide-yr-nav.next { right: 20px; }
.slide-yr-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 15; display: flex; gap: 10px; }
.slide-yr-dot { width: 12px; height: 12px; background-color: rgba(255, 255, 255, 0.5); border-radius: 50%; cursor: pointer; transition: background-color 0.2s ease; }
.slide-yr-dot.active { background-color: var(--accent-color-yr-secondary); }
.gb-top-left-cluster { position: absolute; top: 8vh; left: 33vw; z-index: 50;}
.gb-top-left-cluster > div { background-color: var(--accent-color-yr); position: absolute; }
.gb-top-left-cluster .block1 { width: 15px; height: 15px; top: 0; left: 0;} .gb-top-left-cluster .block2 { width: 15px; height: 15px; top: 20px; left: 0;} .gb-top-left-cluster .block3 { width: 15px; height: 15px; top: 20px; left: 20px;} .gb-top-left-cluster .block4 { width: 8px; height: 8px; top: 5px; left: 25px; background-color: var(--accent-color-yr-secondary); opacity: 0.8;}
.hero-yr-graphic-block.gb-accent-bar-top { top: 5vh; left: 30%; width: 20vw; height: 10px; background-color: var(--accent-color-yr); z-index: 5;}
.hero-yr-graphic-block.gb-accent-bar-bottom-left { bottom: 5vh; left: 30%; width: 10px; height: 15vh; background-color: var(--accent-color-yr); z-index: 5;}
.hero-yr-icon-element { position: absolute; top: 15vh; left: 33vw; z-index: 50; border: 2px solid var(--accent-color-yr); width: 35px; height: 35px; display:flex; align-items:center; justify-content:center; border-radius:2px;}
.hero-yr-icon-element svg { width: 50%; height: 50%; stroke: var(--accent-color-yr); fill: none; stroke-width: 2;}
.hero-yr-text-module { position: absolute; z-index: 25; font-family: var(--font-heading-yr); color: var(--text-color-yr); text-transform: uppercase; }
.hero-yr-text-module.tm-out-of-nowhere { position: absolute; bottom: 12vh; left: 2.5vw; color: var(--accent-color-yr-text-on-dark); z-index: 25; font-size: clamp(1.8rem, 4vw, 3.5rem); line-height:0.9; font-weight:900; }
.hero-yr-text-module.tm-out-of-nowhere span { display: block; letter-spacing: -0.03em;} .hero-yr-text-module.tm-out-of-nowhere span:nth-child(2) { padding-left: 0.5em; }
.hero-yr-text-module.tm-character-label { position: absolute; top: 10vh; left: 3vw; color: var(--accent-color-yr-text-on-dark); opacity: 0.7; z-index: 25; font-size: clamp(0.8rem, 1.5vw, 1rem); letter-spacing:1.5px;}
.hero-yr-deco-text { position: absolute; font-family: var(--font-mono-yr); font-size: 0.6rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; z-index: 10; }
.hero-yr-deco-text > span { display: inline-block; } /* Cho scramble */
.hero-yr-deco-text.hero-deco-top-right { top: 4vh; right: 34vw; color: var(--text-color-yr-subtle); writing-mode: horizontal-tb; }
.hero-yr-deco-text.hero-deco-mid-left { top: 50%; left: 2.5vw; transform: translateY(-50%); color: rgba(255,255,255,0.4); writing-mode: vertical-rl; text-orientation: mixed; }
.hero-yr-vertical-text { position: absolute; font-family: var(--font-mono-yr); font-size: clamp(0.6rem, 1vw, 0.7rem); color: var(--text-color-yr-subtle); writing-mode: vertical-rl; text-orientation: mixed; letter-spacing: 2px; text-transform: uppercase; z-index: 15; opacity: 1; }
.hero-yr-vertical-text > span { display: inline-block; } /* Cho scramble và innerHTML */
.hero-yr-vertical-text.vt-left { writing-mode: horizontal-tb; top: 3vh; left: 33vw; transform: none; z-index: 50; color: var(--text-color-yr-subtle);}
.hero-yr-vertical-text.vt-bottom-right { bottom: 3vh; right: 33vw; z-index: 50; color: var(--text-color-yr-subtle); writing-mode:horizontal-tb;}
.scroll-down-indicator { position: absolute; bottom: 30px; left: 96%; transform: translateX(-50%); z-index: 55; font-family: var(--font-mono-yr); font-size: 0.8rem; letter-spacing: 1.5px; color: var(--text-color-yr); background: var(--highlight-bg-yr); padding: 8px 15px; border: 1px solid var(--accent-color-yr); border-radius: 3px; animation: pulseScrollYR 2s infinite ease-in-out; transition: opacity 0.3s ease-out, visibility 0.3s ease-out, left 0.3s ease-out, transform 0.3s ease-out; }
.scroll-down-indicator.scrolled-past { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes pulseScrollYR { 0%, 100% { opacity: 0.7; transform: translateX(-50%) translateY(0); } 50% { opacity: 1; transform: translateX(-50%) translateY(-3px); } }
.scroll-down-indicator:hover { background: var(--accent-color-yr); color: var(--bg-color-yr); }


/* --- YR CONTENT SECTIONS --- */
.content-section { padding: 100px 0; position: relative; border-bottom: 1px solid var(--border-color-yr); overflow: hidden; background-color: transparent; }
.content-section:last-of-type { border-bottom: none; }
.content-section::before, .content-section::after { content: ''; position: absolute; background-color: var(--accent-color-yr); opacity: 0.05; z-index: -2; pointer-events: none; will-change: transform; }
#about::before { top: 15%; left: 70%; width: 100px; height: 3px; transform: skewX(-15deg); opacity: 0.08; }
#works::before { top: 8%; left: 10%; width: 5px; height: 120px; opacity: 0.07; }
#works::after { bottom: 12%; right: 8%; width: 100px; height: 100px; background-color: var(--accent-color-yr-secondary); opacity: 0.04; transform: rotate(25deg); }
#contact::before { top: 20%; left: 5%; width: 150px; height: 4px; background-color: var(--text-color-yr-subtle); opacity: 0.06; transform: skewY(10deg); }
.section-title-yr-container { margin-bottom: 50px; text-align: left; position: relative; padding-left: 0; }
.section-title-yr-container::before { display: none; }
.section-title-yr { font-family: var(--font-display-yr); font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--accent-color-yr); margin: 0; text-transform: uppercase; line-height: 1.1; }
.section-title-yr > span { display:inline-block; }
.section-title-deco-line { width: 0px; /* GSAP sẽ animate */ height: 3px; background-color: var(--text-color-yr); margin-top: 10px; }
.section-bg-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-5deg); font-family: 'Noto Sans JP', var(--font-display-yr); font-size: clamp(10rem, 25vw, 20rem); font-weight: 900; color: var(--accent-color-yr); opacity: 0.03; z-index: -1; pointer-events: none; line-height: 1; white-space: nowrap; user-select: none; will-change: transform, opacity; }
#about .section-bg-text { left: 60%; top: 40%; font-size: clamp(8rem, 20vw, 15rem); opacity: 0.04; }
#works .section-bg-text.works-bg-text { left: 20%; top: 30%; transform: translate(-50%, -50%) rotate(7deg); font-size: clamp(10rem, 22vw, 18rem); color: var(--text-color-yr-subtle); opacity: 0.025; }

/* --- YR ABOUT SECTION --- */
.about-yr-layout-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: flex-start; }
.about-yr-aside { position: relative; display: flex; flex-direction: column; align-items: center; }
.about-yr-accent-image { width: 100%; max-width: 400px; height: auto; object-fit: cover; border-radius: 4px; border: 1px solid var(--border-color-yr); padding: 5px; background-color: var(--bg-color-yr); box-shadow: 5px 5px 0px 0px var(--accent-color-yr); transition: transform 0.3s ease, box-shadow 0.3s ease;}
.about-yr-accent-image:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0px 0px var(--accent-color-yr); }
.about-yr-decorative-text { font-family: var(--font-display-yr); font-size: clamp(3rem, 8vw, 6rem); font-weight: 700; color: var(--accent-color-yr); opacity: 0.1; text-transform: uppercase; position: absolute; bottom: 10%; left: 50%; transform: translateX(-50%) rotate(-5deg); z-index: -1; pointer-events: none; white-space: nowrap; }
.about-yr-content-main {}
.about-yr-text p { font-size: 1rem; color: var(--text-color-yr); line-height: 1.8; max-width: 100%; }
.about-yr-text p strong { font-weight: 700; color: var(--text-color-yr); }
.about-yr-details-block { margin-top: 30px; padding-top: 20px; border-top: 1px dashed var(--border-color-yr); }
.detail-item { display: flex; align-items: center; margin-bottom: 8px; font-family: var(--font-mono-yr); font-size: 0.7rem; text-transform: uppercase; }
.detail-label { color: var(--text-color-yr-subtle); margin-right: 10px; min-width: 100px; }
.detail-value { color: var(--text-color-yr); font-weight: 500; }
.detail-item.detail-lines span { display: inline-block; height: 1px; background-color: var(--border-color-yr); margin-right: 5px; }
.detail-item.detail-lines span:nth-child(1) { width: 30px; } .detail-item.detail-lines span:nth-child(2) { width: 50px; opacity: 0.7; } .detail-item.detail-lines span:nth-child(3) { width: 20px; opacity: 0.5; }

.skills-yr-subsection { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border-color-yr); }
.skills-title-yr { font-family: var(--font-heading-yr); font-size: clamp(1.2rem, 2.5vw, 1.8rem); color: var(--text-color-yr); margin-bottom: 30px; text-transform: uppercase; letter-spacing: 0.8px; }
.skills-title-yr::after { content: '>>>'; font-family: var(--font-mono-yr); font-size: 0.8em; color: var(--text-color-yr-subtle); margin-left: 15px; font-weight: normal; vertical-align: middle; }
.skills-category-group { margin-bottom: 35px; } .skills-category-group:last-child { margin-bottom: 0; }
.skills-subtitle-yr { font-family: var(--font-heading-yr); font-size: clamp(1.0rem, 1.8vw, 1.3rem); color: var(--accent-color-yr); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; padding-bottom: 5px; position: relative; font-weight: 600; }
.skills-subtitle-yr > span { display: inline-block; }
.skills-subtitle-yr::before { content: ''; position: absolute; left: 0; bottom: 0; width: var(--before-width, 0%); height: 2px; background-color: var(--accent-color-yr); opacity: 0.7; }
.skills-grid-yr { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px 25px; }
.soft-skills-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.skill-item-yr { font-family: var(--font-main-yr); font-size: 0.9rem; color: var(--text-color-yr); padding-left: 18px; position: relative; display: block; margin-bottom: 6px; }
.skill-item-yr::before { content: '▪'; position: absolute; left: 0; top: 1px; color: var(--accent-color-yr); font-size: 0.9em; }
.skills-grid-yr .skill-item-yr[data-translation-key="skillSoftwareNote"] { font-style: italic; color: var(--text-color-yr-subtle); font-size: 0.85em; padding-left: 0; margin-top: 5px; position: relative; }
.skills-grid-yr .skill-item-yr[data-translation-key="skillSoftwareNote"]::before { display: none; }
.skill-category-yr { font-family: var(--font-mono-yr); font-size: 0.8rem; color: var(--text-color-yr-subtle); text-transform: uppercase; margin-bottom: 12px; display: block; font-weight: 700; }
.about-yr-deco { margin-top: 30px; display: flex; align-items: center; }
.deco-line-yr { width: 50px; height: 0px; background: #ffffff; margin-right: 10px; }
.deco-block-yr { width: 10px; height: 10px; background: var(--accent-color-yr); margin-right: 10px; }
.deco-text-yr { font-family: var(--font-mono-yr); font-size: 0.75rem; color: var(--text-color-yr-subtle); }
.deco-text-yr > span { display: inline-block; } /* Cho scramble */

/* --- YR PROJECTS & UPDATES SECTION --- */
.subsection-title-yr { font-family: var(--font-heading-yr); font-size: clamp(1.4rem, 2.8vw, 2rem); color: var(--text-color-yr); margin-top: 50px; margin-bottom: 30px; padding-bottom: 10px; border-bottom: 2px solid var(--accent-color-yr); text-transform: uppercase; }
.subsection-title-yr.updates-title-yr { margin-top: 70px; }
.project-grid-yr, .update-grid-yr { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.project-card-yr, .update-card-yr { background-color: var(--bg-color-yr); border: 1px solid var(--border-color-yr); display: flex; flex-direction: column; transition: box-shadow 0.25s ease-out, transform 0.25s ease-out; overflow: hidden; }
.project-card-yr:hover, .update-card-yr:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); transform: translateY(-5px); }
.card-yr-image-wrapper { width: 100%; padding-top: 65%; position: relative; background-color: var(--light-gray); overflow: hidden; }
.card-yr-image-wrapper img.card-yr-image { position: absolute; top:0; left:0; width:100%; height:100%; object-fit: cover; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.card-yr-hover-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 82, 212, 0.7); display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; pointer-events: none; }
.hover-overlay-icon { font-size: 2rem; margin-bottom: 10px; }
.hover-overlay-text { font-family: var(--font-mono-yr); font-size: 0.9rem; text-transform: uppercase; }
.card-yr-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.card-yr-title { font-family: var(--font-heading-yr); font-size: 1.2rem; color: var(--text-color-yr); margin-bottom: 10px; text-transform: uppercase; transition: color 0.2s ease; }
.project-card-yr:hover .card-yr-title { color: var(--accent-color-yr); }
.card-yr-desc { font-size: 0.88rem; color: var(--text-color-yr-subtle); margin-bottom: 15px; line-height: 1.65; flex-grow: 1; }
.card-yr-tag { font-family: var(--font-mono-yr); font-size: 0.75rem; color: var(--accent-color-yr); background-color: var(--highlight-bg-yr); padding: 3px 7px; border-radius: 3px; margin-right: 6px; display: inline-block; margin-bottom: 6px; }
.project-card-yr.animation-card .card-yr-tag::before { content: " "; } .project-card-yr.illustration-card .card-yr-tag::before { content: " "; }
.card-yr-link { display: block; font-family: var(--font-mono-yr); font-size: 0.85rem; color: var(--accent-color-yr); text-align: right; margin-top: auto; padding-top: 12px; text-transform: uppercase; font-weight: 700; transition: letter-spacing 0.2s ease; }
.project-card-yr:hover .card-yr-link { letter-spacing: 0.5px; }
.update-card-yr { padding: 20px; cursor: pointer; }
.update-yr-date { font-family: var(--font-mono-yr); font-size: 0.78rem; color: var(--text-color-yr-subtle); margin-bottom: 8px; display: block; }
.update-yr-title { font-family: var(--font-heading-yr); font-size: 1.1rem; color: var(--text-color-yr); margin-bottom: 10px; text-transform: uppercase; }
.update-card-yr:hover .update-yr-title { color: var(--accent-color-yr); }
.update-yr-snippet { font-size: 0.88rem; color: var(--text-color-yr-subtle); margin-bottom: 12px; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.update-yr-arrow { font-family: var(--font-mono-yr); font-size: 1.1rem; color: var(--text-color-yr-subtle); text-align: right; display: block; transition: color 0.2s, transform 0.2s; }
.update-card-yr:hover .update-yr-arrow { color: var(--accent-color-yr); transform: translateX(5px); }

/* --- YR Contact Section (Tinh chỉnh hover cho social links) --- */
.contact-yr-content { text-align: center; }
.contact-yr-intro { font-size: 1.15rem; color: var(--text-color-yr); max-width: 680px; margin: 0 auto 40px auto; line-height: 1.75; font-weight: 500;}
.cta-button-yr { display: inline-block; background-color: var(--accent-color-yr); color: var(--bg-color-yr); padding: 12px 30px; font-family: var(--font-heading-yr); font-size: 1rem; letter-spacing: 1.2px; text-transform: uppercase; border: 2px solid var(--accent-color-yr); transition: all 0.25s ease; font-weight: 700;}
.cta-button-yr:hover { background-color: transparent; color: var(--accent-color-yr); transform: scale(1.03); }
.contact-yr-socials { margin-top: 40px; }
.contact-yr-socials a { font-family: var(--font-mono-yr); font-size: 0.85rem; color: var(--text-color-yr-subtle); margin: 0 12px; text-transform: uppercase; font-weight: 500;}
.contact-yr-socials a > span {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease-out;
}
.contact-yr-socials a:hover > span {
    transform: translateY(-3px) scale(1.05);
}
.contact-yr-socials a:hover {
    color: var(--accent-color-yr);
}

/* --- YR FOOTER (Tinh chỉnh hover cho scroll-to-top và social links trong menu footer) --- */
footer { padding: 40px 0; text-align: center; border-top: 1px solid var(--border-color-yr); background-color: var(--bg-color-yr); position: relative; }
.footer-yr-line { width: 100px; height: 2px; background: var(--border-color-yr); margin: 0 auto 20px auto; }
.footer-yr-text { font-family: var(--font-mono-yr); font-size: 0.8rem; color: var(--text-color-yr-subtle); letter-spacing: 0.8px; }
#scroll-to-top-btn { position: fixed; bottom: 25px; right: 25px; z-index: 999; background-color: rgba(13,13,13,0.75); color: var(--bg-color-yr); border: 1px solid var(--border-color-yr); border-radius: 3px; padding: 7px 10px; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s ease-out; font-family: var(--font-mono-yr); font-size:0.75rem; text-transform: uppercase; }
#scroll-to-top-btn.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#scroll-to-top-btn:hover {
    background-color: var(--accent-color-yr);
    color: var(--bg-color-yr);
    border-color: var(--accent-color-yr);
    transform: translateY(-2px) scale(1.03);
}

/* --- YR INFO MODAL (Sẵn sàng cho GSAP animation) --- */
.info-modal-yr {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    /* display, opacity, transform sẽ do GSAP quản lý */
}
.info-modal-content-yr { background-color: var(--bg-color-yr); color: var(--text-color-yr); padding: 35px; border-radius: 4px; width: 100%; max-width: 720px; max-height: 88vh; overflow-y: auto; position: relative; box-shadow: 0 6px 25px rgba(0,0,0,0.25); border: 1px solid var(--border-color-yr); }
.info-modal-close-yr { position: absolute; top: 12px; right: 18px; background: none; border: none; font-family: var(--font-mono-yr); font-size: 0.85rem; color: var(--text-color-yr-subtle); cursor: pointer; padding: 6px; text-transform: uppercase; }
.info-modal-close-yr:hover { color: var(--accent-color-yr); }
.modal-yr-title { font-family: var(--font-heading-yr); font-size: clamp(1.4rem, 3.2vw, 2rem); color: var(--text-color-yr); margin-bottom: 10px; text-transform: uppercase; }
.modal-yr-date { font-family: var(--font-mono-yr); font-size: 0.8rem; color: var(--text-color-yr-subtle); margin-bottom: 25px; }
.modal-yr-body { font-size: 0.92rem; line-height: 1.75; color: var(--text-color-yr); }
.modal-yr-body p { margin-bottom: 1.2em; color: var(--text-color-yr); }
.modal-yr-body img { max-width: 100%; height: auto; margin: 18px 0; border: 1px solid var(--border-color-yr); }
.modal-yr-body .highlight-text-yr { margin: 0 2px; }

/* --- INTERACTIVE BACKGROUND ELEMENTS (Tinh chỉnh opacity) --- */
.interactive-bg-element { position: absolute; z-index: -1; pointer-events: none; will-change: transform; /* opacity và transform sẽ do GSAP quản lý */ --visible-opacity: 0.1; }
.ibe-square-1 { width: 150px; height: 150px; background-color: var(--accent-color-yr); top: 10%; left: 75%; --visible-opacity: 0.08;}
.ibe-line-1 { width: 2px; height: 200px; background-color: var(--border-color-yr); top: 40%; left: 15%; --visible-opacity: 0.4;}
.ibe-char-1 { font-family: 'Noto Sans JP', var(--font-display-yr); font-size: 180px; font-weight: 900; color: var(--accent-color-yr); top: 20%; right: 10%; line-height: 1; --visible-opacity: 0.06;}
.ibe-rect-1 { width: 200px; height: 80px; border: 3px solid var(--accent-color-yr); bottom: 15%; left: 5%; --visible-opacity: 0.15;}
.ibe-dots-1 { display: flex; gap: 10px; bottom: 10%; right: 10%; --visible-opacity: 0.25;}
.ibe-dots-1 span { width: 15px; height: 15px; background-color: var(--accent-color-yr); display: block; }
.ibe-dots-1 span:nth-child(2) { opacity: 0.7; } .ibe-dots-1 span:nth-child(3) { opacity: 0.4; }


/* --- NEW MENU TOGGLE & OVERLAY STYLES (Tinh chỉnh hover cho label) --- */
.menu-toggle { position: relative; width: auto; min-width: 60px; height: 24px; cursor: pointer; font-family: var(--font-mono-yr); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-color-yr); mix-blend-mode: difference; display: flex; align-items: center; justify-content: center; user-select: none; }
#main-header.header-scrolled .menu-toggle { mix-blend-mode: normal; color: var(--text-color-yr); }
.menu-toggle p { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; will-change: transform, opacity; transform-origin: center center; color: inherit; transition: transform 0.2s ease-out, opacity 0.2s ease-out; }
.menu-toggle:hover #menu-open:not([style*="opacity: 0"]),
.menu-toggle:hover #menu-close:not([style*="opacity: 0"]) {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8 !important;
}

#main-header.header-scrolled .menu-toggle:hover #menu-open:not([style*="opacity: 0"]),
#main-header.header-scrolled .menu-toggle:hover #menu-close:not([style*="opacity: 0"]) {
    opacity: 1 !important;
}

#menu-close { opacity: 0; transform: translate(-50%, -50%) translateY(10px) rotate(5deg); }
.menu-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: #ffc700; z-index: 999; color: var(--accent-color-yr-text-on-dark); clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.menu-content { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 5vw; transform-origin: left bottom; will-change: transform, opacity; opacity: 0; transform: translateX(-100px) translateY(-100px) scale(1.2) rotate(-10deg); }
.menu-items { display: flex; width: 100%; max-width: 1100px; gap: 40px; flex-grow: 1; align-items: center; padding-bottom: 30px; }
.menu-items .col-lg { flex: 3; display: flex; justify-content: center; align-items: center; }
.menu-items .col-sm { flex: 2; display: flex; flex-direction: column; justify-content: center; }
.menu-preview-img-container { height: 100%; display: flex; align-items: center; justify-content: center; }
.menu-preview-img { width: 75%; max-width: 350px; aspect-ratio: 3 / 4; position: relative; overflow: hidden; }
.menu-preview-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform, opacity; }
.menu-links, .menu-socials { display: flex; flex-direction: column; }
.menu-links { gap: 15px; margin-bottom: 30px; } .menu-socials { gap: 8px; margin-bottom: 20px; }
.link, .social { position: relative; padding-bottom: 8px; }
.link a, .social a, .menu-footer a { display: inline-block; color: #0D0D0D; text-decoration: none; position: relative; will-change: transform, opacity; opacity: 0; transform: translateY(120%); transition: color 0.3s ease; }
.link a > span, .social a > span, .menu-footer a > span { display: inline-block; }

.link a { font-family: var(--font-display-yr); font-size: clamp(2.5rem, 5vw, 3.8rem); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.1; }
.social a, .menu-footer a { font-family: var(--font-main-yr); font-size: clamp(0.9rem, 1.8vw, 1.1rem); }
.social a { color: #333; }
.social a:hover > span, .menu-footer a:hover > span {
    color: #000;
    transform: translateY(-3px);
}
.social a:hover, .menu-footer a:hover { color: #000; } /* Fallback nếu không có span */

.link a::after, .social a::after, .menu-footer a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background-color: #0D0D0D; transform: scaleX(0); transform-origin: right; transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); }
.link a:hover::after, .social a:hover::after, .menu-footer a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-footer { width: 100%; max-width: 1100px; padding-top: 20px; border-top: 1px solid rgba(13,13,13, 0.2); display: flex; justify-content: space-between; }
.menu-footer .col-lg { flex: 3; }
.menu-footer .col-sm { flex: 2; display: flex; justify-content: space-between; align-items: center; }
#page-content-wrapper { position: relative; width: 100%; min-height: 100vh; background-color: var(--bg-color-yr); z-index: 10; transform-origin: right top; will-change: transform; }


/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-yr { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; min-height: 100vh; }
    .hero-yr-title-block-wrapper { grid-column: 1 / -1; grid-row: 1 / 2; height: auto; min-height: 40vh; align-items: center; text-align: center; padding: 5vh 5vw; }
    .hero-slideshow-yr { grid-column: 1 / -1; grid-row: 2 / 3; height: 60vh; }
    .yr-title-jp-main { font-size: clamp(3.5rem, 10vw, 7rem); }
    .yr-title-jp-sub { text-align: center; margin-left:0; }
    .slide-yr-content { max-width: 90%; margin-bottom: 3vh; padding: 15px 20px; }
    .slide-yr-title { font-size: clamp(1.2rem, 2.5vw, 2rem); }
    .slide-yr-description { font-size: clamp(0.8rem, 1.2vw, 1rem); }
    .slide-yr-nav { width: 40px; height: 40px; font-size: 1.2rem; } .slide-yr-nav.prev { left: 15px; } .slide-yr-nav.next { right: 15px; }
    .gb-top-left-cluster, .hero-yr-graphic-block.gb-accent-bar-top, .hero-yr-graphic-block.gb-accent-bar-bottom-left, .hero-yr-icon-element, .hero-yr-vertical-text:not(.vt-bottom-right) { display: none; }
    .hero-yr-deco-text.hero-deco-top-right, .hero-yr-deco-text.hero-deco-mid-left { display:none; }
    .tm-out-of-nowhere, .tm-character-label { position: static; text-align: center; margin: 10px auto; }
    .scroll-down-indicator { left: 50%; transform: translateX(-50%); bottom: 20px; }
    .about-yr-layout-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .skills-grid-yr { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
    .about-yr-aside { order: -1; margin-bottom: 30px; }
    .about-yr-decorative-text { font-size: clamp(2.5rem, 7vw, 5rem); }
    .section-bg-text { font-size: clamp(6rem, 20vw, 12rem); opacity: 0.02 !important; }
    .interactive-bg-element { /* opacity và transform sẽ do GSAP quản lý */ }
}

@media (max-width: 900px) {
    #main-navigation-yr { display: none !important; }
    .menu-items { flex-direction: column; text-align: center; align-items: center; }
    .menu-items .col-lg.menu-preview-img-container { display: none; }
    .menu-items .col-sm { align-items: center; text-align: center; }
    .menu-links { gap: 12px; margin-bottom: 25px; }
    .link a { font-size: clamp(2rem, 6vw, 3rem); }
    .menu-footer { flex-direction: column; align-items: center; text-align: center; gap: 15px; }
    .menu-footer .col-sm { justify-content: center; gap: 20px;}
    .link a::after, .social a::after, .menu-footer a::after { display: none; }
}

@media (max-width: 768px) {
    #language-switcher { margin-left: 0; }
    .logo a, #main-header nav#main-navigation-yr ul li a.nav-link > span, .lang-btn { mix-blend-mode: normal; filter: none; color: var(--text-color-yr); }
    #main-header.header-scrolled nav#main-navigation-yr ul li a.nav-link > span { color: var(--text-color-yr-subtle); }
    .hero-yr-title-block-wrapper { min-height: 35vh; }
    .hero-slideshow-yr { height: 65vh; }
    .section-title-yr { font-size: clamp(1.8rem, 4.5vw, 3rem); }
    .soft-skills-grid { grid-template-columns: 1fr; }
    .project-grid-yr, .update-grid-yr { grid-template-columns: 1fr; gap: 25px; }
    .info-modal-content-yr { padding: 25px; }
    .about-yr-accent-image { max-width: 300px; }
    .about-yr-decorative-text { font-size: clamp(2rem, 10vw, 4rem); position: relative; transform: none; text-align: center; margin-top: -20px; opacity: 0.15; }
    .interactive-bg-element:not(.ibe-line-1) { display: none; }
    .ibe-line-1 { display: block; /* opacity và transform do GSAP quản lý */ }
    .section-bg-text { font-size: clamp(4rem, 15vw, 8rem); opacity: 0.015 !important; }
}

@media (max-width: 480px) {
    .container { padding: 0 15px; }
    .yr-title-jp-main { font-size: clamp(2.5rem, 12vw, 5rem); }
    .yr-title-en-main { font-size: clamp(1rem, 3vw, 1.5rem); }
    .slide-yr-content { padding: 10px 15px; margin-bottom: 8vh; }
    .slide-yr-title { font-size: clamp(1rem, 4vw, 1.5rem); }
    .slide-yr-description { display: none; }
    .slide-yr-nav { width: 35px; height: 35px; font-size: 1rem; } .slide-yr-nav.prev { left: 10px; } .slide-yr-nav.next { right: 10px; }
    .slide-yr-dot { width: 10px; height: 10px; } .slide-yr-dots { bottom: 15px; }
    .scroll-down-indicator { font-size: 0.75rem; padding: 7px 13px; bottom: 15px; }
    .section-title-yr { font-size: clamp(1.5rem, 5vw, 2.5rem); }
    .about-yr-text p { font-size: 0.92rem; }
    .skills-title-yr {font-size: clamp(1.1rem, 2.2vw, 1.5rem);}
    .skills-subtitle-yr { font-size: clamp(0.9rem, 1.6vw, 1.1rem); }
    .skill-item-yr {font-size: 0.88rem;}
    .skills-grid-yr { grid-template-columns: 1fr; }
    .info-modal-close-yr { top: 8px; right: 8px; font-size:0.75rem; padding:4px; }
    .modal-yr-title {font-size: clamp(1.2rem, 4.5vw, 1.7rem);}
    .modal-yr-body {font-size:0.88rem;}
    .link a { font-size: clamp(1.8rem, 5.5vw, 2.5rem); }
    .section-bg-text { display: none; }
    .about-yr-details-block { font-size: 0.65rem; }
}

/* --- IMAGE MODAL STYLES --- */
.image-modal-yr {
  display: none; position: fixed; z-index: 20000; left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85); justify-content: center; align-items: center;
  transition: opacity 0.3s;
}
.image-modal-yr.active { display: flex; }
.image-modal-content {
  max-width: 90vw; max-height: 70vh; border-radius: 8px; box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  background: #fff; object-fit: contain; display: block; margin: 0 auto;
  transition: transform 0.5s cubic-bezier(.4,2,.3,1), opacity 0.4s cubic-bezier(.4,2,.3,1);
}
.image-modal-yr.show-anim .image-modal-content {
  transform: scale(1.08) translateY(30px);
  opacity: 0;
}
.image-modal-yr.active .image-modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}
.image-modal-caption {
  color: #fff; margin-top: 18px; text-align: center; font-size: 1.1rem; max-width: 90vw;
  display: block;
  position: static;
  background: none;
  /* Đảm bảo caption luôn nằm dưới hình, căn giữa, không bị lệch phải */
  padding: 0 10px;
  line-height: 1.5;
  font-family: var(--font-main-yr);
  font-weight: 500;
}
.image-modal-yr .image-modal-content, .image-modal-caption {
  margin-left: auto;
  margin-right: auto;
}
.image-modal-close {
  position: absolute; top: 30px; right: 40px; color: #fff; font-size: 2.2rem; font-weight: bold; cursor: pointer; z-index: 2;
  background: none; border: none; outline: none; transition: color 0.2s;
}
.image-modal-close:hover { color: var(--accent-color-yr-secondary); }
@media (max-width: 600px) {
  .image-modal-content { max-width: 98vw; max-height: 50vh; }
  .image-modal-caption { font-size: 0.95rem; }
  .image-modal-close { top: 12px; right: 16px; font-size: 1.5rem; }
}

/* --- YAMADA STYLE LABELS & DECORATIVE ELEMENTS --- */
.about-label, .works-label {
    display: inline-block;
    font-family: var(--font-mono-yr);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-color-yr);
    background: var(--highlight-bg-yr);
    border-radius: 3px;
    padding: 2px 10px;
    margin: 0 8px 8px 0;
    vertical-align: middle;
    text-transform: uppercase;
    box-shadow: 0 1px 0 0 var(--border-color-yr);
}
.about-label-id, .works-label-id {
    color: var(--accent-color-yr-secondary);
    background: none;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}
.about-label-barcode, .works-label-barcode {
    font-family: var(--font-mono-yr);
    font-size: 1.1em;
    color: var(--text-color-yr-subtle);
    letter-spacing: 0.25em;
    background: none;
    padding: 0 6px;
}
.about-label-vertical, .works-label-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.7rem;
    color: var(--text-color-yr-subtle);
    background: none;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 2px;
    letter-spacing: 0.2em;
    font-weight: 600;
}

/* --- SIDE INFO BLOCKS --- */
.about-side-info, .works-side-info {
    position: absolute;
    top: 30px;
    right: 30px;
    text-align: right;
    z-index: 2;
}
.about-side-info-title, .works-side-info-title {
    font-family: var(--font-mono-yr);
    font-size: 1.1rem;
    color: var(--accent-color-yr);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
    display: block;
}
.about-side-info-desc, .works-side-info-desc {
    font-size: 0.8rem;
    color: var(--text-color-yr-subtle);
    font-family: var(--font-mono-yr);
    letter-spacing: 0.08em;
}

/* --- DECORATIVE LINES & BOXES --- */
.section-title-deco-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color-yr) 60%, transparent 100%);
    margin: 10px 0 20px 0;
    border-radius: 2px;
}

/* --- EXTRA DECORATIVE TEXT --- */
.section-bg-text, .works-bg-text {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 7vw;
    color: #e5e5e5;
    font-family: var(--font-heading-yr);
    font-weight: 900;
    opacity: 0.13;
    pointer-events: none;
    z-index: 0;
    letter-spacing: 0.1em;
    user-select: none;
}

/* --- ABOUT/WORKS LAYOUT WRAPPER --- */
.about-yr-layout-wrapper, .project-grid-yr {
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* --- MAKE BODY SECTIONS FEEL FULLER --- */
.content-section {
    position: relative;
    padding: 80px 0 60px 0;
    min-height: 60vh;
    background: var(--bg-color-yr);
    overflow: visible;
}

/* --- DECORATIVE SQUARES, LINES, ETC. --- */
.interactive-bg-element {
    position: absolute;
    z-index: 1;
    opacity: 0.13;
}
.ibe-square-1 {
    width: 40px; height: 40px; background: var(--accent-color-yr); left: 2vw; top: 8vw; border-radius: 6px; }
.ibe-line-1 {
    width: 120px; height: 3px; background: var(--accent-color-yr-secondary); left: 8vw; top: 12vw; border-radius: 2px; }
.ibe-char-1 {
    font-size: 3vw; left: 3vw; top: 18vw; color: var(--accent-color-yr); font-family: var(--font-heading-yr); font-weight: 900; }
.ibe-rect-1 {
    width: 80px; height: 18px; background: var(--accent-color-yr); left: 10vw; top: 22vw; border-radius: 3px; }
.ibe-dots-1 span {
    display: inline-block; width: 8px; height: 8px; background: var(--accent-color-yr-secondary); border-radius: 50%; margin: 0 2px; }

/* --- MAKE SURE INFO MODAL & IMAGE MODAL ARE ABOVE --- */
.info-modal-yr, .image-modal-yr { z-index: 9999 !important; }