/* =========================================================
   GAMEMASTER TECH SERVICE
   MODERN DARK / CYBERPUNK STYLE
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* =========================
   FONT
   ========================= */

/* =========================
   VARIABLES
   ========================= */

:root {
    --black: #0b0b0b;
    --black-2: #111111;
    --black-3: #171717;

    --white: #ffffff;
    --off-white: #f4f4ef;

    --gray: #858585;
    --gray-light: #b8b8b8;

    --green: #5f9f00;
    --green-dark: #477800;

    --border-dark: rgba(255, 255, 255, 0.14);
    --border-light: rgba(0, 0, 0, 0.14);

    --container: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
textarea,
select,
a {
    font-family: 'Montserrat', sans-serif;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: var(--green);
    color: var(--black);
}


/* =========================
   CONTAINER
   ========================= */

.container {
    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: 0 auto;
}


/* =========================
   SECTION
   ========================= */

.section {
    padding: 140px 0;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 90px;

    z-index: 1000;

    border-bottom: 1px solid var(--border-dark);

    background: rgba(11, 11, 11, 0.88);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transition:
        height 0.3s ease,
        background 0.3s ease;
}

.site-header.scrolled {
    height: 72px;

    background: rgba(11, 11, 11, 0.97);
}

.header-inner {
    height: 100%;

    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: 0 auto;

    display: flex;
    align-items: center;
}


/* =========================
   LOGO
   ========================= */

.logo {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;
}

.logo img {
    width: 165px;
    max-height: 65px;

    object-fit: contain;
}


/* =========================
   DESKTOP NAV
   ========================= */

.desktop-nav {
    display: flex;
    align-items: center;

    gap: 34px;

    margin-left: auto;
    margin-right: 40px;
}

.desktop-nav a {
    position: relative;

    color: #a9a9a9;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition: color 0.25s ease;
}

.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 0;
    height: 2px;

    background: var(--green);

    transition: width 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--white);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}


/* =========================
   HEADER BUTTON
   ========================= */

.header-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    height: 45px;

    padding: 0 22px;

    background: var(--green);
    color: var(--black);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.header-button:hover {
    background: var(--white);

    transform: translateY(-2px);
}


/* =========================
   MOBILE MENU BUTTON
   ========================= */

.menu-button {
    display: none;

    margin-left: auto;

    width: 45px;
    height: 45px;

    background: transparent;
    color: var(--white);

    border: 1px solid var(--border-dark);

    cursor: pointer;

    font-size: 22px;
}


/* =========================
   MOBILE MENU
   ========================= */

.mobile-menu {
    position: fixed;

    top: 90px;
    left: 0;

    width: 100%;

    padding: 20px;

    background: rgba(11, 11, 11, 0.98);

    border-bottom: 1px solid var(--border-dark);

    display: flex;
    flex-direction: column;

    gap: 4px;

    transform: translateY(-120%);

    opacity: 0;
    visibility: hidden;

    z-index: 999;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

.mobile-menu.open {
    transform: translateY(0);

    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    padding: 15px;

    color: #aaa;

    border-bottom: 1px solid var(--border-dark);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.mobile-menu a:hover {
    color: var(--white);
}

.mobile-menu-button {
    margin-top: 10px;

    background: var(--green);
    color: var(--black) !important;

    text-align: center;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    overflow: hidden;

    background: var(--black);

    padding: 150px 0 120px;
}

.hero-background {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    z-index: 0;
}

.hero-slide {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0;

    transform: scale(1.03);

    transition:
        opacity 4s ease-in-out,
        transform 10s ease-out;

    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;

    transform: scale(1);
}

.hero-background::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.84) 0%,
            rgba(0, 0, 0, 0.62) 45%,
            rgba(0, 0, 0, 0.35) 100%
        );

    z-index: 2;

    pointer-events: none;
}

.hero .container {
    position: relative;

    z-index: 5;
}

.hero-content {
    position: relative;

    z-index: 5;

    max-width: 950px;

    margin: 0 auto;
}


/* =========================
   EYEBROW
   ========================= */

.eyebrow {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 15px;

    margin-bottom: 30px;

    color: var(--green);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 3px;
}

.eyebrow::before,
.eyebrow::after {
    content: "";

    width: 35px;
    height: 1px;

    background: var(--green);
}


/* =========================
   HERO TITLE
   ========================= */

.hero h1 {
    font-size: clamp(70px, 10vw, 145px);

    font-weight: 900;

    line-height: 0.84;

    letter-spacing: -7px;

    text-transform: uppercase;

    color: var(--white);
}

.hero h1 span {
    color: var(--green);
}


/* =========================
   HERO DESCRIPTION
   ========================= */

.hero-description {
    max-width: 650px;

    margin: 40px auto 0;

    color: #c0c0c0;

    font-size: 17px;

    line-height: 1.8;
}


/* =========================
   HERO BUTTONS
   ========================= */

