/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
    --bg0: #0a0a0a;
    --bg1: #111111;
    --bg2: #181818;
    --bg3: #222222;
    --bg4: #2a2a2a;

    --red:       #c0392b;
    --red-light: #e74c3c;
    --red-bg:    rgba(192,57,43,0.08);
    --red-bdr:   rgba(192,57,43,0.25);

    --gold:      #d4a017;
    --gold-bg:   rgba(212,160,23,0.08);
    --gold-bdr:  rgba(212,160,23,0.25);

    --t0: #f5f0e8;
    --t1: #d4c9bc;
    --t2: #9a8f88;
    --t3: #5a504a;

    --serif: 'Noto Serif JP', Georgia, serif;
    --sans:  'Inter', -apple-system, sans-serif;
    --mono:  'Space Mono', 'Courier New', monospace;

    --nav-h: 64px;
    --max-w: 1200px;

    --bdr: 1px solid rgba(255,255,255,0.07);
    --t-fast: 0.15s ease;
    --t-base: 0.25s ease;
}

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-light); }
body {
    background: var(--bg0);
    color: var(--t0);
    font-family: var(--sans);
    line-height: 1.6;
    overflow-x: hidden;
}
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }
strong { color: var(--t0); }

/* =============================================
   UTILITIES
   ============================================= */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

.sec-header { text-align: center; margin-bottom: 4rem; }
.sec-tag {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    color: var(--red);
    margin-bottom: 0.5rem;
}
.sec-title {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
}
.brushline {
    width: 80px; height: 4px;
    background: linear-gradient(to right, transparent, var(--red) 12%, var(--red) 82%, transparent);
    margin: 1rem auto 0;
    position: relative;
    border-radius: 1px;
}
.brushline::before {
    content: '';
    position: absolute;
    top: -1px; left: -22px;
    width: 16px; height: 3px;
    background: linear-gradient(to right, transparent, var(--red));
    opacity: 0.38;
    border-radius: 2px;
    transform: rotate(-2deg);
}
.brushline::after {
    content: '';
    position: absolute;
    bottom: -2px; right: -20px;
    width: 18px; height: 2px;
    background: linear-gradient(to right, var(--red), transparent);
    opacity: 0.22;
    border-radius: 2px;
    transform: rotate(3deg);
}

.sec-kanji-bg {
    position: absolute;
    top: 50%; right: -0.08em;
    transform: translateY(-50%);
    font-family: var(--serif);
    font-size: clamp(7rem, 18vw, 15rem);
    font-weight: 900;
    color: rgba(255,255,255,0.028);
    user-select: none;
    pointer-events: none;
    line-height: 1;
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(10,10,10,0.82);
    backdrop-filter: blur(14px);
    border-bottom: var(--bdr);
    transition: background var(--t-base);
}
.nav.scrolled { background: rgba(10,10,10,0.97); }

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; }
.logo-mon  { color: var(--red); display: flex; align-items: center; flex-shrink: 0; }
.logo-text { font-family: var(--mono); font-size: 0.95rem; letter-spacing: 0.05em; }

.nav-links { display: flex; gap: 2rem; }
.nav-link {
    font-family: var(--serif);
    font-size: 0.95rem;
    color: var(--t2);
    transition: color var(--t-fast);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0; right: 0;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform var(--t-base);
}
.nav-link:hover, .nav-link.active { color: var(--t0); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--t0); }

/* =============================================
   SECTION LAYOUT BASE
   ============================================= */
.section-hero,
.section-skills,
.section-about,
.section-projects,
.section-contact {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}
.section-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--nav-h) + 2rem);
}
.section-skills, .section-projects {
    background: var(--bg1);
    border-top: var(--bdr);
    border-bottom: var(--bdr);
}

/* =============================================
   HERO BACKGROUND
   ============================================= */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.bg-kanji {
    position: absolute;
    bottom: -0.08em; left: -0.06em;
    font-family: var(--serif);
    font-size: clamp(10rem, 28vw, 22rem);
    font-weight: 900;
    color: rgba(192,57,43,0.045);
    line-height: 1;
    user-select: none;
}
.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(192,57,43,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192,57,43,0.022) 1px, transparent 1px);
    background-size: 60px 60px;
}
.bg-circle {
    position: absolute;
    top: 12%; right: 8%;
    width: 380px; height: 380px;
    border-radius: 50%;
    border: 1px solid rgba(192,57,43,0.08);
}
.bg-circle::before {
    content: '';
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    border: 1px solid rgba(192,57,43,0.05);
}
.bg-circle::after {
    content: '';
    position: absolute;
    inset: 40%;
    border-radius: 50%;
    border: 1px solid rgba(192,57,43,0.05);
}

