/*
Theme Name: Studio DADO
Theme URI: https://studiodado.com
Author: Studio DADO
Description: A luxury interior design portfolio theme.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: studiodado
*/

/* ─── RESET & BASE ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f0eb;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    display: block
}

button {
    font-family: inherit;
    cursor: pointer
}

/* ─── TYPOGRAPHY ─── */
.font-serif {
    font-family: 'Playfair Display', serif
}

.label-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.1
}

/* ─── COLORS ─── */
:root {
    --cream: #f5f0eb;
    --charcoal: #1a1a1a;
    --gold: #c9a96e;
    --warm-gray: #8a8580;
    --light-border: rgba(26, 26, 26, 0.08);
}

/* ─── LAYOUT ─── */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px
}

@media(max-width:768px) {
    .container {
        padding: 0 20px
    }
}

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(245, 240, 235, 0.85);
    backdrop-filter: blur(12px);
    transition: all 0.4s
}

.navbar.scrolled {
    background: rgba(245, 240, 235, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--light-border)
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.navbar-logo {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase
}

.navbar-links {
    display: flex;
    gap: 36px
}

.navbar-links a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm-gray);
    transition: color 0.3s;
    position: relative
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--charcoal)
}

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

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: 100%
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--charcoal);
    transition: all 0.3s
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 200;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s
}

.mobile-overlay.open {
    display: flex;
    opacity: 1;
    pointer-events: all
}

.mobile-overlay a {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--charcoal)
}

.mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 28px;
    background: none;
    border: none;
    color: var(--charcoal)
}

@media(max-width:768px) {
    .navbar-links {
        display: none
    }

    .mobile-menu-btn {
        display: flex
    }
}

/* ─── HERO ─── */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: kenBurns 20s ease infinite alternate
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2))
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding-left: 48px
}

.hero-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px
}

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    max-width: 700px;
    margin-bottom: 24px;
    line-height: 1.05
}

.hero p {
    max-width: 480px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 32px;
    transition: all 0.3s
}

.hero-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6)
}

@keyframes kenBurns {
    from {
        transform: scale(1)
    }

    to {
        transform: scale(1.08)
    }
}

/* ─── SECTIONS ─── */
.section {
    padding: 100px 0
}

@media(max-width:768px) {
    .section {
        padding: 60px 0
    }
}

.section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 16px
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 48px
}

/* ─── PROJECT GRID ─── */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px
}

@media(max-width:768px) {
    .project-grid {
        grid-template-columns: 1fr
    }
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    group: true
}

.project-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s ease
}

.project-card:hover .project-card-img {
    transform: scale(1.05)
}

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s
}

.project-card:hover .project-card-overlay {
    transform: translateY(0);
    opacity: 1
}

.project-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 4px
}

.project-card-meta {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7
}

/* ─── CATEGORY STRIP ─── */
.category-strip {
    display: flex;
    gap: 32px;
    padding: 32px 0;
    border-top: 1px solid var(--light-border);
    border-bottom: 1px solid var(--light-border);
    overflow-x: auto
}

.category-strip a {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-gray);
    white-space: nowrap;
    transition: color 0.3s
}

.category-strip a:hover,
.category-strip a.active {
    color: var(--charcoal)
}

/* ─── CTA SECTION ─── */
.cta-section {
    background: var(--charcoal);
    color: #fff;
    text-align: center;
    padding: 120px 48px
}

.cta-section h2 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 24px
}

.cta-section p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin: 0 auto 40px;
    font-size: 15px;
    line-height: 1.7
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 16px 40px;
    transition: all 0.3s
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff
}

/* ─── PHILOSOPHY ─── */
.philosophy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center
}

@media(max-width:768px) {
    .philosophy {
        grid-template-columns: 1fr;
        gap: 40px
    }
}

.philosophy-text h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    margin-bottom: 24px
}

.philosophy-text p {
    color: var(--warm-gray);
    font-size: 15px;
    line-height: 1.8
}

.philosophy-img {
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 4px
}

/* ─── FOOTER ─── */
.footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.5);
    padding: 80px 0 40px
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px
}

@media(max-width:768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px
    }
}

.footer-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 24px
}

.footer-logo {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.footer-links a {
    font-size: 14px;
    transition: color 0.3s
}

.footer-links a:hover {
    color: #fff
}

.footer-bottom {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25)
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.15);
    transition: opacity 0.4s
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.6)
}

/* ─── PROJECT DETAIL ─── */
.project-hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.6))
}

.project-hero-content {
    position: relative;
    z-index: 1;
    padding: 48px;
    color: #fff
}

.project-hero-content h1 {
    font-size: clamp(36px, 5vw, 64px);
    margin-bottom: 12px
}

.project-info-bar {
    display: flex;
    gap: 48px;
    padding: 32px 0;
    border-bottom: 1px solid var(--light-border);
    flex-wrap: wrap
}

.project-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.project-info-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-gray)
}

