/* Custom Properties */
:root {
    --bg-color: #0f0f0d;
    --bg-raised: #161613;
    --text-primary: #f2f0ea;
    --text-secondary: #8a8880;
    --accent-1: #eab308; /* Yellow accent */
    --accent-hover: #facc15;
    --line: rgba(242, 240, 234, 0.16);
    --line-soft: rgba(242, 240, 234, 0.08);

    --font-display: 'Anton', 'Zen Kaku Gothic New', sans-serif;
    --font-heading: 'Outfit', 'Zen Kaku Gothic New', sans-serif;
    --font-body: 'Outfit', 'Zen Kaku Gothic New', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--accent-1);
    color: #0f0f0d;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #33322d;
    border-radius: 5px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* Film grain overlay */
.grain {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    z-index: 9000;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain-shift 0.9s steps(4) infinite;
}

@keyframes grain-shift {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-2%, 1%); }
    50% { transform: translate(1%, -2%); }
    75% { transform: translate(-1%, 2%); }
    100% { transform: translate(2%, -1%); }
}

/* Scroll progress bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--accent-1);
    z-index: 1100;
}

/* Small uppercase label */
.hero-label,
.section-num,
.category,
.duration,
.period,
.filter-btn,
.meta-label,
.row-cat,
.row-year {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
    background: rgba(15, 15, 13, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-soft);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 2.5rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.logo-dot {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.14em;
    vertical-align: super;
    margin-left: 0.4rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background: var(--accent-1);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-1);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 110px 2.5rem 3rem;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: auto;
}

.hero-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.name {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(4.5rem, 17vw, 19rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin: 2rem 0 2.5rem;
    display: flex;
    flex-direction: column;
}

.name .line {
    display: block;
    animation: rise-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.name .line:nth-child(2) {
    animation-delay: 0.15s;
}

@keyframes rise-in {
    0% {
        opacity: 0;
        transform: translateY(40%) skewY(3deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) skewY(0);
    }
}

.name .fill {
    /* Mouse-tracking gradient */
    background: radial-gradient(circle 400px at var(--mouse-x, 30%) var(--mouse-y, 50%), var(--accent-1) 0%, var(--text-primary) 45%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.name .outline {
    color: transparent;
    -webkit-text-stroke: 2px var(--text-primary);
    transition: color 0.4s ease;
}

.name .outline:hover {
    color: var(--accent-1);
    -webkit-text-stroke: 2px var(--accent-1);
}

.hero-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.role {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-primary);
}

.role .slash {
    color: var(--accent-1);
    margin: 0 0.6em;
}

.summary {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.scroll-hint {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.3s ease;
}

.scroll-hint:hover {
    color: var(--accent-1);
}

.scroll-arrow {
    display: inline-block;
    animation: bounce-down 1.6s ease-in-out infinite;
}

@keyframes bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.4rem;
    border-radius: 999px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background: var(--accent-1);
    color: #0f0f0d;
    border: 1px solid var(--accent-1);
}

.primary-btn:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Marquee */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 1.4rem 0;
    white-space: nowrap;
    background: var(--bg-raised);
}

.marquee-track {
    display: inline-flex;
    animation: marquee-scroll 28s linear infinite;
}

.marquee-track span {
    font-family: var(--font-display);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-secondary);
}

.marquee-track i {
    font-style: normal;
    -webkit-text-stroke: 0;
    color: var(--accent-1);
    margin: 0 1.2rem;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Sections */
section {
    padding: 9rem 0;
}

.section-head {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 4.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.section-num {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-1);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--text-primary);
}

/* About Section */
.about-statement {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.6vw, 2rem);
    font-weight: 500;
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 60ch;
    margin-bottom: 5rem;
}

.about-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
}

.meta-item {
    padding: 2rem 1.5rem 2rem 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.meta-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-1);
}

.meta-value {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.7;
}

.meta-value small {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Project Filter */
.project-filter {
    display: flex;
    gap: 2.2rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.2rem 0;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.filter-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: var(--accent-1);
    transition: width 0.3s ease;
}

.filter-btn:hover {
    color: var(--text-primary);
}

.filter-btn.active {
    color: var(--text-primary);
}

.filter-btn.active::after {
    width: 100%;
}

/* Projects split layout: rows left, sticky preview right */
.projects-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: start;
}

.project-preview {
    position: sticky;
    top: 110px;
}

.preview-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--bg-raised);
    border: 1px solid var(--line-soft);
}

.preview-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(1.07);
    transition: opacity 0.5s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-frame img.active {
    opacity: 1;
    transform: scale(1);
}

.preview-caption {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-secondary);
}

.preview-caption .caption-num {
    color: var(--accent-1);
}

@media (max-width: 1024px) {
    .projects-layout {
        grid-template-columns: 1fr;
    }

    .project-preview {
        display: none;
    }
}

/* Project List (editorial rows) */
.project-list {
    list-style: none;
    border-bottom: 1px solid var(--line);
}

.project-row {
    display: grid;
    grid-template-columns: 3.5rem 1fr 2.5rem;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: 2.4rem 0;
    border-top: 1px solid var(--line);
    cursor: pointer;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease, background 0.3s ease;
}

.project-row.in {
    opacity: 1;
    transform: translateY(0);
}

.project-row.hide-project {
    display: none;
}

