:root {
    --background: #0c1c18;
    --dark-teal: #142a25;
    --card: #203a34;
    --card-hover: #29463f;
    --orange: #ec6637;
    --orange-light: #f17445;
    --white: #e7e9de;
    --muted: #aebbb4;
    --border: rgba(231, 233, 222, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background:
        radial-gradient(circle at 70% 15%, rgba(20, 67, 55, 0.22), transparent 35%),
        var(--background);
    color: var(--white);
    font-family: "Chakra Petch", sans-serif;
    font-size: 13px;
    line-height: 1.45;
}

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

.site-header {
    padding: 28px 4.5% 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Space Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.site-header a { color: var(--orange); }
.site-header a:hover { color: var(--orange-light); }

.back-link {
    margin: 32px 4.5% 10px;
    font-family: "Space Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--orange);
}

.project-hero {
    margin: 0 4.5vw;
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(500px, 1.68fr);
    min-height: 560px;
    border-bottom: 1px solid var(--border);
}

.project-info {
    padding: 30px 38px 35px 0;
    border-right: 1px solid var(--border);
}

.project-meta {
    margin-bottom: 17px;
    font-family: "Space Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.project-info h1 {
    margin: 0;
    font-size: clamp(42px, 4vw, 65px);
    line-height: 0.91;
    letter-spacing: -0.045em;
}

.intro {
    max-width: 355px;
    margin-top: 25px;
    font-family: "Space Mono", monospace;
    font-size: 12px;
    line-height: 1.65;
}

.project-specs {
    max-width: 355px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.spec-row {
    display: grid;
    grid-template-columns: 105px 1fr;
    margin-bottom: 10px;
    font-family: "Space Mono", monospace;
    font-size: 12px;
    line-height: 1.5;
}

.spec-row > span:first-child { color: var(--muted); }

.hero-visual {
    position: relative;
    padding: 14px 0 35px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.visual-meta {
    position: absolute;
    top: 15px;
    right: 0;
    font-family: "Space Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.hero-image-stage {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.glow {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

.glow-orange {
    width: 60%;
    height: 62%;
    left: 20%;
    top: 18%;
    background: radial-gradient(
        ellipse,
        rgba(236, 102, 55, 0.38) 0%,
        rgba(236, 102, 55, 0.15) 40%,
        transparent 74%
    );
    filter: blur(40px);
}

.glow-green {
    width: 85%;
    height: 82%;
    left: 7.5%;
    top: 8%;
    background: radial-gradient(
        ellipse,
        rgba(38, 91, 74, 0.34),
        rgba(38, 91, 74, 0.10) 52%,
        transparent 76%
    );
    filter: blur(46px);
}

.hero-guitar {
    position: absolute;
    top: 1%;
    z-index: 2;
    height: 98%;
    width: 58%;
    object-fit: contain;
    filter:
        drop-shadow(0 0 15px rgba(236, 102, 55, 0.12))
        drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
}

/* The source images place the guitar on opposite sides. These offsets
   pull the instruments toward the middle to form a front/back pair. */
.hero-front {
    left: 4%;
    object-position: 68% center;
}

.hero-back {
    right: 4%;
    object-position: 32% center;
}

.project-label {
    width: min(72%, 590px);
    margin: 4px auto 0;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(110deg, var(--orange), #f05c32);
    color: #101c18;
    border-radius: 6px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.project-label:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.project-label span {
    display: block;
    margin-bottom: 4px;
    font-family: "Space Mono", monospace;
    font-size: 12px;
    font-weight: 700;
}

.project-label strong {
    display: block;
    font-size: 14px;
    letter-spacing: 0.03em;
}

.project-label b { font-size: 18px; }

.story-grid {
    margin: 0 4.5vw;
    padding: 32px 0 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--border);
}

.story-block {
    padding: 0 30px;
    border-right: 1px solid var(--border);
}

.story-block:first-child { padding-left: 0; }
.story-block:last-child { padding-right: 0; border-right: none; }

.story-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.story-heading span {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--orange);
    border-radius: 50%;
    color: var(--orange);
    font-family: "Space Mono", monospace;
    font-size: 12px;
}

.story-heading h2 {
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.08em;
}

.story-block p {
    margin: 0 0 14px;
    font-family: "Space Mono", monospace;
    font-size: 12px;
    line-height: 1.75;
    color: #c5cec8;
}

.section-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border);
    font-family: "Space Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.section-topline span:last-child { color: var(--orange); }

.feature-section,
.detail-section,
.gallery-section,
.closing-section {
    margin: 0 4.5vw;
    padding: 28px 0 34px;
    border-bottom: 1px solid var(--border);
}

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

.feature-card {
    min-height: 245px;
    padding: 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 11px;
}

.feature-number {
    display: block;
    margin-bottom: 28px;
    color: var(--orange);
    font-family: "Space Mono", monospace;
    font-size: 12px;
    font-weight: 700;
}

.feature-card h2 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.04em;
}

.feature-card p {
    margin: 0;
    color: #c5cec8;
    font-family: "Space Mono", monospace;
    font-size: 12px;
    line-height: 1.7;
}

figure {
    margin: 0;
}

.single-detail {
    width: min(100%, 980px);
    margin: 0 auto;
}

.detail-section > .single-detail {
    margin-left: auto;
    margin-right: auto;
}

.single-detail .image-stage {
    height: 430px;
}

.detail-card,
.photo-card {
    margin: 0;
    padding: 10px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 11px;
}

.image-stage {
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(236, 102, 55, 0.12), transparent 55%),
        #19332d;
}

.image-stage img {
    width: 96%;
    height: 96%;
    object-fit: contain;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28));
}