.hero-actions {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 12px;

    margin-top: 40px;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    min-height: 54px;

    padding: 0 28px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    border: 1px solid transparent;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.button span {
    font-size: 17px;

    transition: transform 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button:hover span {
    transform: translateX(5px);
}

.button-dark {
    background: var(--green);
    color: var(--black);
}

.button-dark:hover {
    background: var(--white);
}

.button-outline {
    color: var(--white);

    border-color: rgba(255, 255, 255, 0.3);
}

.button-outline:hover {
    background: var(--white);

    color: var(--black);

    border-color: var(--white);
}

.button-light {
    background: var(--white);

    color: var(--black);
}

.button-light:hover {
    background: var(--green);
}


/* =========================
   HERO BOTTOM
   ========================= */

.hero-bottom {
    position: absolute;

    left: 40px;
    right: 40px;

    bottom: 30px;

    display: flex;

    justify-content: space-between;

    color: #999;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;

    z-index: 5;
}


/* =========================================================
   INTRO
   ========================================================= */

.intro {
    background: var(--off-white);

    color: var(--black);
}

.intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 120px;

    align-items: start;
}

.section-label {
    margin-bottom: 25px;

    color: var(--green-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.intro h2,
.section-heading h2,
.why h2,
.custom-content h2 {
    font-size: clamp(45px, 6vw, 82px);

    line-height: 0.92;

    letter-spacing: -4px;

    text-transform: uppercase;
}

.intro h2 span,
.why h2 span,
.custom-content h2 span {
    color: var(--green-dark);
}

.intro-text {
    padding-top: 10px;

    color: #606060;

    font-size: 16px;

    line-height: 1.8;
}

.large-text {
    color: var(--black);

    font-size: 25px;

    line-height: 1.4;

    margin-bottom: 30px;
}

.intro-text p + p {
    margin-top: 20px;
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 15px;

    margin-top: 35px;

    padding-bottom: 7px;

    color: var(--black);

    border-bottom: 1px solid var(--black);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.text-link span {
    transition: transform 0.25s ease;
}

.text-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   SERVICES
   ========================================================= */

.services {
    background: var(--black);

    color: var(--white);
}

.section-heading {
    margin-bottom: 70px;
}

.section-heading h2 {
    color: var(--white);
}

.section-heading h2 span {
    color: var(--green);
}

.services-list {
    border-top: 1px solid var(--border-dark);
}

.service-row {
    display: grid;

    grid-template-columns: 70px 1.2fr 1fr 50px;

    gap: 30px;

    align-items: center;

    min-height: 145px;

    padding: 25px 0;

    color: var(--white);

    border-bottom: 1px solid var(--border-dark);

    transition:
        padding 0.3s ease,
        background 0.3s ease;
}

.service-row:hover {
    padding-left: 20px;
    padding-right: 20px;

    background: rgba(255, 255, 255, 0.025);
}

.service-number {
    color: var(--green);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.service-name {
    color: var(--white);

    font-size: 30px;
    font-weight: 700;

    text-transform: uppercase;
}

.service-description {
    color: #999;

    font-size: 14px;

    line-height: 1.6;
}

.service-arrow {
    color: #777;

    font-size: 25px;

    text-align: right;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.service-row:hover .service-arrow {
    color: var(--green);

    transform: translate(5px, -5px);
}


/* =========================================================
   3D FEATURE
   ========================================================= */

.feature {
    position: relative;

    background: var(--black-2);

    color: var(--white);
}

.feature-image {
    position: relative;

    min-height: 750px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.95),
            rgba(0, 0, 0, 0.45)
        ),
        url("images/3d-print.jpg");

    background-size: cover;

    background-position: center;
}

.feature-image-overlay {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 70% 50%,
            rgba(95, 159, 0, 0.18),
            transparent 30%
        );
}

.feature-content {
    position: relative;

    z-index: 2;

    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: 0 auto;
}

.feature-content .section-label {
    color: var(--green);
}

.feature-content h2 {
    max-width: 700px;

    color: var(--white);

    font-size: clamp(55px, 8vw, 110px);

    line-height: 0.88;

    letter-spacing: -5px;

    text-transform: uppercase;
}

.feature-content h2 span {
    color: var(--green);
}

.feature-content p {
    max-width: 500px;

    margin-top: 35px;

    color: #b0b0b0;

    font-size: 17px;

    line-height: 1.7;
}

.feature-content .button {
    margin-top: 35px;
}


/* =========================================================
   WHY US
   ========================================================= */

.why {
    background: var(--off-white);

    color: var(--black);
}

.why-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 120px;
}

.why-list {
    border-top: 1px solid var(--border-light);
}

.why-item {
    display: grid;

    grid-template-columns: 50px 1fr;

    gap: 20px;

    padding: 30px 0;

    border-bottom: 1px solid var(--border-light);
}

.why-item > span {
    color: var(--green-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.why-item h3 {
    font-size: 21px;

    text-transform: uppercase;
}

.why-item p {
    margin-top: 8px;

    color: #6a6a6a;

    font-size: 14px;
}


/* =========================================================
   CUSTOM PC
   ========================================================= */

.custom-pc {
    background: var(--black-2);

    color: var(--white);
}

.custom-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 600px;
}

.custom-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding-right: 80px;
}

.custom-content h2 {
    color: var(--white);
}

.custom-content h2 span {
    color: var(--green);
}

.custom-content > p {
    max-width: 500px;

    margin-top: 35px;

    color: #a0a0a0;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================
   CUSTOM PC VISUAL
   ========================= */

.custom-visual {
    position: relative;

    min-height: 600px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(95, 159, 0, 0.12),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #151515,
            #070707
        );

    display: flex;

    align-items: center;
    justify-content: center;
}

.custom-visual::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border: 1px solid rgba(95, 159, 0, 0.25);

    transform: rotate(45deg);
}

.custom-visual::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    transform: rotate(45deg);
}