.row-num {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.row-main h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.7rem, 2.8vw, 2.7rem);
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--text-primary);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.row-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.03s;
}

.row-meta {
    display: flex;
    gap: 1.4rem;
    margin-bottom: 0.5rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.row-cat,
.row-year {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.row-arrow {
    font-size: 1.4rem;
    color: var(--text-secondary);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.project-row:hover .row-main h3 {
    transform: translateX(1rem);
    color: var(--accent-1);
}

.project-row:hover .row-desc,
.project-row:hover .row-meta {
    transform: translateX(1rem);
}

.project-row:hover .row-num,
.project-row:hover .row-cat,
.project-row:hover .row-year {
    color: var(--text-primary);
}

.project-row:hover .row-arrow {
    transform: rotate(45deg);
    color: var(--accent-1);
}

/* Mobile inline thumbnail (hidden on fine pointers) */
.row-thumb {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    background: var(--bg-raised);
    /* 余白が出ないよう、画像本来の比率で表示します */
}

.row-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

@media (pointer: coarse), (max-width: 768px) {
    .row-thumb {
        display: block;
        order: -1;
    }
}

/* Contact Section */
.contact-lead {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(4rem, 12vw, 11rem);
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 3rem;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-1);
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    max-width: 600px;
}

.contact-form {
    max-width: 680px;
}

.input-group {
    margin-bottom: 2rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: border-color 0.3s ease;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-family: var(--font-heading);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-1);
}

.submit-btn {
    font-size: 0.9rem;
    padding: 1rem 3rem;
}

.form-status {
    margin-top: 1rem;
    font-weight: 600;
    min-height: 24px;
}

/* Footer */
footer {
    border-top: 1px solid var(--line);
    padding: 3rem 0;
    background: var(--bg-color);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-1);
}

footer p {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Animations */
.hidden-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.show-section {
    opacity: 1;
    transform: translateY(0);
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.hamburger .bar {
    width: 30px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.pc-only {
    display: inline;
}

/* Responsive */
@media (max-width: 768px) {
    .pc-only {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: rgba(15, 15, 13, 0.96);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        transition: left 0.4s ease;
        z-index: 1000;
        gap: 3rem;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
        font-weight: 600;
    }

    section {
        padding: 5rem 0;
    }

    .section-head {
        margin-bottom: 2.5rem;
    }

    .hero-section {
        padding: 100px 1.5rem 2.5rem;
        justify-content: flex-start;
        min-height: auto;
    }

    .hero-top {
        margin-bottom: 2.5rem;
    }

    .name {
        font-size: 17vw;
        margin: 0 0 2rem 0;
    }

    .hero-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .scroll-hint {
        display: none;
    }

    .marquee-track span {
        font-size: 1.5rem;
    }

    .about-statement {
        margin-bottom: 3rem;
    }

    .project-row {
        grid-template-columns: 3rem 1fr auto;
        gap: 1rem 1.5rem;
        padding: 2rem 0;
    }

    .row-year {
        display: none;
    }

    .row-arrow {
        display: none;
    }

    .contact-lead {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    nav {
        padding: 1.2rem 1.5rem;
    }

    .footer-content {
        padding: 0 1.5rem;
    }

    .modal-info {
        padding: 1.5rem;
    }

    .modal-info h3 {
        font-size: 1.5rem;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 4, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show-modal {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-raised);
    border: 1px solid var(--line-soft);
    width: 90%;
    max-width: 1000px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    /* Added to fix mobile scrolling */
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal.show-modal .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    color: var(--text-primary);
    background: rgba(15, 15, 13, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: var(--accent-1);
    color: #0f0f0d;
}

.modal-body {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
        height: 60vh;
        max-height: 600px;
        overflow-y: visible;
    }
}

.modal-image-container {
    flex: none;
    height: 45vh;
    position: relative;
    background: #0a0a09;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 40vh;
}

@media (min-width: 768px) {
    .modal-image-container {
        flex: 1.5;
        height: auto;
        min-height: auto;
    }
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

.modal-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.modal-nav-btn {
    pointer-events: auto;
    background: rgba(15, 15, 13, 0.8);
    color: var(--text-primary);
    border: 1px solid var(--line);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, color 0.3s ease;
}

.modal-nav-btn:hover {
    background: var(--accent-1);
    color: #0f0f0d;
}

.modal-info {
    flex: none;
    padding: 2.5rem 1.5rem;
    background: var(--bg-raised);
    overflow-y: visible;
}

@media (min-width: 768px) {
    .modal-info {
        flex: 1;
        padding: 3rem 2rem;
        overflow-y: auto;
    }
}

.modal-info .project-meta {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.category {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent-1);
}

.duration, .period {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.modal-info h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.modal-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.9;
}

.project-url {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    border-bottom: 1px solid var(--accent-1);
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.project-url:hover {
    color: var(--accent-1);
}

.project-url[href=""], .project-url:not([href]) {
    display: none !important;
}

.modal-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(242, 240, 234, 0.06);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    border: 1px solid var(--line-soft);
}

.tool-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 3px;
}

/* Fullscreen Viewer */
.fullscreen-viewer {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
}

.fullscreen-viewer.show {
    opacity: 1;
    visibility: visible;
}

.fullscreen-viewer img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.fs-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
}