/* Sakura petals */
@keyframes sakura-fall {
    0%   { transform: translateY(0) rotate(0deg);    opacity: 0; }
    8%   { opacity: 0.12; }
    92%  { opacity: 0.06; }
    100% { transform: translateY(100vh) rotate(500deg); opacity: 0; }
}
.sakura {
    position: absolute;
    border-radius: 150% 0 150% 0;
    background: rgba(255, 190, 210, 0.13);
    animation: sakura-fall linear infinite;
    pointer-events: none;
}
.s1 { width: 9px;  height: 11px; top: 6%;  left: 66%; animation-duration: 14s; animation-delay: 0s;   }
.s2 { width: 7px;  height: 9px;  top: 20%; left: 81%; animation-duration: 10s; animation-delay: 4s;   }
.s3 { width: 11px; height: 13px; top: 3%;  left: 91%; animation-duration: 16s; animation-delay: 8s;   }
.s4 { width: 6px;  height: 8px;  top: 32%; left: 73%; animation-duration: 12s; animation-delay: 2s;   }
.s5 { width: 8px;  height: 10px; top: 12%; left: 58%; animation-duration: 11s; animation-delay: 6.5s; }
.s6 { width: 10px; height: 12px; top: 2%;  left: 77%; animation-duration: 15s; animation-delay: 11s;  }

/* Background crossed katanas */
.bg-sword {
    position: absolute;
    top: 50%; right: 13%;
    transform: translateY(-50%);
    width: clamp(160px, 26vw, 240px);
    color: rgba(192,57,43,0.045);
    pointer-events: none;
    user-select: none;
}
.bg-sword svg { width: 100%; height: auto; display: block; }

/* =============================================
   HERO LAYOUT
   ============================================= */
.hero-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* =============================================
   WANTED POSTER
   ============================================= */
.poster-wrap {
    position: relative;
    flex-shrink: 0;
}

.tack {
    position: absolute;
    width: 13px; height: 13px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #bbb, #555);
    box-shadow: 0 2px 4px rgba(0,0,0,0.55);
    z-index: 2;
}
.tack-tl { top: -6px;  left: -6px;  }
.tack-tr { top: -6px;  right: -6px; }
.tack-bl { bottom: -6px; left: -6px;  }
.tack-br { bottom: -6px; right: -6px; }

.wanted-poster {
    width: 320px;
    background-color: #c8b79a;
    background-image:
        radial-gradient(ellipse at 25% 15%, rgba(220,205,170,0.55) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 88%, rgba(140,110,60,0.2) 0%, transparent 50%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(90,65,30,0.018) 3px,
            rgba(90,65,30,0.018) 4px
        );
    border: 6px solid #2b1b08;
    box-shadow:
        inset 0 0 60px rgba(0,0,0,0.1),
        0 12px 50px rgba(0,0,0,0.8),
        0 2px 0 #1a0c03;
    color: #1a0e04;
    position: relative;
    overflow: hidden;
}
.wanted-poster::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 16px;
    width: 1.5px;
    background: rgba(20,10,2,0.13);
    pointer-events: none;
    z-index: 5;
}
.wanted-poster::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; right: 16px;
    width: 1.5px;
    background: rgba(20,10,2,0.13);
    pointer-events: none;
    z-index: 5;
}

/* WANTED heading */
.poster-wanted-section {
    padding: 4px 12px 2px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.poster-wanted {
    font-family: 'Pirata One', Georgia, 'Times New Roman', serif;
    font-size: 4.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #1a0e04;
    line-height: 0.95;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.08);
}

/* Photo */
.poster-photo-wrap {
    padding: 4px 10px 4px;
    position: relative;
    z-index: 1;
}
.poster-photo {
    border: 4px solid #1a0e04;
    background: #c8b890;
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}
.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.poster-hanko {
    position: absolute;
    bottom: 10px; right: 14px;
    width: 50px; height: 50px;
    border: 2.5px solid rgba(150, 15, 10, 0.72);
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px rgba(150, 15, 10, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-22deg);
    z-index: 3;
    pointer-events: none;
}
.hanko-kanji {
    font-family: var(--serif);
    font-size: 0.88rem;
    font-weight: 900;
    color: rgba(150, 15, 10, 0.72);
    letter-spacing: 0.05em;
}