.pc-glow {
    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    background: rgba(95, 159, 0, 0.15);

    filter: blur(70px);
}

.pc-text {
    position: relative;

    z-index: 2;

    color: var(--white);

    font-size: 55px;
    font-weight: 900;

    line-height: 0.9;

    text-align: center;

    letter-spacing: -3px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    padding: 150px 0;

    background: var(--green);

    color: var(--black);

    text-align: center;
}

.cta-content {
    max-width: 900px;

    margin: 0 auto;
}

.cta .section-label {
    color: rgba(0, 0, 0, 0.6);
}

.cta h2 {
    color: var(--black);

    font-size: clamp(55px, 8vw, 110px);

    line-height: 0.88;

    letter-spacing: -5px;

    text-transform: uppercase;
}

.cta p {
    max-width: 550px;

    margin: 30px auto 0;

    color: rgba(0, 0, 0, 0.65);

    font-size: 17px;
}

.cta .button {
    margin-top: 35px;

    background: var(--black);

    color: var(--white);
}

.cta .button:hover {
    background: var(--white);

    color: var(--black);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding: 80px 0 30px;

    background: var(--black);

    color: var(--white);

    border-top: 1px solid var(--border-dark);
}

.footer-top {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 80px;

    padding-bottom: 70px;
}

.footer-brand p {
    margin-top: 18px;

    color: #777;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 2px;
}

.footer-column {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-column > span {
    margin-bottom: 10px;

    color: var(--green);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.footer-column a,
.footer-column p {
    color: #999;

    font-size: 13px;
}

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

.footer-bottom {
    display: flex;

    justify-content: space-between;

    padding-top: 25px;

    border-top: 1px solid var(--border-dark);

    color: #777;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   INNER PAGES
   ========================================================= */

/* =========================
   PAGE HERO
   ========================= */

.page-hero {
    min-height: 620px;

    display: flex;

    align-items: flex-end;

    padding: 160px 0 90px;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(95, 159, 0, 0.08),
            transparent 30%
        ),
        var(--black);

    color: var(--white);
}

.page-hero h1 {
    max-width: 1000px;

    color: var(--white);

    font-size: clamp(65px, 10vw, 140px);

    line-height: 0.83;

    letter-spacing: -7px;

    text-transform: uppercase;
}

.page-hero h1 span {
    color: var(--green);
}

.page-hero p {
    max-width: 620px;

    margin-top: 35px;

    color: #a0a0a0;

    font-size: 17px;

    line-height: 1.7;
}


/* =========================================================
   SERVICES PAGE
   ========================================================= */

.services-page {
    background: var(--off-white);

    color: var(--black);
}

.services-detail-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    border-top: 1px solid var(--border-light);

    border-left: 1px solid var(--border-light);
}

.service-detail {
    min-height: 500px;

    padding: 55px;

    color: var(--black);

    border-right: 1px solid var(--border-light);

    border-bottom: 1px solid var(--border-light);

    transition: background 0.3s ease;
}

.service-detail:hover {
    background: #ffffff;
}

.service-detail-number {
    color: var(--green-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.service-detail h2 {
    margin-top: 70px;

    color: var(--black);

    font-size: 35px;

    line-height: 1;

    text-transform: uppercase;
}

.service-detail p {
    max-width: 500px;

    margin-top: 20px;

    color: #666;

    font-size: 15px;

    line-height: 1.7;
}

.service-detail ul {
    margin-top: 30px;

    list-style: none;
}

.service-detail li {
    position: relative;

    padding: 8px 0 8px 20px;

    color: #555;

    font-size: 13px;

    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.service-detail li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 16px;

    width: 6px;
    height: 6px;

    background: var(--green-dark);
}


/* =========================================================
   3D PRINT PAGE
   ========================================================= */

.three-intro {
    background: var(--off-white);

    color: var(--black);
}

.three-intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 120px;
}

.three-intro h2 {
    color: var(--black);

    font-size: clamp(45px, 6vw, 82px);

    line-height: 0.9;

    letter-spacing: -4px;

    text-transform: uppercase;
}

.three-intro h2 span {
    color: var(--green-dark);
}

.three-intro-text {
    color: #606060;

    font-size: 16px;

    line-height: 1.8;
}

.three-intro-text .large-text {
    color: var(--black);
}


/* =========================================================
   3D CARDS
   ========================================================= */

.three-services {
    background: var(--black);

    color: var(--white);
}

.three-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border-dark);

    border-left: 1px solid var(--border-dark);
}

.three-card {
    min-height: 320px;

    padding: 40px;

    background: var(--black);

    color: var(--white);

    border-right: 1px solid var(--border-dark);

    border-bottom: 1px solid var(--border-dark);

    transition: background 0.3s ease;
}

.three-card:hover {
    background: rgba(255, 255, 255, 0.03);
}

