/*
Theme Name: gsibelium
Theme URI: https://guiliemsibelium.com
Description: Child theme for GeneratePress. Custom portfolio and sample packs website.
Author: Guiliem Sibelium
Author URI: https://guiliemsibelium.com
Template: generatepress
Version: 1.0.0
Text Domain: gsibelium
*/


/* --------------------------------------------------------
   01. Fonts: Jost
-------------------------------------------------------- */

@font-face {
    font-family: 'Jost';
    src: url('./assets/fonts/jost/Jost-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('./assets/fonts/jost/Jost-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('./assets/fonts/jost/Jost-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('./assets/fonts/jost/Jost-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('./assets/fonts/jost/Jost-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('./assets/fonts/jost/Jost-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('./assets/fonts/jost/Jost-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('./assets/fonts/jost/Jost-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('./assets/fonts/jost/Jost-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('./assets/fonts/jost/Jost-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


/* --------------------------------------------------------
   02. Design system
-------------------------------------------------------- */

:root {
    --gs-bg: #030303;
    --gs-bg-soft: #080809;
    --gs-text: #f5f2ea;
    --gs-muted: #a8a29a;
    --gs-muted-2: #706b65;
    --gs-accent: #ff2d2d;
    --gs-accent-dark: #b80f19;
    --gs-accent-soft: rgba(255, 45, 45, 0.16);
    --gs-accent-glow: rgba(255, 45, 45, 0.34);
    --gs-border: rgba(255, 255, 255, 0.12);
    --gs-border-strong: rgba(255, 255, 255, 0.22);
    --gs-container: 1180px;
    --gs-radius-sm: 12px;
    --gs-radius-md: 20px;
    --gs-radius-lg: 32px;
    --gs-shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.42);
    --gs-shadow-red: 0 24px 90px rgba(255, 45, 45, 0.16);
    --gs-transition: 180ms ease;
    --font-main: 'Jost', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}


/* --------------------------------------------------------
   03. Base / reset
-------------------------------------------------------- */

html {
    scroll-behavior: smooth;
    background: var(--gs-bg);
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: radial-gradient(circle at 12% 8%, rgba(255, 45, 45, 0.14), transparent 34rem), radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.055), transparent 30rem), radial-gradient(circle at 78% 72%, rgba(255, 45, 45, 0.1), transparent 34rem), radial-gradient(circle at 18% 92%, rgba(255, 255, 255, 0.045), transparent 26rem), var(--gs-bg);
    color: var(--gs-text);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

body,
button,
input,
select,
textarea {
    font-family: var(--font-main);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--gs-accent);
}

img,
video,
svg {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--gs-accent);
    color: #050505;
}


/* --------------------------------------------------------
   04. GeneratePress cleanup
-------------------------------------------------------- */

.site {
    position: relative;
    overflow: hidden;
    background: transparent !important;
}

.site::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}

.site-content,
.site-main,
.content-area,
.inside-article,
.entry-content,
.one-container .site-content,
.separate-containers .inside-article,
.separate-containers .site-main,
.separate-containers .comments-area,
.separate-containers .paging-navigation,
.page,
.page-content,
.wp-site-blocks {
    margin: 0;
    padding: 0;
    background: transparent !important;
}

.site-content,
.site-footer,
.gs-header {
    position: relative;
    z-index: 1;
}

.entry-header {
    display: none;
}


/* --------------------------------------------------------
   05. Layout helpers
-------------------------------------------------------- */

.gs-container {
    width: min(100% - 32px, var(--gs-container));
    margin-inline: auto;
}

.gs-section {
    position: relative;
    padding-top: 3rem;
    background: transparent !important;
}

.gs-grid {
    display: grid;
    gap: 24px;
}

.gs-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gs-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* --------------------------------------------------------
   06. Typography
-------------------------------------------------------- */

.gs-eyebrow {
    margin: 0 0 24px;
    color: var(--gs-accent);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gs-title,
.gs-section-title {
    margin: 0;
    color: var(--gs-text);
    font-weight: 600;
}

.gs-title {
    font-size: clamp(2.8rem, 8vw, 7rem);
    line-height: 6.3rem;
    letter-spacing: -0.065em;
}

.gs-section-title {
    max-width: 920px;
    font-size: clamp(2.8rem, 6vw, 6.4rem);
    line-height: 6.3rem;
    letter-spacing: -0.07em;
}

.gs-section-header {
    max-width: 820px;
    margin-bottom: clamp(42px, 6vw, 72px);
}

.gs-section-text {
    max-width: 640px;
    margin: 28px 0 0;
    color: var(--gs-muted);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.55;
}

.gs-text-muted {
    color: var(--gs-muted);
}


/* --------------------------------------------------------
   07. Shared components
-------------------------------------------------------- */

.gs-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gs-border);
    border-radius: var(--gs-radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025));
    box-shadow: var(--gs-shadow-soft);
    backdrop-filter: blur(18px);
    transition: transform var(--gs-transition), border-color var(--gs-transition), background-color var(--gs-transition), box-shadow var(--gs-transition);
}