/* DEAD OR ALIVE */
.poster-doa-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 10px 3px;
    border-top: 3px solid #1a0e04;
    position: relative;
    z-index: 1;
}
.poster-doa {
    font-family: 'Pirata One', Georgia, serif;
    font-size: 1.1rem;
    letter-spacing: 0.16em;
    color: #1a0e04;
}
.doa-orn {
    color: #1a0e04;
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Nameplate */
.poster-nameplate {
    text-align: center;
    padding: 3px 10px 2px;
    position: relative;
    z-index: 1;
}
.poster-name {
    font-family: 'Pirata One', Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    letter-spacing: 0.16em;
    color: #1a0e04;
    line-height: 1.05;
}

/* Bounty */
.poster-bounty {
    text-align: center;
    padding: 3px 10px 5px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    position: relative;
    z-index: 1;
}
.bounty-berry {
    font-family: Georgia, serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: #1a0e04;
}
.bounty-num {
    font-family: 'Pirata One', Georgia, serif;
    font-size: 1.6rem;
    color: #1a0e04;
    letter-spacing: 0.02em;
}
.bounty-dash {
    font-family: Georgia, serif;
    font-size: 1.55rem;
    color: #1a0e04;
}

/* Footer */
.poster-foot {
    padding: 5px 10px 7px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.poster-fine {
    font-size: 0.36rem;
    color: #3d2510;
    font-family: Georgia, serif;
    line-height: 1.55;
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.poster-marine {
    font-family: 'Pirata One', Georgia, serif;
    font-size: 1.2rem;
    color: #1a0e04;
    letter-spacing: 0.12em;
    flex-shrink: 0;
    line-height: 1;
}

/* =============================================
   HERO TEXT
   ============================================= */
.hero-text { max-width: 540px; }

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.eyebrow-kanji {
    font-family: var(--serif);
    font-size: 1.9rem;
    color: var(--red);
    line-height: 1;
}
.eyebrow-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--t2);
    text-transform: uppercase;
}

.hero-name {
    display: flex;
    flex-direction: column;
    font-family: var(--serif);
    font-weight: 900;
    line-height: 1.0;
    margin-bottom: 1rem;
}
.name-first { font-size: clamp(2.4rem, 5.5vw, 3.8rem); color: var(--t0); }
.name-last  { font-size: clamp(2.4rem, 5.5vw, 3.8rem); color: var(--red); }

.hero-loc {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--t2);
    margin-bottom: 1.25rem;
}

.hero-bio {
    font-size: 0.97rem;
    color: var(--t1);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    max-width: 430px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}
.htag {
    font-size: 0.78rem;
    padding: 4px 12px;
    border: 1px solid var(--red-bdr);
    background: var(--red-bg);
    color: var(--t1);
    border-radius: 2px;
    font-family: var(--mono);
}

.hero-btns { display: flex; gap: 1rem; align-items: center; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 22px;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 2px;
    transition: all var(--t-base);
    cursor: pointer;
    border: 1px solid transparent;
    font-family: var(--sans);
}
.btn-primary {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
.btn-primary:hover {
    background: var(--red-light);
    border-color: var(--red-light);
    box-shadow: 0 0 20px rgba(192,57,43,0.35);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--t0);
    border-color: rgba(255,255,255,0.18);
}
.btn-outline:hover {
    border-color: var(--t0);
    background: rgba(255,255,255,0.04);
}

/* =============================================
   SCROLL HINT
   ============================================= */