.three-card > span {
    color: var(--green);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.three-card h3 {
    margin-top: 90px;

    color: var(--white);

    font-size: 27px;

    line-height: 1;

    text-transform: uppercase;
}

.three-card p {
    margin-top: 18px;

    color: #999;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   3D PROCESS
   ========================================================= */

.three-process {
    background: var(--off-white);

    color: var(--black);
}

.process-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 120px;
}

.process-list {
    border-top: 1px solid var(--border-light);
}

.process-item {
    display: grid;

    grid-template-columns: 50px 1fr;

    gap: 20px;

    padding: 30px 0;

    border-bottom: 1px solid var(--border-light);
}

.process-item > span {
    color: var(--green-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.process-item h3 {
    color: var(--black);

    font-size: 21px;

    text-transform: uppercase;
}

.process-item p {
    margin-top: 8px;

    color: #666;

    font-size: 14px;
}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery-page {
    background: var(--off-white);

    color: var(--black);
}

.gallery-grid-new {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}

.gallery-card {
    position: relative;

    min-height: 480px;

    overflow: hidden;

    background: var(--black);
}

.gallery-large {
    grid-row: span 2;

    min-height: 980px;
}

.gallery-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s ease,
        opacity 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);

    opacity: 0.75;
}

.gallery-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 35px;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.9),
            transparent
        );
}

.gallery-overlay span {
    color: var(--green);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}

.gallery-overlay h2 {
    margin-top: 8px;

    color: var(--white);

    font-size: 30px;

    text-transform: uppercase;
}


/* =========================
   DARK GALLERY CARD
   ========================= */

.gallery-dark-card {
    display: flex;

    align-items: center;
    justify-content: center;

    padding: 50px;

    background: var(--black);

    color: var(--white);
}

.gallery-dark-card > div {
    width: 100%;
}

.gallery-dark-card span {
    color: var(--green);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}

.gallery-dark-card h2 {
    margin-top: 25px;

    color: var(--white);

    font-size: clamp(35px, 5vw, 65px);

    line-height: 0.95;

    letter-spacing: -3px;

    text-transform: uppercase;
}

.gallery-dark-card a {
    display: inline-block;

    margin-top: 35px;

    padding-bottom: 7px;

    color: var(--white);

    border-bottom: 1px solid var(--white);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-page {
    background: var(--off-white);

    color: var(--black);
}

.contact-grid-new {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 100px;
}

.contact-information h2 {
    color: var(--black);

    font-size: clamp(45px, 6vw, 75px);

    line-height: 0.9;

    letter-spacing: -4px;

    text-transform: uppercase;
}

.contact-details {
    margin-top: 70px;

    border-top: 1px solid var(--border-light);
}

.contact-detail {
    padding: 25px 0;

    border-bottom: 1px solid var(--border-light);
}

.contact-detail span {
    display: block;

    margin-bottom: 8px;

    color: var(--green-dark);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.contact-detail p,
.contact-detail a {
    color: #333;

    font-size: 16px;
}

.contact-detail a:hover {
    color: var(--green-dark);
}


/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form-new {
    padding: 55px;

    background: var(--black);

    color: var(--white);
}

.form-header > span {
    color: var(--green);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}

.form-header h2 {
    margin-top: 15px;

    color: var(--white);

    font-size: 45px;

    line-height: 0.95;

    letter-spacing: -2px;

    text-transform: uppercase;
}

.contact-form-new form {
    margin-top: 50px;
}

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.form-field {
    margin-bottom: 22px;
}

.form-field label {
    display: block;

    margin-bottom: 8px;

    color: #999;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;

    padding: 16px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 0;

    outline: none;

    background: #151515;

    color: var(--white);

    font-size: 14px;

    transition: border-color 0.25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #666;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--green);
}

.form-field textarea {
    min-height: 170px;

    resize: vertical;
}

.form-submit {
    width: 100%;

    cursor: pointer;

    border: none;
}

.form-message {
    margin-top: 20px;

    color: var(--green);

    font-size: 13px;
}


/* =========================================================
   MAP
   ========================================================= */

.map-section {
    background: var(--black);

    color: var(--white);
}

.map-container {
    width: 100%;

    height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;

    border: 0;

    filter:
        none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .desktop-nav {
        gap: 18px;

        margin-right: 20px;
    }

    .desktop-nav a {
        font-size: 10px;
    }

    .header-button {
        padding: 0 15px;
    }

    .intro-grid,
    .why-grid {
        gap: 60px;
    }

    .service-row {
        grid-template-columns: 50px 1fr 1fr 35px;

        gap: 15px;
    }

    .service-name {
        font-size: 23px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .container {
        width: calc(100% - 30px);
    }

    .section {
        padding: 90px 0;
    }


    /* HEADER */

    .site-header {
        height: 75px;
    }

    .header-inner {
        width: calc(100% - 30px);
    }

    .logo img {
        width: 135px;

        max-height: 50px;
    }

    .desktop-nav,
    .header-button {
        display: none;
    }

    .menu-button {
        display: flex;

        align-items: center;
        justify-content: center;
    }

    .mobile-menu {
        top: 75px;
    }


    /* HERO */

    .hero {
        min-height: 100svh;

        padding: 125px 0 90px;
    }

    .hero h1 {
        font-size: clamp(55px, 16vw, 85px);

        letter-spacing: -4px;
    }

    .hero-description {
        font-size: 15px;

        margin-top: 30px;
    }

    .hero-actions {
        flex-direction: column;

        width: 100%;

        margin-top: 30px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-bottom {
        left: 15px;
        right: 15px;

        bottom: 20px;

        font-size: 7px;
    }


    /* INTRO */

    .intro-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    /* SERVICES */

    .service-row {
        grid-template-columns: 35px 1fr 30px;

        gap: 12px;

        min-height: 120px;
    }

    .service-description {
        display: none;
    }

    .service-name {
        font-size: 21px;
    }

    .service-row:hover {
        padding-left: 10px;
        padding-right: 10px;
    }


    /* FEATURE */

    .feature-image {
        min-height: 650px;

        background-position: 65% center;
    }

    .feature-content {
        width: calc(100% - 30px);
    }

    .feature-content h2 {
        font-size: clamp(50px, 14vw, 75px);

        letter-spacing: -3px;
    }


    /* WHY */

    .why-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    /* CUSTOM PC */

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

    .custom-content {
        padding: 0 0 60px;
    }

    .custom-visual {
        min-height: 400px;
    }


    /* FOOTER */

    .footer-top {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 10px;
    }


    /* INNER PAGE HERO */

    .page-hero {
        min-height: 500px;

        padding: 130px 0 70px;
    }

    .page-hero h1 {
        font-size: clamp(55px, 15vw, 90px);

        letter-spacing: -4px;
    }


    /* SERVICES PAGE */

    .services-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-detail {
        min-height: auto;

        padding: 35px 25px;
    }

    .service-detail h2 {
        margin-top: 50px;

        font-size: 28px;
    }


    /* 3D */

    .three-intro-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

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

    .three-card {
        min-height: 260px;

        padding: 30px;
    }

    .three-card h3 {
        margin-top: 60px;
    }


    /* PROCESS */

    .process-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }


    /* GALLERY */

    .gallery-grid-new {
        grid-template-columns: 1fr;
    }

    .gallery-large {
        grid-row: auto;

        min-height: 500px;
    }

    .gallery-card {
        min-height: 350px;
    }


    /* CONTACT */

    .contact-grid-new {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .contact-details {
        margin-top: 50px;
    }

    .contact-form-new {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .form-header h2 {
        font-size: 35px;
    }


    /* MAP */

    .map-container {
        height: 350px;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 24px);
    }

    .hero h1 {
        font-size: 54px;

        letter-spacing: -3px;
    }

    .eyebrow {
        font-size: 8px;

        letter-spacing: 2px;
    }

    .eyebrow::before,
    .eyebrow::after {
        width: 20px;
    }

    .hero-bottom span:nth-child(2) {
        display: none;
    }

    .intro h2,
    .section-heading h2,
    .why h2,
    .custom-content h2 {
        font-size: 45px;

        letter-spacing: -2px;
    }

    .large-text {
        font-size: 21px;
    }

    .service-name {
        font-size: 18px;
    }

    .feature-image {
        min-height: 580px;
    }

    .cta {
        padding: 100px 0;
    }

    .page-hero h1 {
        font-size: 54px;

        letter-spacing: -3px;
    }

    .gallery-large {
        min-height: 400px;
    }

    .gallery-dark-card {
        min-height: 400px;

        padding: 30px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;

        transition: none !important;
    }

    .reveal {
        opacity: 1;

        transform: none;
    }
}


/* =========================================================
   PS4 / PS5 CONTROLLER REPAIR
   ========================================================= */

.controller-feature {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 50%, rgba(95, 159, 0, 0.16), transparent 28%),
        linear-gradient(135deg, #0b0b0b 0%, #11150d 100%);
    color: var(--white);
}

.controller-feature-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
}

.controller-feature-content h2 {
    margin-top: 28px;
    font-size: clamp(52px, 6vw, 88px);
    line-height: 0.92;
    letter-spacing: -4px;
    text-transform: uppercase;
}

.controller-feature-content h2 span {
    color: var(--green);
}

.controller-feature-lead {
    max-width: 670px;
    margin-top: 32px;
    color: #b3b3b3;
    font-size: 16px;
    line-height: 1.8;
}

.controller-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 30px;
}

.controller-feature-tags span {
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,0.14);
    color: #c5c5c5;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.controller-feature-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 36px;
}

.controller-text-link {
    color: var(--white);
}

.controller-feature-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
        #0d0e0c;
    background-size: 38px 38px;
}