.gs-card:hover {
    transform: translateY(-4px);
    border-color: var(--gs-border-strong);
    box-shadow: var(--gs-shadow-soft), var(--gs-shadow-red);
}

.gs-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid var(--gs-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--gs-muted);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.gs-button,
.wp-block-button__link.gs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform var(--gs-transition), background-color var(--gs-transition), color var(--gs-transition), border-color var(--gs-transition), box-shadow var(--gs-transition);
}

.gs-button:hover,
.wp-block-button__link.gs-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.gs-button--primary,
.wp-block-button__link.gs-button--primary {
    background: var(--gs-accent);
    color: #050505;
    box-shadow: 0 16px 50px rgba(255, 45, 45, 0.22);
}

.gs-button--primary:hover,
.wp-block-button__link.gs-button--primary:hover {
    background: #ff4545;
    color: #050505;
    box-shadow: 0 20px 64px rgba(255, 45, 45, 0.34);
}

.gs-button--ghost,
.wp-block-button__link.gs-button--ghost {
    border-color: var(--gs-border);
    background: rgba(255, 255, 255, 0.045);
    color: var(--gs-text);
    backdrop-filter: blur(14px);
}

.gs-button--ghost:hover,
.wp-block-button__link.gs-button--ghost:hover {
    border-color: rgba(255, 45, 45, 0.55);
    color: var(--gs-accent);
}


/* --------------------------------------------------------
   08. Custom header
-------------------------------------------------------- */

.gs-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease, box-shadow 220ms ease;
}

body.gs-header-scrolled .gs-header,
body.gs-mobile-menu-open .gs-header {
    background: rgba(3, 3, 3, 0.74);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.28);
}

.gs-header__inner {
    min-height: 118px;
    display: grid;
    grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
    align-items: center;
    gap: 24px;
}

.gs-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.gs-header__brand-icon {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.gs-header__brand-text {
    display: inline-block;
}

.gs-header__brand:hover {
    color: var(--gs-accent);
}

.gs-header__nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gs-header__link {
    min-height: 40px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: rgba(245, 242, 234, 0.72);
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 2px;
    transition: color var(--gs-transition), background-color var(--gs-transition);
}

.gs-header__link:hover {
    color: var(--gs-text);
    background: rgba(255, 255, 255, 0.055);
}

.gs-header__actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gs-header__cta {
    min-height: 42px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--gs-accent);
    color: #050505;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 2px;
    box-shadow: 0 14px 46px rgba(255, 45, 45, 0.28);
    transition: transform var(--gs-transition), background-color var(--gs-transition), box-shadow var(--gs-transition);
}

.gs-header__cta:hover {
    background: #ff4545;
    color: #050505;
    transform: translateY(-1px);
    box-shadow: 0 18px 58px rgba(255, 45, 45, 0.4);
}

