/* ------------------------------
   BASE
-------------------------------- */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0a0a0a;
    color: #ededed;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

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


/* ------------------------------
   HEADER
-------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    padding: 28px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(12px);
}

.logo {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: #777;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: #aaa;
    font-size: 13px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #fff;
}


/* ------------------------------
   HERO
-------------------------------- */

.hero {
    min-height: 100vh;
    padding: 150px 7% 90px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;
}

.hero-content {
    max-width: 1100px;
}

.eyebrow {
    margin-bottom: 25px;
    color: #777;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero h1 {
    margin-bottom: 35px;
    font-size: clamp(55px, 8vw, 125px);
    line-height: 0.9;
    letter-spacing: -5px;
}

.hero h1 span {
    color: #555;
}

.hero-copy {
    max-width: 650px;
    margin-bottom: 45px;
    color: #aaa;
    font-size: 20px;
}


/* ------------------------------
   BUTTON
-------------------------------- */

.button {
    display: inline-block;
    padding: 15px 22px;
    border: 1px solid #555;
    font-size: 13px;
    letter-spacing: 1px;
    transition: background 0.2s ease, color 0.2s ease;
}

.button:hover {
    background: #ededed;
    color: #090909;
}


/* ------------------------------
   GENERAL SECTIONS
-------------------------------- */

.section {
    padding: 120px 7%;
    border-bottom: 1px solid #222;
}

.dark-section {
    background: #050505;
}

.section-heading {
    margin-bottom: 70px;
    display: flex;
    gap: 25px;
    align-items: baseline;
}

.section-number {
    color: #555;
    font-size: 12px;
}

.section-heading h2 {
    font-size: clamp(36px, 5vw, 70px);
    letter-spacing: -2px;
}


/* ------------------------------
   PROJECTS
-------------------------------- */

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    cursor: pointer;
}

.project-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin-bottom: 22px;
    background: #181818;
    transition: background 0.25s ease;
}

.project-card:hover .project-image {
    background: #252525;
}

.project-info p {
    margin-bottom: 8px;
    color: #666;
    font-size: 10px;
    letter-spacing: 2px;
}

.project-info h3 {
    margin-bottom: 5px;
    font-size: 24px;
}

.project-info span {
    color: #888;
    font-size: 14px;
}


/* ------------------------------
   FEATURED WORK
-------------------------------- */

.featured-work {
    display: flex;
    flex-direction: column;
}

.featured-project {
    display: grid;
    grid-template-columns: minmax(0, 680px) minmax(300px, 480px);
    gap: 70px;
    padding: 55px 0;
    border-top: 1px solid #222;
    align-items: center;
}

.featured-project-image {
    width: 100%;
    max-width: 680px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #181818;
}

.featured-project-image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #181818;
}

.featured-project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.25s ease;
}

.featured-project:hover .featured-project-image img {
    opacity: 0.78;
}

.featured-project-content {
    max-width: 520px;
}

.project-index {
    margin-bottom: 22px;
    color: #444;
    font-size: 11px;
    letter-spacing: 2px;
}

.project-type {
    margin-bottom: 18px;
    color: #777;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.featured-project-content h3 {
    margin-bottom: 14px;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 0.95;
    letter-spacing: -2px;
}

.project-role {
    margin-bottom: 28px;
    color: #aaa;
    font-size: 15px;
}

.project-summary {
    max-width: 440px;
    margin-bottom: 35px;
    color: #888;
    font-size: 16px;
    line-height: 1.6;
}