.controller-feature-glow,
.controller-page-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(95,159,0,0.38), transparent 68%);
    filter: blur(24px);
    animation: controllerGlowPulse 3.8s ease-in-out infinite;
}

.controller-outline {
    position: relative;
    z-index: 2;
    width: 330px;
    height: 205px;
    border: 3px solid rgba(255,255,255,0.82);
    border-radius: 44% 44% 34% 34% / 46% 46% 58% 58%;
    transform: perspective(700px) rotateX(5deg);
    filter: drop-shadow(0 0 13px rgba(95,159,0,0.25));
    animation: controllerFloat 4.2s ease-in-out infinite;
}

.controller-outline::before,
.controller-outline::after {
    content: "";
    position: absolute;
    bottom: -58px;
    width: 105px;
    height: 105px;
    border: 3px solid rgba(255,255,255,0.82);
    background: #0d0e0c;
    transform: rotate(34deg);
    z-index: -1;
}

.controller-outline::before {
    left: 24px;
    border-radius: 30% 20% 44% 25%;
}

.controller-outline::after {
    right: 24px;
    transform: rotate(-34deg);
    border-radius: 20% 30% 25% 44%;
}

.controller-stick {
    position: absolute;
    bottom: 38px;
    width: 44px;
    height: 44px;
    border: 3px solid var(--green);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(95,159,0,0.45);
}

.controller-stick::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;
}

.controller-stick-left {
    left: 104px;
}

.controller-stick-right {
    right: 104px;
}

.controller-dpad {
    position: absolute;
    left: 52px;
    top: 69px;
    color: #e8e8e8;
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
}