.gs-header__toggle {
    display: none;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--gs-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    color: var(--gs-text);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.gs-header__toggle:hover {
    border-color: rgba(255, 45, 45, 0.55);
    color: var(--gs-accent);
}

.gs-header__mobile {
    width: min(100% - 24px, var(--gs-container));
    margin: 0 auto 14px;
    padding: 14px;
    border: 1px solid var(--gs-border);
    border-radius: 24px;
    background: rgba(3, 3, 3, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.gs-header__mobile[hidden] {
    display: none !important;
}

.gs-header__mobile a {
    min-height: 48px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    border-radius: 14px;
    color: var(--gs-muted);
    font-size: 1rem;
    font-weight: 650;
}

.gs-header__mobile a:hover {
    color: var(--gs-text);
    background: rgba(255, 255, 255, 0.055);
}

.gs-header__mobile .gs-header__mobile-cta {
    justify-content: center;
    margin-top: 8px;
    background: var(--gs-accent);
    color: #050505;
    border-radius: 999px;
}

.gs-header__mobile .gs-header__mobile-cta:hover {
    background: #ff4545;
    color: #050505;
}

body.gs-mobile-menu-open {
    overflow: hidden;
}


/* --------------------------------------------------------
   09. Hero
-------------------------------------------------------- */

.gs-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0;
    background: transparent !important;
}

.gs-hero__ambient {
    position: absolute;
    inset: auto 69% 69% auto;
    width: min(72vw, 820px);
    aspect-ratio: 1;
    border-radius: 999px;
    background: rgba(255, 45, 45, 0.1);
    filter: blur(86px);
    pointer-events: none;
}

.gs-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: clamp(48px, 8vw, 120px);
    align-items: stretch;
}

.gs-hero__content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gs-hero__title {
    max-width: 880px;
    margin: 0;
    color: var(--gs-text);
    font-size: 110px;
    line-height: 0.84;
    font-weight: 700;
    letter-spacing: -0.085em;
}

.gs-hero__title em {
    color: var(--gs-accent);
    font-style: normal;
}

.gs-hero__text {
    max-width: 590px;
    margin: 34px 0 0;
    color: var(--gs-muted);
    font-size: clamp(1.1rem, 1.55vw, 1.35rem);
    line-height: 1.55;
}

.gs-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 42px;
}

.gs-hero__visual {
    position: relative;
    min-height: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.gs-hero__visual::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: min(46vw, 560px);
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 45, 45, 0.28), transparent 62%), radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 48%);
    filter: blur(22px);
    opacity: 0.82;
    pointer-events: none;
}

.gs-hero__visual::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: min(48vw, 600px);
    aspect-ratio: 1;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    background: repeating-radial-gradient( circle, transparent 0, transparent 26px, rgba(255, 255, 255, 0.032) 27px, transparent 28px);
    opacity: 0.55;
    pointer-events: none;
}

.gs-hero__portrait {
    position: relative;
    z-index: 2;
    width: min(100%, 500px);
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.5), 0 0 90px rgba(255, 45, 45, 0.16);
}

.gs-hero__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 900px) {
    .gs-hero__inner {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .gs-hero__content {
        max-width: 100%;
        display: block;
    }
    .gs-hero__visual {
        min-height: auto;
        height: auto;
        margin-top: 0;
        align-items: center;
    }
    .gs-hero__visual::before {
        width: min(90vw, 430px);
    }
    .gs-hero__visual::after {
        width: min(94vw, 460px);
    }
    .gs-hero__portrait {
        width: 100%;
        height: 100%;
        min-height: 0;
        transform: none;
    }
    .gs-hero__portrait img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/* --------------------------------------------------------
   10. Capabilities
-------------------------------------------------------- */

.gs-capabilities {
    position: relative;
    background: transparent !important;
    /* padding-top: clamp(80px, 8vw, 120px); */
    padding: 0;
}

.gs-capabilities__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gs-capability-card {
    min-height: 330px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gs-capability-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(255, 45, 45, 0.16), transparent 34%), linear-gradient(to bottom, rgba(255, 255, 255, 0.045), transparent);
    opacity: 0;
    transition: opacity var(--gs-transition);
    pointer-events: none;
}

.gs-capability-card:hover::before {
    opacity: 1;
}

.gs-capability-card__index,
.gs-capability-card__content {
    position: relative;
    z-index: 1;
}

.gs-capability-card__index {
    width: fit-content;
    color: var(--gs-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.gs-capability-card h3 {
    max-width: 280px;
    margin: 0;
    color: var(--gs-text);
    font-size: clamp(1.8rem, 2.6vw, 2.55rem);
    line-height: 0.98;
    font-weight: 600;
    letter-spacing: -0.055em;
}

.gs-capability-card p {
    margin: 22px 0 0;
    color: var(--gs-muted);
    font-size: 1rem;
    line-height: 1.55;
}


/* --------------------------------------------------------
   11. Selected Work / Portfolio
-------------------------------------------------------- */

.gs-work {
    position: relative;
    background: transparent !important;
}

.gs-work__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(32px, 6vw, 80px);
    align-items: end;
    margin-bottom: clamp(42px, 6vw, 72px);
}

.gs-work__header .gs-section-text {
    margin: 0;
}

.gs-work__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.gs-work-card {
    min-height: 100%;
}

.gs-work-card--featured {
    grid-row: span 2;
}

.gs-work-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: calc(var(--gs-radius-lg) - 1px) calc(var(--gs-radius-lg) - 1px) 20px 20px;
    background: #080808;
}

.gs-work-card--featured .gs-work-card__media,
.gs-work-card__media--embed {
    min-height: 420px;
    aspect-ratio: 16 / 10;
}

.gs-work-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent 48%), radial-gradient(circle at 50% 50%, rgba(255, 45, 45, 0.16), transparent 38%);
    opacity: 0.8;
    transition: opacity var(--gs-transition);
    pointer-events: none;
}