.project-link {
    color: #ccc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* ------------------------------
   TECHNICAL AUDIO
-------------------------------- */

.technical-intro {
    margin-bottom: 80px;
}

.technical-platforms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.technical-platform {
    min-height: 170px;
    padding: 30px;
    border-right: 1px solid #222;
}

.technical-platform:first-child {
    padding-left: 0;
}

.technical-platform:last-child {
    border-right: 0;
}

.technical-platform h3 {
    margin-bottom: 16px;
    font-size: 22px;
}

.technical-platform p {
    max-width: 260px;
    color: #777;
    font-size: 12px;
    line-height: 1.7;
}


.technical-showcase {
    margin-top: 110px;
}

.technical-showcase-heading {
    margin-bottom: 45px;
}

.technical-showcase-heading > p {
    margin-bottom: 12px;
    color: #555;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.technical-showcase-heading h3 {
    margin-bottom: 8px;
    font-size: clamp(32px, 4vw, 58px);
    letter-spacing: -2px;
}

.technical-showcase-heading span {
    color: #777;
    font-size: 13px;
}


.technical-feature-main {
    display: grid;
    grid-template-columns: minmax(0, 680px) minmax(280px, 420px);
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
}

.technical-feature-image {
    overflow: hidden;
    background: #111;
    border: 1px solid #222;
}

.technical-feature-image img {
    display: block;
    width: 100%;
    height: auto;
}


.technical-feature-copy {
    padding-top: 20px;
}

.technical-label {
    margin-bottom: 12px;
    color: #555;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.technical-feature-copy h4 {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.technical-feature-copy > p:last-child {
    color: #888;
    font-size: 15px;
    line-height: 1.7;
}


.technical-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 1100px;
}

.technical-feature-grid .technical-feature-image {
    aspect-ratio: 16 / 9;
}

.technical-feature-grid .technical-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.technical-feature-grid .technical-feature-copy {
    max-width: 500px;
}