.controller-buttons {
    position: absolute;
    right: 59px;
    top: 75px;
    width: 58px;
    height: 58px;
}

.controller-buttons i {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid var(--green);
    border-radius: 50%;
}

.controller-buttons i:nth-child(1) { top: 0; left: 22px; }
.controller-buttons i:nth-child(2) { top: 22px; right: 0; }
.controller-buttons i:nth-child(3) { bottom: 0; left: 22px; }
.controller-buttons i:nth-child(4) { top: 22px; left: 0; }

.controller-feature-badge {
    position: absolute;
    z-index: 4;
    left: 28px;
    bottom: 28px;
    display: flex;
    flex-direction: column;
}

.controller-feature-badge strong {
    color: var(--green);
    font-size: 24px;
    line-height: 1;
}

.controller-feature-badge span {
    margin-top: 6px;
    color: #7c7c7c;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2px;
}


/* CONTROLLER PAGE HERO */

.controller-page-hero {
    position: relative;
    min-height: 820px;
    display: flex;
    align-items: center;
    padding: 150px 0 90px;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 45%, rgba(95,159,0,0.15), transparent 29%),
        #090909;
}

.controller-page-grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background:
        linear-gradient(rgba(95,159,0,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95,159,0,0.04) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to left, #000, transparent 80%);
}

.controller-page-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 70px;
    align-items: center;
}

.controller-page-hero h1 {
    margin-top: 24px;
    font-size: clamp(62px, 8vw, 118px);
    line-height: 0.84;
    letter-spacing: -6px;
    text-transform: uppercase;
}

.controller-page-hero h1 span {
    color: var(--green);
}

.controller-page-hero-content > p {
    max-width: 650px;
    margin-top: 34px;
    color: #aaa;
    font-size: 16px;
    line-height: 1.8;
}

.controller-hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 38px;
}

.controller-page-link {
    color: #fff;
}

.controller-page-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.controller-outline-large {
    width: 400px;
    height: 245px;
}

.controller-outline-large .controller-stick-left {
    left: 127px;
}

.controller-outline-large .controller-stick-right {
    right: 127px;
}

.controller-outline-large .controller-dpad {
    left: 63px;
    top: 83px;
}

.controller-outline-large .controller-buttons {
    right: 72px;
    top: 90px;
}

.controller-visual-copy {
    position: absolute;
    bottom: 25px;
    display: flex;
    gap: 13px;
    align-items: center;
    color: #8e8e8e;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;
}

.controller-visual-copy strong {
    color: var(--green);
}


/* PROBLEMS */

.controller-problems {
    background: var(--off-white);
    color: var(--black);
}

.controller-problems .section-heading h2,
.controller-process .section-heading h2 {
    color: var(--black);
}

.controller-problems .section-heading h2 span,
.controller-process .section-heading h2 span {
    color: var(--green-dark);
}

.controller-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 70px;
    border-top: 1px solid var(--border-light);
    border-left: 1px solid var(--border-light);
}

.controller-problem-card {
    min-height: 300px;
    padding: 36px;
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    transition: background .25s ease, transform .25s ease;
}

.controller-problem-card:hover {
    background: #fff;
    transform: translateY(-4px);
}

.controller-problem-card > span,
.controller-process-step > span {
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.controller-problem-card h3 {
    margin-top: 55px;
    color: var(--black);
    font-size: 26px;
    text-transform: uppercase;
}

.controller-problem-card p {
    margin-top: 15px;
    color: #656565;
    font-size: 14px;
    line-height: 1.7;
}


/* DIAGNOSTICS */

.controller-diagnostics {
    background: #0b0b0b;
}

.controller-diagnostics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 110px;
}

.controller-diagnostics h2 {
    margin-top: 25px;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .92;
    letter-spacing: -4px;
    text-transform: uppercase;
}

.controller-diagnostics h2 span {
    color: var(--green);
}

.controller-diagnostics-copy {
    color: #a7a7a7;
    font-size: 15px;
    line-height: 1.8;
}

.controller-diagnostics-copy .large-text {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.controller-diagnostics-copy p + p {
    margin-top: 20px;
}

.controller-diagnostics-copy ul {
    margin-top: 30px;
    list-style: none;
}

.controller-diagnostics-copy li {
    position: relative;
    padding: 11px 0 11px 22px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.controller-diagnostics-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 19px;
    width: 6px;
    height: 6px;
    background: var(--green);
}


/* PROCESS */

.controller-process {
    background: var(--off-white);
    color: var(--black);
}

.controller-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 65px;
    border-top: 1px solid var(--border-light);
    border-left: 1px solid var(--border-light);
}