.gs-work-card__media video,
.gs-work-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    filter: saturate(0.9) contrast(1.05);
    transition: transform 420ms ease, filter 420ms ease;
}

.gs-work-card:hover .gs-work-card__media video,
.gs-work-card:hover .gs-work-card__media img {
    transform: scale(1.045);
    filter: saturate(1.1) contrast(1.08);
}

.gs-work-card:hover .gs-work-card__media::after {
    opacity: 0.45;
}

.gs-work-card__media--embed {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #080808;
}

.gs-work-card__media--embed iframe {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.gs-work-card__media--embed::after {
    display: none !important;
}

.gs-work-card__play {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(5, 5, 6, 0.66);
    color: var(--gs-text);
    font-size: 0.82rem;
    font-weight: 700;
    backdrop-filter: blur(14px);
    transition: transform var(--gs-transition), border-color var(--gs-transition), color var(--gs-transition);
}

.gs-work-card:hover .gs-work-card__play {
    transform: translateY(-2px);
    border-color: rgba(255, 45, 45, 0.6);
    color: var(--gs-accent);
}

.gs-work-card__content {
    display: grid;
    gap: 24px;
    padding: 26px;
}

.gs-work-card--featured .gs-work-card__content {
    min-height: 240px;
    align-content: space-between;
}

.gs-work-card h3 {
    margin: 18px 0 0;
    color: var(--gs-text);
    font-size: clamp(2rem, 3.2vw, 3.4rem);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -0.065em;
}

.gs-work-card:not(.gs-work-card--featured) h3 {
    font-size: clamp(1.7rem, 2.4vw, 2.4rem);
}

.gs-work-card p {
    max-width: 520px;
    margin: 0;
    color: var(--gs-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.gs-work__footer {
    display: flex;
    justify-content: center;
    margin-top: clamp(32px, 5vw, 56px);
}


/* --------------------------------------------------------
   12. CV / Resume
-------------------------------------------------------- */

.gs-cv {
    position: relative;
    background: transparent !important;
}

.gs-cv__card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
    padding: clamp(32px, 6vw, 64px);
}

.gs-cv__content {
    max-width: 720px;
}

.gs-cv__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.gs-cv__meta {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 320px;
}

.gs-cv__meta::before {
    content: "";
    position: absolute;
    width: min(100%, 360px);
    aspect-ratio: 1;
    border-radius: 999px;
    background: rgba(255, 45, 45, 0.16);
    filter: blur(60px);
    pointer-events: none;
}

.gs-cv__file {
    position: relative;
    z-index: 1;
    width: min(100%, 320px);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
    border: 1px solid var(--gs-border);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
    box-shadow: var(--gs-shadow-soft), var(--gs-shadow-red);
    transform: rotate(2deg);
}

.gs-cv__file::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    pointer-events: none;
}

.gs-cv__file-type {
    width: fit-content;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--gs-accent);
    color: #050505;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.gs-cv__file-name {
    display: block;
    margin-top: auto;
    color: var(--gs-text);
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -0.06em;
}

.gs-cv__file-detail {
    display: block;
    margin-top: 18px;
    color: var(--gs-muted);
    font-size: 0.95rem;
    font-weight: 500;
}


/* --------------------------------------------------------
   13. Music / SoundCloud
-------------------------------------------------------- */

.gs-music {
    position: relative;
    background: transparent !important;
}

.gs-music__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.gs-music__content {
    max-width: 620px;
}

.gs-music__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.gs-music__player {
    position: relative;
    min-height: 460px;
    padding: 18px;
}

.gs-music__player::before {
    content: "";
    position: absolute;
    inset: auto -12% -20% auto;
    width: 360px;
    aspect-ratio: 1;
    border-radius: 999px;
    background: rgba(255, 45, 45, 0.16);
    filter: blur(64px);
    pointer-events: none;
}

.gs-music__player iframe {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 420px;
    display: block;
    border: 0;
    border-radius: 22px;
    background: #080808;
}


/* --------------------------------------------------------
   14. Footer
-------------------------------------------------------- */