.project-info-value {
    font-size: 15px
}

.project-description {
    max-width: 750px;
    font-size: 16px;
    line-height: 1.85;
    color: var(--warm-gray);
    padding: 48px 0
}

.project-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

@media(max-width:768px) {
    .project-gallery {
        grid-template-columns: 1fr
    }
}

.project-gallery img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 4px
}

/* ─── ABOUT PAGE ─── */
.about-hero {
    padding: 160px 0 80px;
    text-align: center
}

.about-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 20px
}

.about-hero p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--warm-gray);
    font-size: 16px;
    line-height: 1.7
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px
}

.team-card {
    text-align: center
}

.team-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 4px;
    filter: grayscale(100%);
    transition: filter 0.5s
}

.team-card:hover img {
    filter: grayscale(0)
}

.team-card h3 {
    font-size: 18px;
    margin-top: 16px;
    margin-bottom: 4px
}

.team-card p {
    font-size: 13px;
    color: var(--warm-gray)
}

/* ─── CONTACT PAGE ─── */
.contact-section {
    padding-top: 140px
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px
}

@media(max-width:768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }
}

.contact-form .field {
    margin-bottom: 24px
}

.contact-form label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--warm-gray);
    margin-bottom: 8px
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--light-border);
    font-size: 15px;
    color: var(--charcoal);
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: var(--charcoal)
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--charcoal);
    color: #fff;
    border: none;
    padding: 16px 40px;
    transition: all 0.3s;
    margin-top: 16px
}

.submit-btn:hover {
    background: #333
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

/* ─── APPROACH PAGE ─── */
.approach-hero {
    padding: 160px 0 80px
}

.approach-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 20px
}

.approach-hero p {
    max-width: 600px;
    color: var(--warm-gray);
    font-size: 16px;
    line-height: 1.7
}

.principle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid var(--light-border)
}

@media(max-width:768px) {
    .principle {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 0
    }
}

.principle-number {
    font-size: 64px;
    font-family: 'Playfair Display', serif;
    color: var(--light-border);
    line-height: 1
}

.principle h3 {
    font-size: 24px;
    margin: 12px 0 16px;
    font-family: 'Playfair Display', serif
}

.principle p {
    color: var(--warm-gray);
    font-size: 15px;
    line-height: 1.8
}

.principle img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 4px
}

/* ─── PROJECTS PAGE ─── */
.projects-hero {
    padding: 140px 0 40px
}

.projects-hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    margin-bottom: 32px
}

.view-toggle {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
    float: right
}

.view-toggle button {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray);
    transition: color 0.3s
}

.view-toggle button.active {
    color: var(--charcoal);
    text-decoration: underline;
    text-underline-offset: 4px
}

/* ─── LIST VIEW ─── */
.project-list {
    display: flex;
    flex-direction: column
}

.project-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--light-border);
    transition: all 0.3s
}

.project-list-item:hover {
    padding-left: 12px
}

.project-list-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px
}

.project-list-meta {
    font-size: 12px;
    color: var(--warm-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase
}

/* ─── CUSTOM CURSOR ─── */
.cursor {
    position: fixed;
    top: -10px;
    left: -10px;
    width: 20px;
    height: 20px;
    background: var(--charcoal);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    mix-blend-mode: difference
}

.cursor-active {
    width: 60px;
    height: 60px;
    top: -30px;
    left: -30px;
    background: rgba(201, 169, 110, 0.9);
    mix-blend-mode: normal
}

.cursor-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s
}

.cursor-active .cursor-label {
    opacity: 1
}

@media(max-width:768px) {
    .cursor {
        display: none
    }
}

/* ─── SCROLL INDICATOR ─── */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.5)
}

.scroll-indicator span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase
}

.scroll-indicator .scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden
}

.scroll-indicator .scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    animation: scrollDown 2s ease infinite
}

@keyframes scrollDown {
    0% {
        top: -100%
    }

    50% {
        top: 100%
    }

    100% {
        top: 100%
    }
}

/* ─── ASYMMETRIC GRID ─── */
.featured-asymmetric {
    display: grid;
    gap: 24px
}

.featured-asymmetric .project-card:first-child {
    grid-column: 1/-1
}

.featured-asymmetric .project-card:first-child .project-card-img {
    aspect-ratio: 21/9;
    height: auto
}

@media(min-width:769px) {
    .featured-asymmetric {
        grid-template-columns: 1fr 1fr
    }
}

/* ─── PHILOSOPHY STATEMENT ─── */
.philosophy-statement {
    text-align: center;
    padding: 100px 48px;
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3.5vw, 42px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
    color: var(--charcoal);
    max-width: 900px;
    margin: 0 auto
}

/* ─── WORK TOGETHER CTA ─── */
.work-together {
    background: var(--charcoal);
    color: #fff;
    padding: 140px 48px;
    text-align: center
}