.scroll-hint {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: shPulse 2.5s ease-in-out infinite;
}
.sh-text {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    color: var(--t3);
}
.sh-bar {
    width: 1px; height: 46px;
    background: linear-gradient(to bottom, var(--red) 0%, transparent 100%);
    animation: shBar 2.5s ease-in-out infinite;
}
@keyframes shPulse { 0%,100%{opacity:.35} 50%{opacity:.75} }
@keyframes shBar {
    0%     { transform: scaleY(0); transform-origin: top; }
    50%    { transform: scaleY(1); transform-origin: top; }
    50.01% { transform-origin: bottom; }
    100%   { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================
   SKILLS SECTION
   ============================================= */
.skills-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.radar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.radar-label {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: var(--t2);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.radar-wrap { width: 100%; max-width: 380px; }
.radar-wrap canvas { width: 100% !important; height: auto !important; }
.radar-note {
    font-size: 0.72rem;
    color: var(--t3);
    margin-top: 0.75rem;
    font-style: italic;
}

.bars-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.bar-group { display: flex; flex-direction: column; gap: 0.9rem; }
.bar-cat {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    color: var(--red);
    text-transform: uppercase;
    border-left: 2px solid var(--red);
    padding-left: 0.5rem;
    margin-bottom: 0.25rem;
}
.bar-cat--gold { color: var(--gold); border-left-color: var(--gold); }
.cat-icon {
    font-family: var(--serif);
    font-size: 0.85em;
    margin-right: 0.35em;
    opacity: 0.7;
}

.skillbar { display: flex; flex-direction: column; gap: 5px; }
.sb-meta  { display: flex; justify-content: space-between; align-items: center; }
.sb-name  { font-size: 0.88rem; color: var(--t1); }
.sb-val   { font-family: var(--mono); font-size: 0.72rem; color: var(--t2); }
.sb-val--gold { color: var(--gold); font-size: 0.68rem; }

.sb-track { height: 4px; background: var(--bg4); border-radius: 2px; overflow: hidden; }
.sb-fill {
    height: 100%;
    width: 0%;
    background: var(--red);
    border-radius: 2px;
    transition: width 1.2s cubic-bezier(0.16,1,0.3,1);
}
.sb-fill--gold { background: var(--gold); }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    color: var(--t1);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.blade-rule {
    margin: 1.5rem 0 0;
    color: rgba(192,57,43,0.2);
}
.blade-rule svg { display: block; width: 120px; height: auto; }

.st-callout {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1rem 1.25rem;
    background: rgba(212,160,23,0.05);
    border: 1px solid rgba(212,160,23,0.16);
    margin: 1.5rem 0;
}
.st-kanji {
    font-family: var(--serif);
    font-size: 2.4rem;
    color: var(--gold);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.8;
}
.st-label {
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.24em;
    color: var(--gold);
    margin-bottom: 0.3rem;
}
.st-body p {
    font-size: 0.82rem;
    color: var(--t2);
    line-height: 1.65;
    margin-bottom: 0;
}

.about-quote {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border: none;
    border-left: 3px solid var(--red);
    background: linear-gradient(to right, rgba(192,57,43,0.07), rgba(192,57,43,0.015));
    margin-top: 1.75rem;
}
.quote-kanji {
    font-family: var(--serif);
    font-size: 2.8rem;
    color: var(--red);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.85;
}
blockquote {
    font-family: var(--serif);
    font-style: italic;
    color: var(--t1);
    font-size: 0.9rem;
    line-height: 1.75;
}

.interest-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.int-card {
    background: var(--bg2);
    border: var(--bdr);
    border-radius: 0;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color var(--t-base), transform var(--t-base);
}
.int-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 16px; height: 16px;
    background: var(--bg0);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    z-index: 2;
    pointer-events: none;
}
.int-card:hover {
    border-color: var(--red-bdr);
    transform: translateY(-2px);
}
.int-icon { font-size: 1.4rem; line-height: 1; }
.int-card h3 {
    font-family: var(--serif);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--t0);
}
.int-card p { font-size: 0.78rem; color: var(--t2); line-height: 1.55; }

/* =============================================
   PROJECTS SECTION
   ============================================= */
.proj-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
}

.proj-card {
    background: var(--bg2);
    border: var(--bdr);
    border-radius: 0;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}
.proj-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 20px; height: 20px;
    background: var(--bg1);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    z-index: 2;
    pointer-events: none;
}
.proj-card--live {
    border-color: var(--red-bdr);
}
.proj-card--live:hover {
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 20px rgba(192,57,43,0.2);
}
.proj-card--locked { opacity: 0.55; }