.gs-footer {
    position: relative;
    z-index: 1;
    padding: clamp(64px, 8vw, 110px) 0 34px;
    background: transparent !important;
    color: var(--gs-text);
}

.gs-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(100% - 32px, var(--gs-container));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.14), rgba(255, 45, 45, 0.42), rgba(255, 255, 255, 0.14), transparent);
}

.gs-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: clamp(42px, 7vw, 100px);
    align-items: start;
}

.gs-footer__brand {
    max-width: 560px;
}

.gs-footer__logo {
    display: inline-flex;
    color: var(--gs-text);
    font-size: clamp(2.4rem, 5vw, 5.4rem);
    line-height: 0.9;
    font-weight: 650;
    letter-spacing: -0.075em;
}

.gs-footer__logo:hover {
    color: var(--gs-accent);
}

.gs-footer__brand p {
    max-width: 460px;
    margin: 26px 0 0;
    color: var(--gs-muted);
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.55;
}

.gs-footer__nav {
    display: grid;
    gap: 12px;
    justify-items: end;
}

.gs-footer__nav a {
    width: fit-content;
    color: var(--gs-muted);
    font-size: clamp(1.35rem, 2.4vw, 2.4rem);
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.055em;
    transition: color var(--gs-transition), transform var(--gs-transition);
}

.gs-footer__nav a:hover {
    color: var(--gs-accent);
    transform: translateX(-4px);
}

.gs-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: clamp(56px, 7vw, 90px);
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gs-muted-2);
    font-size: 0.9rem;
}

.gs-footer__bottom p {
    margin: 0;
}

.gs-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.gs-footer__legal a {
    color: var(--gs-muted-2);
}

.gs-footer__legal a:hover {
    color: var(--gs-accent);
}


/* --------------------------------------------------------
   15. Effects / animations
-------------------------------------------------------- */

.gs-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.gs-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.gs-cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    background: radial-gradient( circle, rgba(255, 45, 45, 0.22) 0%, rgba(255, 45, 45, 0.12) 26%, rgba(255, 45, 45, 0.04) 48%, transparent 72%);
    filter: blur(8px);
    transition: opacity 220ms ease;
    will-change: transform, opacity;
}

body.has-cursor-glow .gs-cursor-glow {
    opacity: 1;
}


/* --------------------------------------------------------
   16. Responsive
-------------------------------------------------------- */

@media (max-width: 900px) {
    .gs-container {
        width: min(100% - 28px, var(--gs-container));
    }
    .gs-hero {
        min-height: auto;
        padding: 110px 0 72px;
    }
    .gs-hero__inner,
    .gs-work__header,
    .gs-cv__card,
    .gs-music__grid,
    .gs-footer__top {
        grid-template-columns: 1fr;
    }
    .gs-hero__visual::before {
        width: min(90vw, 430px);
    }
    .gs-hero__visual::after {
        width: min(94vw, 460px);
    }
    .gs-hero__portrait {
        width: 100%;
        transform: none;
    }
    .gs-hero__title {
        font-size: clamp(3.6rem, 15vw, 6.8rem);
    }
    .gs-grid--2,
    .gs-grid--3,
    .gs-capabilities__grid,
    .gs-work__grid {
        grid-template-columns: 1fr;
    }
    .gs-capability-card {
        min-height: 280px;
    }
    .gs-work__header {
        align-items: start;
    }
    .gs-work-card--featured {
        grid-row: auto;
    }
    .gs-work-card--featured .gs-work-card__media,
    .gs-work-card__media--embed {
        min-height: 300px;
        aspect-ratio: 16 / 9;
    }
    .gs-work-card--featured .gs-work-card__content {
        min-height: auto;
    }
    .gs-cv__meta {
        min-height: 280px;
    }
    .gs-cv__file {
        min-height: 300px;
        transform: rotate(0deg);
    }
    .gs-music__player {
        min-height: auto;
    }
    .gs-footer__nav {
        justify-items: start;
    }
    .gs-footer__nav a:hover {
        transform: translateX(4px);
    }
    .gs-cursor-glow {
        display: none;
    }
}

@media (max-width: 768px) {
    .gs-header__inner {
        min-height: 68px;
        display: flex;
        justify-content: space-between;
    }
    .gs-header__nav,
    .gs-header__cta {
        display: none;
    }
    .gs-header__toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .gs-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
    .gs-cursor-glow {
        display: none;
    }
}


/* --------------------------------------------------------
   Tools & Tech
-------------------------------------------------------- */

.gs-tools {
    position: relative;
    background: transparent !important;
}