.work-together h2 {
    font-size: clamp(40px, 6vw, 80px);
    margin-bottom: 32px;
    font-weight: 400
}

.work-together a {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 4px;
    transition: all 0.3s
}

.work-together a:hover {
    color: #fff;
    border-color: #fff
}

/* ─── NEWSLETTER FORM ─── */
.newsletter-form {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 4px
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    padding: 4px 0
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.3)
}

.newsletter-form button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0 4px
}

.newsletter-form button:hover {
    color: #fff
}

/* ─── STATS SECTION ─── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    padding: 80px 0
}

@media(max-width:768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 400;
    line-height: 1;
    color: var(--charcoal)
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--warm-gray)
}

/* ─── PARALLAX HERO ─── */
.parallax-hero {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    will-change: background-position
}

/* ─── NEXT PROJECT BLOCK ─── */
.next-project {
    position: relative;
    height: 50vh;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden
}

.next-project::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    transition: background 0.5s
}

.next-project:hover::before {
    background: rgba(0, 0, 0, 0.3)
}

.next-project-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff
}

.next-project-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px
}

.next-project-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 400
}

.next-project img.next-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease
}

.next-project:hover img.next-bg {
    transform: scale(1.05)
}

/* ─── INPUT FOCUS ANIMATION ─── */
.input-animated {
    position: relative
}

.input-animated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--charcoal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease
}

.input-animated:focus-within::after {
    transform: scaleX(1)
}

/* ─── LIST VIEW HOVER PREVIEW ─── */
.project-list-view {
    display: none
}

.project-list-view.active {
    display: block
}

.project-grid-view.hidden {
    display: none
}

.list-category-group {
    margin-bottom: 48px
}

.list-category-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--light-border)
}

.list-project-link {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--light-border);
    font-size: 18px;
    font-family: 'Playfair Display', serif;
    transition: padding-left 0.3s, color 0.3s
}

.list-project-link:hover {
    padding-left: 16px;
    color: var(--gold)
}

.list-project-link span {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--warm-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-left: 16px
}

.hover-preview {
    position: fixed;
    width: 320px;
    height: 220px;
    pointer-events: none;
    z-index: 50;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15)
}

.hover-preview.visible {
    opacity: 1
}

.hover-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* ─── PROJECTS PAGE HERO ─── */
.projects-hero {
    padding: 160px 0 60px
}

.projects-hero h1 {
    font-size: clamp(48px, 7vw, 90px);
    margin-bottom: 32px
}

/* ─── COMPREHENSIVE MOBILE RESPONSIVE ─── */
@media(max-width:768px) {

    /* Hero */
    .hero {
        height: 85vh
    }

    .hero-content {
        padding-left: 20px;
        padding-right: 20px
    }

    .hero h1 {
        font-size: 32px
    }

    .hero p {
        font-size: 14px
    }

    .hero-cta {
        padding: 12px 24px;
        font-size: 11px
    }

    /* Category Strip */
    .category-strip {
        gap: 16px;
        padding: 20px 0;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch
    }

    .category-strip a {
        font-size: 10px
    }

    /* Project Grid */
    .project-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .project-card-overlay {
        opacity: 1;
        transform: translateY(0)
    }

    /* CTA Section */
    .cta-section {
        padding: 60px 20px
    }

    .cta-section h2 {
        font-size: 28px
    }

    .cta-section p {
        font-size: 14px
    }

    .cta-btn {
        padding: 12px 28px;
        font-size: 11px
    }

    /* Philosophy */
    .philosophy {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .philosophy-text h2 {
        font-size: 26px
    }

    .philosophy-img {
        aspect-ratio: 16/10
    }

    /* Footer */
    .footer {
        padding: 48px 0 32px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center
    }

    /* Project Detail */
    .project-hero {
        height: 50vh
    }

    .project-hero-content {
        padding: 24px
    }

    .project-hero-content h1 {
        font-size: 28px
    }

    .project-info-bar {
        gap: 24px
    }

    .project-description {
        font-size: 14px;
        padding: 32px 0
    }

    .project-gallery {
        grid-template-columns: 1fr;
        gap: 12px
    }

    /* About Page */
    .about-hero {
        padding: 120px 0 48px
    }

    .about-hero h1 {
        font-size: 32px
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px
    }

    .team-card h3 {
        font-size: 15px
    }

    /* Approach Page */
    .approach-hero {
        padding: 120px 0 48px
    }

    .approach-hero h1 {
        font-size: 32px
    }

    .principle {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .principle img {
        height: 220px
    }

    /* Contact Page */
    .contact-section {
        padding-top: 100px
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }

    /* Projects Page */
    .projects-hero {
        padding: 120px 0 32px
    }

    .projects-hero h1 {
        font-size: 32px
    }

    /* Section text */
    .section-title {
        font-size: 26px;
        margin-bottom: 32px
    }

    .section-label {
        font-size: 10px
    }

    /* Project list view */
    .project-list-title {
        font-size: 18px
    }
}