.detail-card figcaption,
.photo-card figcaption {
    padding: 11px 2px 2px;
    font-family: "Space Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.gallery-section { padding-bottom: 42px; }

.photo-grid {
    display: grid;
    grid-template-columns: 0.82fr 0.82fr 1.36fr;
    gap: 10px;
}

.photo-card img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 6px;
    background: #19332d;
}

.closing-section { padding-bottom: 46px; }

.closing-card {
    max-width: 850px;
    padding: 26px;
    background:
        linear-gradient(140deg, rgba(236, 102, 55, 0.11), transparent 45%),
        var(--card);
    border: 1px solid var(--border);
    border-radius: 11px;
}

.closing-meta {
    margin-bottom: 28px;
    color: var(--orange);
    font-family: "Space Mono", monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.closing-card h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 0.97;
}

.closing-card p {
    max-width: 720px;
    margin: 0;
    color: #c5cec8;
    font-family: "Space Mono", monospace;
    font-size: 12px;
    line-height: 1.75;
}

footer {
    padding: 28px 4.5% 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Space Mono", monospace;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--muted);
}

footer div {
    display: flex;
    gap: 18px;
}

footer a { color: var(--orange); }
footer a:hover { color: var(--white); }

@media (max-width: 1050px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .photo-grid { grid-template-columns: 1fr 1fr; }
    .landscape-card { grid-column: 1 / -1; }
}

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

    .project-info {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .hero-visual { padding: 35px 0; }

    .visual-meta {
        position: static;
        margin-bottom: 8px;
        text-align: right;
    }

    .story-grid { grid-template-columns: 1fr; }

    .story-block {
        padding: 26px 0;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .story-block:first-child { padding-top: 0; }
    .story-block:last-child { padding-bottom: 0; border-bottom: none; }
}

@media (max-width: 650px) {
    .site-header,
    footer { gap: 18px; }

    .project-info h1 {
        font-size: clamp(37px, 11.5vw, 54px);
    }

    .hero-image-stage { height: 330px; }

    .hero-guitar { width: 65%; }
    .hero-front { left: -2%; }
    .hero-back { right: -2%; }

    .project-label { width: 100%; }

    .feature-grid,
    .photo-grid {
        grid-template-columns: 1fr;
    }

    .single-detail .image-stage {
        height: auto;
        min-height: 260px;
        max-height: 70vh;
    }

    .landscape-card { grid-column: auto; }

    .image-stage,
    .photo-card img {
        height: auto;
        min-height: 260px;
        max-height: 70vh;
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