.controller-process-step {
    min-height: 270px;
    padding: 32px;
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.controller-process-step h3 {
    margin-top: 55px;
    color: #111;
    font-size: 23px;
    text-transform: uppercase;
}

.controller-process-step p {
    margin-top: 14px;
    color: #666;
    font-size: 13px;
    line-height: 1.7;
}


/* CTA */

.controller-cta {
    padding: 140px 0;
    background:
        radial-gradient(circle at 82% 50%, rgba(95,159,0,.14), transparent 26%),
        #0a0a0a;
}

.controller-cta-content {
    max-width: 920px;
}

.controller-cta h2 {
    margin-top: 25px;
    font-size: clamp(56px, 7vw, 100px);
    line-height: .88;
    letter-spacing: -5px;
    text-transform: uppercase;
}

.controller-cta h2 span {
    color: var(--green);
}

.controller-cta p {
    max-width: 610px;
    margin: 30px 0 35px;
    color: #9c9c9c;
    font-size: 15px;
    line-height: 1.8;
}


/* ANIMATION */

@keyframes controllerFloat {
    0%, 100% {
        transform: perspective(700px) rotateX(5deg) translateY(0);
    }
    50% {
        transform: perspective(700px) rotateX(5deg) translateY(-12px);
    }
}

@keyframes controllerGlowPulse {
    0%, 100% {
        opacity: .55;
        transform: scale(.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}


/* CONTROLLER RESPONSIVE */

@media (max-width: 1000px) {
    .controller-feature-grid,
    .controller-page-hero-grid,
    .controller-diagnostics-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .controller-feature-visual,
    .controller-page-visual {
        min-height: 460px;
    }

    .controller-problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .controller-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .controller-feature {
        padding: 95px 0;
    }

    .controller-feature-content h2,
    .controller-diagnostics h2 {
        letter-spacing: -2px;
    }

    .controller-feature-actions,
    .controller-hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .controller-feature-visual {
        min-height: 390px;
    }

    .controller-outline {
        width: 250px;
        height: 155px;
    }

    .controller-outline::before,
    .controller-outline::after {
        bottom: -44px;
        width: 82px;
        height: 82px;
    }

    .controller-stick {
        bottom: 28px;
        width: 34px;
        height: 34px;
    }

    .controller-stick-left { left: 78px; }
    .controller-stick-right { right: 78px; }

    .controller-dpad {
        left: 37px;
        top: 51px;
        font-size: 43px;
    }

    .controller-buttons {
        right: 39px;
        top: 52px;
        transform: scale(.8);
    }

    .controller-page-hero {
        min-height: auto;
        padding: 130px 0 80px;
    }

    .controller-page-hero h1 {
        font-size: clamp(52px, 15vw, 78px);
        letter-spacing: -3px;
    }

    .controller-outline-large {
        width: 270px;
        height: 165px;
    }

    .controller-problem-grid,
    .controller-process-grid {
        grid-template-columns: 1fr;
    }

    .controller-diagnostics-grid {
        gap: 45px;
    }

    .controller-cta {
        padding: 100px 0;
    }

    .controller-cta h2 {
        letter-spacing: -3px;
    }
}


/* =========================================================
   SERVICES PAGE / CONTROLLER MATCHING STYLE
   ========================================================= */

.service-detail-controller {
    position: relative;
    background: transparent;
    color: var(--black);
}

.service-detail-controller:hover {
    background: #ffffff;
}

.service-detail-controller .service-detail-number {
    color: var(--green-dark);
}

.service-detail-controller h2 {
    color: var(--black);
}

.service-detail-controller p,
.service-detail-controller li {
    color: #555;
}

.service-detail-controller li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.service-detail-controller li::before {
    background: var(--green-dark);
}

.service-detail-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
}

.service-detail-controller .text-link {
    color: var(--black);
}

.service-detail-controller .button {
    background: var(--black);
    color: var(--white);
}

.service-detail-controller .button:hover {
    background: var(--green-dark);
    color: var(--white);
}

@media (max-width: 600px) {
    .service-detail-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .service-detail-actions .button {
        width: 100%;
    }
}



/* =========================================================
   INSTAGRAM / PROJECTS
   ========================================================= */

.custom-pc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 28px;
}

.custom-pc-links .text-link {
    margin-top: 0;
}

.custom-instagram-visual {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    overflow: hidden;
    background: #0b0c0b;
}

.custom-instagram-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.72) 0%,
            rgba(0,0,0,.10) 36%,
            rgba(0,0,0,.12) 100%
        ),
        radial-gradient(
            circle at center,
            rgba(95,159,0,.10),
            transparent 58%
        );
}

.instagram-mini-feed {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #0c0d0c;
}

.instagram-mini-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.035);
    transition:
        opacity 1s ease,
        transform 6s ease;
    pointer-events: none;
}

.instagram-mini-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.instagram-mini-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-mini-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.18),
            transparent 55%
        );
}

.instagram-mini-meta {
    position: absolute;
    z-index: 5;
    left: 28px;
    right: 28px;
    bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.instagram-mini-meta span {
    color: #8f8f8f;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2px;
}

.instagram-mini-meta a {
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.instagram-mini-meta a:hover {
    color: var(--green);
}

.instagram-feed-loading,
.instagram-gallery-loading,
.instagram-feed-error {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.instagram-feed-loading img,
.instagram-gallery-loading img {
    width: min(240px, 55%);
    height: auto;
    opacity: .88;
}

.instagram-feed-loading span,
.instagram-gallery-loading p,
.instagram-feed-error p {
    color: #777;
    font-size: 11px;
    letter-spacing: 1px;
}

.instagram-projects-hero {
    position: relative;
    overflow: hidden;
}

.instagram-projects-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(95,159,0,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95,159,0,.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to left, #000, transparent 72%);
}

.instagram-projects-hero .container {
    position: relative;
    z-index: 2;
}

.instagram-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.instagram-profile-link:hover {
    color: var(--white);
}

.instagram-gallery-section {
    background: var(--off-white);
    color: var(--black);
}

.instagram-gallery-heading {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 65px;
}

.instagram-gallery-heading h2 {
    margin-top: 20px;
    color: var(--black);
    font-size: clamp(50px, 6vw, 86px);
    line-height: .9;
    letter-spacing: -4px;
    text-transform: uppercase;
}

.instagram-gallery-heading h2 span {
    color: var(--green-dark);
}

.instagram-gallery-heading > p {
    max-width: 520px;
    color: #6a6a6a;
    font-size: 15px;
    line-height: 1.8;
}

.instagram-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    background: var(--border-light);
    border: 1px solid var(--border-light);
}

.instagram-gallery-card {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #111;
}

.instagram-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .55s cubic-bezier(.2,.7,.2,1),
        filter .45s ease;
}

.instagram-gallery-card:hover img {
    transform: scale(1.055);
    filter: brightness(.72);
}

.instagram-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 22px;
    opacity: 0;
    transition: opacity .35s ease;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.82),
            rgba(0,0,0,.04) 65%
        );
}