.proj-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.proj-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: var(--t2);
}
.dot {
    width: 7px; height: 7px;
    border-radius: 50%;
}
.dot--live {
    background: #27ae60;
    box-shadow: 0 0 6px rgba(39,174,96,0.6);
    animation: dotPulse 2s ease-in-out infinite;
}
.dot--dim { background: var(--t3); }
@keyframes dotPulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.proj-num {
    font-family: var(--mono);
    font-size: 2.2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.07);
    line-height: 1;
}
.proj-title {
    font-family: var(--serif);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--t0);
}
.proj-desc {
    font-size: 0.83rem;
    color: var(--t2);
    line-height: 1.6;
    flex: 1;
}
.proj-tech { display: flex; flex-wrap: wrap; gap: 6px; }
.ttag {
    font-family: var(--mono);
    font-size: 0.68rem;
    padding: 2px 8px;
    background: var(--red-bg);
    border: 1px solid var(--red-bdr);
    color: var(--red);
    border-radius: 2px;
}
.ttag--dim {
    background: var(--bg4);
    border-color: rgba(255,255,255,0.04);
    color: var(--t3);
}
.proj-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-family: var(--mono);
    color: var(--red);
    transition: color var(--t-fast);
    margin-top: auto;
}
.proj-link:hover { color: var(--red-light); }

.proj-soon {
    position: absolute;
    bottom: 14px; right: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.soon-kanji {
    font-family: var(--serif);
    font-size: 2.2rem;
    color: rgba(255,255,255,0.04);
    line-height: 1;
}
.soon-text {
    font-family: var(--mono);
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    color: var(--t3);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-intro {
    text-align: center;
    color: var(--t2);
    font-size: 0.92rem;
    max-width: 380px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;
    max-width: 660px;
    margin: 0 auto;
}

.ccard {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    background: var(--bg2);
    border: var(--bdr);
    border-radius: 4px;
    transition: all var(--t-base);
    cursor: pointer;
}
.ccard:hover {
    border-color: var(--red-bdr);
    background: var(--bg3);
    transform: translateY(-2px);
}
.ccard-icon {
    width: 40px; height: 40px;
    background: var(--red-bg);
    border: 1px solid var(--red-bdr);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--red);
}
.ccard-icon svg { width: 17px; height: 17px; }
.ccard-info { flex: 1; }
.ccard-label {
    font-family: var(--mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: var(--t3);
    text-transform: uppercase;
}
.ccard-val {
    font-size: 0.88rem;
    color: var(--t0);
    font-weight: 500;
    margin-top: 2px;
}
.ccard-arr, .ccard-copy {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--t3);
    transition: color var(--t-fast);
    flex-shrink: 0;
}
.ccard:hover .ccard-arr,
.ccard:hover .ccard-copy { color: var(--red); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    border-top: var(--bdr);
    padding: 1.75rem 0;
    background: var(--bg1);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-l { display: flex; align-items: center; gap: 1rem; }
.footer-name { font-family: var(--mono); font-weight: 700; font-size: 0.88rem; }
.footer-yr   { font-size: 0.78rem; color: var(--t3); }
.footer-kanji {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--red);
    opacity: 0.55;
}
.footer-r { font-size: 0.72rem; color: var(--t3); font-family: var(--mono); }

/* =============================================
   SCROLL ENTRANCE ANIMATIONS
   ============================================= */
[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-aos].aos-in {
    opacity: 1;
    transform: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .poster-wrap { justify-self: center; }
    .hero-eyebrow, .hero-btns { justify-content: center; }
    .hero-bio   { margin: 0 auto 1.5rem; }
    .hero-tags  { justify-content: center; }
    .hero-loc   { justify-content: center; }
    .skills-layout { grid-template-columns: 1fr; }
    .about-layout  { grid-template-columns: 1fr; }
    .proj-grid     { grid-template-columns: 1fr; }
    .contact-grid  { grid-template-columns: 1fr; }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-h); left: 0; right: 0;
        background: var(--bg1);
        border-bottom: var(--bdr);
        padding: 1.5rem 2rem;
        flex-direction: column;
        gap: 1.25rem;
    }
    .nav-links.open { display: flex; }
    .nav-toggle     { display: flex; }
}

@media (max-width: 580px) {
    .container { padding: 0 1.25rem; }
    .wanted-poster { width: 268px; }
    .poster-wanted { font-size: 4rem; }
    .poster-name   { font-size: 1.7rem; }
    .bounty-num, .bounty-berry, .bounty-dash { font-size: 1.35rem; }
    .interest-grid { grid-template-columns: 1fr; }
}