.technical-case-link {
    display: inline-block;
    margin-top: 50px;
    color: #ccc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}


.technical-capabilities {
    margin-top: 110px;
    padding-top: 45px;
    border-top: 1px solid #222;
}

.technical-capabilities .skill-row {
    margin-top: 25px;
}


/* ------------------------------
   TEXT LAYOUTS
-------------------------------- */

.large-copy {
    max-width: 950px;
}

.large-copy p {
    font-size: clamp(30px, 4vw, 60px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.two-column {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
}

.body-copy {
    max-width: 550px;
}

.body-copy p {
    color: #999;
    font-size: 18px;
}


/* ------------------------------
   SKILLS
-------------------------------- */

.skill-row {
    margin-top: 80px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-row span {
    padding: 10px 15px;
    border: 1px solid #333;
    color: #aaa;
    font-size: 12px;
}


/* ------------------------------
   CONTACT
-------------------------------- */

.contact-section {
    padding: 160px 7%;
}

.contact-section h2 {
    max-width: 1000px;
    margin-bottom: 50px;
    font-size: clamp(45px, 7vw, 100px);
    line-height: 0.95;
    letter-spacing: -4px;
}


/* ------------------------------
   FOOTER
-------------------------------- */

footer {
    padding: 35px 7%;
    border-top: 1px solid #222;
    color: #555;
    font-size: 11px;
}


/* ------------------------------
   MOBILE
-------------------------------- */

@media (max-width: 850px) {

    .site-header {
        padding: 22px 6%;
    }

    nav {
        display: none;
    }

    .hero {
        padding-left: 6%;
        padding-right: 6%;
    }

    .hero h1 {
        letter-spacing: -3px;
    }

    .section {
        padding: 90px 6%;
    }

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

    .featured-project {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 45px 0;
    }

    .featured-project-content {
        max-width: 100%;
    }

    .technical-platforms {
    grid-template-columns: 1fr 1fr;
   }

   .technical-platform {
      min-height: auto;
      padding: 25px 20px;
      border-bottom: 1px solid #222;
   }

   .technical-platform:first-child {
      padding-left: 20px;
   }

   .technical-feature-main {
      grid-template-columns: 1fr;
      gap: 25px;
   }

   .technical-feature-grid {
      grid-template-columns: 1fr;
      gap: 55px;
   }

    .two-column {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .contact-section {
        padding: 110px 6%;
    }
}



/* ------------------------------
   PROJECT PAGES
-------------------------------- */

.project-hero {
    min-height: 85vh;
    padding: 170px 7% 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-bottom: 1px solid #222;
}

.project-hero h1 {
    margin-bottom: 70px;
    font-size: clamp(50px, 8vw, 120px);
    line-height: 0.9;
    letter-spacing: -5px;
}

.project-hero h1 span {
    color: #555;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 70px;
}

.project-meta div p {
    margin-bottom: 6px;
    color: #555;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.project-meta div span {
    color: #aaa;
    font-size: 14px;
}


/* ------------------------------
   PROJECT MEDIA
-------------------------------- */

.media-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #141414;
    border: 1px solid #252525;
}

.media-placeholder p {
    color: #444;
    font-size: 11px;
    letter-spacing: 3px;
}

.project-caption {
    margin-bottom: 70px;
}

.project-caption p {
    margin-bottom: 7px;
    color: #666;
    font-size: 10px;
    letter-spacing: 2px;
}

.project-caption h3 {
    font-size: clamp(22px, 3vw, 36px);
    letter-spacing: -1px;
}

.project-note {
    margin-top: 80px;
}


/* ------------------------------
   BODY COPY SPACING
-------------------------------- */

.body-copy p + p {
    margin-top: 22px;
}


/* ------------------------------
   PROJECT MOBILE
-------------------------------- */

@media (max-width: 850px) {

    .project-hero {
        min-height: 75vh;
        padding: 140px 6% 70px;
    }

    .project-hero h1 {
        margin-bottom: 50px;
        letter-spacing: -3px;
    }

    .project-meta {
        gap: 30px;
    }

    .project-meta div {
        width: 100%;
    }
}


/* ------------------------------
   CASE STUDY MEDIA
-------------------------------- */

.case-study-video,
.case-study-image {
    display: block;
    width: 100%;
    max-width: 680px;
    height: auto;
    margin-right: auto;
    margin-left: 0;
}

.case-study-video {
    margin-top: 2.5rem;
}

.case-study-image {
    margin-top: 3rem;
}

.case-study-image-secondary {
    margin-top: 1.5rem;
}

@media (max-width: 850px) {

    .case-study-video,
    .case-study-image {
        width: 100%;
        max-width: 100%;
    }
}

.case-study-media-small {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}


/* ------------------------------
   SALARYMAN CASE STUDY
-------------------------------- */

.case-study-intro {
    margin-bottom: 70px;
}


/* FEATURED GAMEPLAY */

.case-study-feature {
    margin-top: 60px;
}

.case-study-feature h3 {
    margin-bottom: 22px;
    font-size: clamp(24px, 3vw, 38px);
    letter-spacing: -1px;
}

.case-study-video-large {
    width: 100%;
    max-width: 1000px;
    margin-top: 0;
    background: #050505;
}


/* PROCESS GRID */

.case-study-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin-top: 70px;
}

.case-study-process-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* PROCESS CARDS */

.case-study-process {
    min-width: 0;
}

.case-study-process-media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #111;
    border: 1px solid #222;
}

.case-study-process-copy {
    padding-top: 22px;
}

.case-study-process-copy h3 {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.case-study-process-copy > p:last-child {
    max-width: 420px;
    color: #888;
    font-size: 14px;
    line-height: 1.7;
}


/* FINAL GAMEPLAY RESULT */

.case-study-feature-final {
    margin-top: 90px;
}


/* ------------------------------
   SALARYMAN MOBILE
-------------------------------- */

@media (max-width: 850px) {

    .case-study-intro {
        margin-bottom: 50px;
    }

    .case-study-process-grid,
    .case-study-process-grid-two {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-top: 55px;
    }

    .case-study-video-large {
        max-width: 100%;
    }

    .case-study-feature-final {
        margin-top: 70px;
    }

}

/* =========================
   MUSIC PLAYER
========================= */

.music-player {
    max-width: 720px;
    margin-top: 70px;
}

.music-player-header {
    margin-bottom: 18px;
}

.music-player-header p {
    margin: 0 0 6px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.6;
}

.music-player-header h3 {
    margin: 0;
}

.music-player audio {
    width: 300px;
    max-width: 100%;
    margin: 0 0 12px;
}


/* TRACK LIST */

.track-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 8px;
}

.track {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    padding: 4px 16px 4px 0;
    margin: 0 16px 6px 0;
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.track:last-child {
    border-right: 0;
}

.track:hover {
    color: #fff;
}

.track.active {
    color: #fff;
}