.instagram-gallery-card:hover .instagram-gallery-overlay {
    opacity: 1;
}

.instagram-gallery-overlay span {
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.instagram-media-type {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    padding: 6px 8px;
    background: rgba(0,0,0,.72);
    color: var(--green);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.instagram-gallery-footer {
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

.instagram-gallery-grid > .instagram-gallery-loading,
.instagram-gallery-grid > .instagram-feed-error {
    grid-column: 1 / -1;
    min-height: 420px;
    background: #0d0d0d;
}

.instagram-feed-error a {
    color: var(--green);
    font-weight: 800;
}

@media (max-width: 1000px) {
    .instagram-gallery-heading {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .instagram-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .custom-instagram-visual {
        min-height: 430px;
    }

    .instagram-mini-meta {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .instagram-mini-meta span {
        display: none;
    }

    .instagram-gallery-heading h2 {
        letter-spacing: -2px;
    }

    .instagram-gallery-grid {
        grid-template-columns: 1fr;
    }

    .instagram-gallery-overlay {
        opacity: 1;
        background:
            linear-gradient(
                to top,
                rgba(0,0,0,.58),
                transparent 48%
            );
    }
}


/* =========================================================
   CUSTOM PC / INSTAGRAM FULL HALF-WIDTH
   Instagram photos fill the entire right half of the section
   ========================================================= */

@media (min-width: 1001px) {
    .custom-pc {
        overflow: hidden;
    }

    .custom-pc .custom-grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .custom-pc .custom-instagram-visual {
        width: 50vw;
        min-height: 680px;
        justify-self: start;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .custom-pc .instagram-mini-feed,
    .custom-pc .instagram-mini-slide,
    .custom-pc .instagram-mini-slide img {
        width: 100%;
        height: 100%;
    }

    .custom-pc .instagram-mini-slide img {
        object-fit: cover;
        object-position: center;
    }

    .custom-pc .custom-instagram-visual .logo-diamond {
        display: none;
    }

    .custom-pc .custom-instagram-visual .pc-glow {
        opacity: .35;
        pointer-events: none;
    }
}

@media (max-width: 1000px) {
    .custom-pc .custom-instagram-visual {
        width: 100%;
        min-height: 480px;
    }
}

@media (max-width: 768px) {
    .custom-pc .custom-instagram-visual {
        min-height: 430px;
    }
}


/* =========================================================
   CUSTOM PC / INSTAGRAM FULL SECTION HEIGHT
   Right-side Instagram visual touches top and bottom
   ========================================================= */

@media (min-width: 1001px) {
    .custom-pc {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .custom-pc .container {
        max-width: none;
        width: 100%;
        padding-left: max(24px, calc((100vw - 1200px) / 2));
        padding-right: 0;
    }

    .custom-pc .custom-grid {
        min-height: 680px;
        align-items: stretch;
        gap: 0;
    }

    .custom-pc .custom-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 90px;
        padding-bottom: 90px;
        padding-right: 70px;
    }

    .custom-pc .custom-instagram-visual {
        height: 100%;
        min-height: 680px;
        align-self: stretch;
        margin: 0 !important;
    }

    .custom-pc .instagram-mini-feed,
    .custom-pc .instagram-mini-slide,
    .custom-pc .instagram-mini-slide img {
        height: 100%;
    }
}
/* =========================================================
   CONTROLLER SERVICE / REAL PS5 CONTROLLER PNG
   ========================================================= */

.controller-page-visual.controller-real-photo {
    position: relative;
    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: visible;
}

.controller-real-image {
    position: relative;
    z-index: 2;

    width: min(115%, 680px);
    max-width: none;
    height: auto;

    display: block;

    object-fit: contain;

    filter:
        drop-shadow(0 25px 45px rgba(0,0,0,.55))
        drop-shadow(0 0 28px rgba(95,159,0,.18));

    transition: transform .45s ease;
}

.controller-page-visual.controller-real-photo:hover .controller-real-image {
    transform: scale(1.04);
}

.controller-page-visual.controller-real-photo .controller-page-glow {
    z-index: 1;
}

.controller-page-visual.controller-real-photo .controller-visual-copy {
    z-index: 3;
}

@media (max-width: 900px) {

    .controller-page-visual.controller-real-photo {
        min-height: 420px;
    }

    .controller-real-image {
        width: min(105%, 560px);
    }
}

@media (max-width: 600px) {

    .controller-page-visual.controller-real-photo {
        min-height: 340px;
    }

    .controller-real-image {
        width: 100%;
    }
}