.gs-tools::before {
    content: "";
    position: absolute;
    top: 8%;
    right: -12%;
    width: min(52vw, 680px);
    aspect-ratio: 1;
    border-radius: 999px;
    background: rgba(255, 45, 45, 0.09);
    filter: blur(88px);
    pointer-events: none;
}

.gs-tools__header {
    position: relative;
    z-index: 1;
    max-width: 940px;
    margin-bottom: clamp(28px, 5vw, 54px);
}

.gs-tools__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 18px;
    align-items: stretch;
}

.gs-tools__block {
    padding: clamp(26px, 4vw, 38px);
}

.gs-tools__block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 0%, rgba(255, 45, 45, 0.16), transparent 32%), linear-gradient(to bottom, rgba(255, 255, 255, 0.045), transparent 58%);
    opacity: 0.75;
    pointer-events: none;
}

.gs-tools__block-header,
.gs-tools__grid,
.gs-tech-list {
    position: relative;
    z-index: 1;
}

.gs-tools__block-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}


/* --------------------------------------------------------
   Software tools
-------------------------------------------------------- */

.gs-tools__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.gs-tool {
    position: relative;
    min-height: 60px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 30px;
    row-gap: 6px;
    align-items: center;
    padding: 16px 30px;
    overflow: hidden;
    border: 1px solid var(--gs-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    transition: transform var(--gs-transition), border-color var(--gs-transition), background-color var(--gs-transition), box-shadow var(--gs-transition);
}

.gs-tool::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(255, 45, 45, 0.16), transparent 42%);
    opacity: 0;
    transition: opacity var(--gs-transition);
    pointer-events: none;
}

.gs-tool:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 45, 45, 0.42);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.gs-tool:hover::before {
    opacity: 1;
}

.gs-tool__logo {
    position: relative;
    z-index: 1;
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: center;
    /* width: 48px;
    height: 48px; */
    display: grid;
    place-items: center;
    border-radius: 14px;
    /* background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.08); */
}

.gs-tool__logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(1.8);
    opacity: 0.86;
    transition: filter var(--gs-transition), opacity var(--gs-transition), transform var(--gs-transition);
}

.gs-tool:hover .gs-tool__logo img {
    filter: none;
    opacity: 1;
    transform: scale(1.06);
}

.gs-tool__name {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 1;
    display: block;
    align-self: end;
    margin: 0;
    color: var(--gs-text);
    font-size: clamp(1.08rem, 1.35vw, 1.28rem);
    font-weight: 650;
    line-height: 1;
    letter-spacing: -0.04em;
}

.gs-tool__desc {
    position: relative;
    z-index: 1;
    grid-column: 2;
    grid-row: 2;
    display: block;
    align-self: start;
    max-width: 280px;
    color: var(--gs-muted);
    font-size: 0.92rem;
    line-height: 1.35;
}


/* --------------------------------------------------------
   Hardware list
-------------------------------------------------------- */

.gs-tools__block--hardware {
    display: flex;
    flex-direction: column;
}

.gs-tech-list {
    display: grid;
    gap: 14px;
    margin-top: auto;
}

.gs-tech-list__group {
    padding: 18px;
    border: 1px solid var(--gs-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
}

.gs-tech-list__label {
    display: block;
    margin-bottom: 14px;
    color: var(--gs-accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gs-tech-list ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gs-tech-list li {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: var(--gs-text);
    font-size: clamp(1rem, 1.2vw, 1.14rem);
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.gs-tech-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 999px;
    background: var(--gs-accent);
    box-shadow: 0 0 18px rgba(255, 45, 45, 0.62);
    transform: translateY(-1px);
}


/* --------------------------------------------------------
   Responsive Tools
-------------------------------------------------------- */

@media (max-width: 900px) {
    .gs-tools__layout {
        grid-template-columns: 1fr;
    }
    .gs-tools__block-header {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .gs-tools__header {
        margin-bottom: 32px;
    }
    .gs-tools__block-header {
        flex-direction: column;
        gap: 14px;
        margin-bottom: 24px;
    }
    .gs-tools__grid {
        grid-template-columns: 1fr;
    }
    .gs-tool {
        min-height: 104px;
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 14px;
        padding: 16px;
    }
    .gs-tool__logo {
        width: 44px;
        height: 44px;
    }
    .gs-tool__logo img {
        width: 25px;
        height: 25px;
    }
    .gs-tool__desc {
        max-width: 100%;
        font-size: 0.9rem;
    }
}