/* =========================================================
   EMIL HAMBARDZUMYAN — RESUME & PORTFOLIO
   Shared styles for all pages
   ========================================================= */

/* =========================
   1. DESIGN TOKENS
   ========================= */

:root {
    --bg-main: #020813;
    --bg-secondary: #04101d;
    --bg-tertiary: #071827;

    --surface: rgba(8, 24, 39, 0.76);
    --surface-soft: rgba(10, 31, 49, 0.62);
    --surface-strong: rgba(11, 34, 53, 0.94);
    --surface-hover: rgba(13, 43, 65, 0.96);

    --cyan: #21d4e8;
    --cyan-bright: #35f1ff;
    --cyan-soft: rgba(33, 212, 232, 0.12);

    --blue: #168fe8;
    --blue-bright: #3da9ff;
    --blue-deep: #1255bb;

    --teal: #19b9b0;
    --green: #18c99f;
    --green-bright: #42f5c2;

    --text-primary: #f4fbff;
    --text-secondary: #afc1d1;
    --text-tertiary: #71889c;

    --border: rgba(79, 191, 221, 0.15);
    --border-strong: rgba(33, 212, 232, 0.32);
    --border-hover: rgba(53, 241, 255, 0.56);

    --success: #35e6ad;
    --warning: #ffc866;
    --danger: #ff6b7a;

    --shadow-small: 0 12px 34px rgba(0, 0, 0, 0.22);
    --shadow-medium: 0 24px 70px rgba(0, 0, 0, 0.34);
    --shadow-large: 0 36px 120px rgba(0, 0, 0, 0.46);

    --glow-cyan: 0 0 40px rgba(33, 212, 232, 0.18);
    --glow-blue: 0 0 50px rgba(22, 143, 232, 0.18);

    --radius-small: 12px;
    --radius-medium: 18px;
    --radius-large: 26px;
    --radius-extra: 36px;

    --container: 1180px;
    --header-height: 78px;

    --transition-fast: 160ms ease;
    --transition-normal: 260ms ease;
}


/* =========================
   2. RESET
   ========================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    color: var(--text-primary);
    background:
            radial-gradient(
                    circle at 8% 8%,
                    rgba(33, 212, 232, 0.13),
                    transparent 27%
            ),
            radial-gradient(
                    circle at 88% 18%,
                    rgba(22, 143, 232, 0.15),
                    transparent 31%
            ),
            radial-gradient(
                    circle at 48% 82%,
                    rgba(25, 185, 176, 0.07),
                    transparent 37%
            ),
            var(--bg-main);

    font-family:
            Inter,
            ui-sans-serif,
            system-ui,
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            sans-serif;

    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;

    background-image:
            linear-gradient(
                    rgba(255, 255, 255, 0.022) 1px,
                    transparent 1px
            ),
            linear-gradient(
                    90deg,
                    rgba(255, 255, 255, 0.022) 1px,
                    transparent 1px
            );

    background-size: 52px 52px;
    mask-image: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.9),
            transparent 92%
    );
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;

    background:
            linear-gradient(
                    125deg,
                    transparent 10%,
                    rgba(33, 212, 232, 0.025) 38%,
                    transparent 55%,
                    rgba(22, 143, 232, 0.025) 78%,
                    transparent
            );
}

body.menu-open {
    overflow: hidden;
}

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

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

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

button {
    color: inherit;
}

ul,
ol {
    list-style: none;
}


/* =========================
   3. ACCESSIBILITY
   ========================= */

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 999;

    padding: 12px 18px;
    border-radius: var(--radius-small);

    color: #001014;
    background: var(--cyan-bright);

    font-weight: 800;

    transform: translateY(-160%);
    transition: transform var(--transition-fast);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 2px solid var(--cyan-bright);
    outline-offset: 4px;
}


/* =========================
   4. GLOBAL LAYOUT
   ========================= */

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.page-main {
    min-height: calc(100vh - var(--header-height));
}

.section {
    position: relative;
    padding: 84px 0;
}

.section-small {
    padding: 54px 0;
}

.section-large {
    padding: 110px 0;
}

.section-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.grid-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.grid-four {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}


/* =========================
   5. TYPOGRAPHY
   ========================= */

h1,
h2,
h3,
h4 {
    color: var(--text-primary);
    text-wrap: balance;
}

h1 {
    font-size: clamp(44px, 7vw, 80px);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

h2 {
    font-size: clamp(34px, 4.8vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

h3 {
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

h4 {
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
    line-height: 1.75;
}

.text-gradient {
    color: transparent;

    background:
            linear-gradient(
                    90deg,
                    #ffffff 0%,
                    var(--cyan-bright) 45%,
                    var(--blue-bright) 100%
            );

    background-clip: text;
    -webkit-background-clip: text;
}

.text-cyan {
    color: var(--cyan-bright);
}

.text-muted {
    color: var(--text-tertiary);
}

.lead {
    max-width: 750px;

    color: var(--text-secondary);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.72;
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 36px;
}

.section-header-content {
    max-width: 780px;
}

.section-description {
    max-width: 470px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;
    padding: 8px 13px;

    border: 1px solid rgba(33, 212, 232, 0.25);
    border-radius: 999px;

    color: #bef8ff;
    background: rgba(33, 212, 232, 0.075);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;

    background: var(--green-bright);
    box-shadow: 0 0 16px rgba(66, 245, 194, 0.85);
}

.section-kicker {
    margin-bottom: 12px;

    color: var(--cyan);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}


/* =========================
   6. HEADER AND NAVIGATION
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    min-height: var(--header-height);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(2, 8, 19, 0.76);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.header-inner {
    min-height: var(--header-height);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    flex-shrink: 0;
}

.brand-mark {
    position: relative;

    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border: 1px solid rgba(53, 241, 255, 0.28);
    border-radius: 15px;

    color: var(--cyan-bright);
    background:
            linear-gradient(
                    145deg,
                    rgba(33, 212, 232, 0.15),
                    rgba(22, 143, 232, 0.12)
            );

    box-shadow: var(--glow-cyan);

    font-weight: 900;
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: -1px;

    border-radius: inherit;

    background:
            linear-gradient(
                    120deg,
                    transparent 20%,
                    rgba(255, 255, 255, 0.15),
                    transparent 70%
            );

    transform: translateX(-100%);
    animation: brand-shine 5s infinite;
}

@keyframes brand-shine {
    0%,
    72% {
        transform: translateX(-110%);
    }

    100% {
        transform: translateX(110%);
    }
}

.brand-text strong {
    display: block;

    color: var(--text-primary);
    font-size: 15px;
    letter-spacing: -0.02em;
}

.brand-text small {
    display: block;

    margin-top: 2px;

    color: var(--text-tertiary);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav-link {
    position: relative;

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

    min-height: 42px;
    padding: 0 14px;

    border-radius: 999px;

    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 720;

    transition:
            color var(--transition-fast),
            background var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(33, 212, 232, 0.075);
}

.nav-link.active::after {
    content: "";

    position: absolute;
    bottom: 4px;
    left: 50%;

    width: 16px;
    height: 2px;

    border-radius: 999px;

    background: var(--cyan-bright);
    box-shadow: 0 0 10px rgba(53, 241, 255, 0.8);

    transform: translateX(-50%);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-button {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid var(--border);
    border-radius: 14px;

    color: var(--text-primary);
    background: var(--surface-soft);

    cursor: pointer;
}

.mobile-menu-button span {
    display: block;

    width: 18px;
    height: 2px;

    margin: 4px auto;

    border-radius: 99px;
    background: currentColor;

    transition:
            transform var(--transition-normal),
            opacity var(--transition-normal);
}

.mobile-menu-button.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
    display: none;
}


/* =========================
   7. BUTTONS
   ========================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 46px;
    padding: 0 18px;

    border: 1px solid var(--border);
    border-radius: 999px;

    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.035);

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

    cursor: pointer;

    transition:
            transform var(--transition-fast),
            border-color var(--transition-fast),
            background var(--transition-fast),
            box-shadow var(--transition-fast);
}

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

    border-color: var(--border-hover);
    background: rgba(33, 212, 232, 0.07);

    box-shadow: 0 14px 36px rgba(33, 212, 232, 0.1);
}

.button-primary {
    border-color: transparent;

    color: #001116;
    background:
            linear-gradient(
                    135deg,
                    var(--cyan-bright),
                    var(--cyan),
                    var(--blue-bright)
            );

    box-shadow: 0 18px 42px rgba(33, 212, 232, 0.18);
}

.button-primary:hover {
    border-color: transparent;

    color: #001116;
    background:
            linear-gradient(
                    135deg,
                    #79f8ff,
                    var(--cyan-bright),
                    var(--blue-bright)
            );

    box-shadow: 0 20px 52px rgba(33, 212, 232, 0.28);
}

.button-small {
    min-height: 40px;
    padding: 0 15px;
}

.button-icon {
    width: 18px;
    height: 18px;

    flex-shrink: 0;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* =========================
   8. HERO
   ========================= */

.hero {
    position: relative;
    overflow: hidden;

    padding: 95px 0 72px;
}

.hero::before {
    content: "";

    position: absolute;
    top: -260px;
    left: 45%;

    width: 620px;
    height: 620px;

    border-radius: 50%;

    background:
            radial-gradient(
                    circle,
                    rgba(33, 212, 232, 0.12),
                    transparent 66%
            );

    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    align-items: center;
    gap: 58px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    max-width: 790px;
}

.hero-copy .lead {
    margin-top: 26px;
}

.hero-copy .actions {
    margin-top: 34px;
}

.hero-status {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 30px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-height: 36px;
    padding: 0 12px;

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 999px;

    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.035);

    font-size: 12px;
    font-weight: 720;
}

.status-pill strong {
    color: var(--text-primary);
}

.hero-visual {
    position: relative;

    min-height: 570px;
    padding: 28px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius-extra);

    background:
            linear-gradient(
                    145deg,
                    rgba(255, 255, 255, 0.07),
                    rgba(255, 255, 255, 0.018)
            ),
            rgba(4, 15, 27, 0.82);

    box-shadow:
            var(--shadow-large),
            inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

    position: absolute;
    top: -160px;
    right: -150px;

    width: 470px;
    height: 470px;

    border-radius: 50%;

    background:
            radial-gradient(
                    circle,
                    rgba(22, 143, 232, 0.24),
                    transparent 66%
            );
}

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

    position: absolute;
    inset: 0;

    background-image:
            radial-gradient(
                    rgba(53, 241, 255, 0.2) 1px,
                    transparent 1px
            );

    background-size: 24px 24px;
    opacity: 0.11;

    mask-image:
            linear-gradient(
                    135deg,
                    black,
                    transparent 72%
            );

    pointer-events: none;
}


/* =========================
   9. PROFILE CARD
   ========================= */

.profile-card {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 15px;

    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 23px;

    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
}

.profile-photo {
    width: 74px;
    height: 74px;

    flex-shrink: 0;

    object-fit: cover;

    border: 1px solid rgba(53, 241, 255, 0.42);
    border-radius: 21px;

    box-shadow: 0 0 30px rgba(33, 212, 232, 0.18);
}

.profile-card h3 {
    font-size: 18px;
}

.profile-card p {
    margin-top: 4px;

    color: var(--text-tertiary);
    font-size: 13px;
    line-height: 1.5;
}


/* =========================
   10. TERMINAL CARD
   ========================= */

.terminal-card {
    position: relative;
    z-index: 2;

    margin-top: 18px;

    overflow: hidden;

    border: 1px solid rgba(33, 212, 232, 0.17);
    border-radius: 23px;

    background: rgba(1, 9, 17, 0.76);
}

.terminal-header {
    min-height: 46px;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 0 16px;

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

    color: var(--text-tertiary);
    font-size: 12px;
}

.terminal-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.terminal-title {
    margin-left: 6px;
}

.terminal-code {
    min-height: 235px;
    padding: 22px;

    color: #d2eaff;

    font-family:
            "SFMono-Regular",
            Consolas,
            "Liberation Mono",
            monospace;

    font-size: 13px;
    line-height: 1.95;
}

.code-cyan {
    color: var(--cyan-bright);
}

.code-blue {
    color: var(--blue-bright);
}

.code-green {
    color: var(--green-bright);
}

.code-muted {
    color: var(--text-tertiary);
}


/* =========================
   11. STATS
   ========================= */

.stats-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;

    margin-top: 18px;
}

.stat-card {
    min-height: 115px;
    padding: 18px;

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 20px;

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

.stat-number {
    display: block;

    color: var(--text-primary);
    font-size: 25px;
    font-weight: 850;
    letter-spacing: -0.045em;
}

.stat-label {
    display: block;

    margin-top: 5px;

    color: var(--text-tertiary);
    font-size: 12px;
    line-height: 1.45;
}


/* =========================
   12. CARDS AND PANELS
   ========================= */

.card,
.panel {
    position: relative;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.075);
    background: var(--surface);

    box-shadow: var(--shadow-small);

    transition:
            transform var(--transition-normal),
            border-color var(--transition-normal),
            background var(--transition-normal),
            box-shadow var(--transition-normal);
}

.card {
    min-height: 250px;
    padding: 25px;

    border-radius: var(--radius-large);
}

.panel {
    padding: 30px;

    border-radius: 30px;
    background: var(--surface-strong);
}

.card:hover,
.panel-hover:hover {
    transform: translateY(-5px);

    border-color: rgba(33, 212, 232, 0.28);
    background: var(--surface-hover);

    box-shadow:
            var(--shadow-medium),
            0 0 40px rgba(33, 212, 232, 0.07);
}

.card::after {
    content: "";

    position: absolute;
    right: -80px;
    bottom: -105px;

    width: 210px;
    height: 210px;

    border-radius: 50%;

    background:
            radial-gradient(
                    circle,
                    rgba(33, 212, 232, 0.12),
                    transparent 67%
            );

    pointer-events: none;
}

.card-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    border: 1px solid rgba(33, 212, 232, 0.18);
    border-radius: 17px;

    color: var(--cyan-bright);
    background:
            linear-gradient(
                    145deg,
                    rgba(33, 212, 232, 0.13),
                    rgba(22, 143, 232, 0.1)
            );

    font-size: 22px;
}

.card h3 {
    margin-bottom: 12px;
}

.card p {
    font-size: 14px;
    line-height: 1.72;
}


/* =========================
   13. TAGS
   ========================= */

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

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

    min-height: 31px;
    padding: 0 11px;

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 999px;

    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.035);

    font-size: 11px;
    font-weight: 760;
}

.tag-cyan {
    border-color: rgba(33, 212, 232, 0.2);

    color: #bff9ff;
    background: rgba(33, 212, 232, 0.075);
}

.tag-green {
    border-color: rgba(53, 230, 173, 0.2);

    color: #b8ffe8;
    background: rgba(53, 230, 173, 0.07);
}


/* =========================
   14. FEATURE LISTS
   ========================= */

.feature-list {
    display: grid;
    gap: 12px;

    margin-top: 22px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 14px;

    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 17px;

    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.032);

    font-size: 14px;
    line-height: 1.65;
}

.feature-check {
    width: 23px;
    height: 23px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    margin-top: 1px;

    border: 1px solid rgba(53, 230, 173, 0.22);
    border-radius: 8px;

    color: var(--success);
    background: rgba(53, 230, 173, 0.08);

    font-size: 12px;
    font-weight: 900;
}


/* =========================
   15. PROJECT CARDS
   ========================= */

.project-card {
    position: relative;

    min-height: 390px;
    padding: 28px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

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

    background:
            linear-gradient(
                    145deg,
                    rgba(33, 212, 232, 0.07),
                    rgba(22, 143, 232, 0.025)
            ),
            var(--surface);

    box-shadow: var(--shadow-small);

    transition:
            transform var(--transition-normal),
            border-color var(--transition-normal),
            box-shadow var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-6px);

    border-color: rgba(33, 212, 232, 0.32);

    box-shadow:
            var(--shadow-medium),
            0 0 44px rgba(33, 212, 232, 0.08);
}

.project-card::before {
    content: "";

    position: absolute;
    top: -130px;
    right: -100px;

    width: 290px;
    height: 290px;

    border-radius: 50%;

    background:
            radial-gradient(
                    circle,
                    rgba(22, 143, 232, 0.19),
                    transparent 66%
            );
}

.project-meta {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    margin-bottom: 20px;
}

.project-card h3 {
    position: relative;
    z-index: 2;

    margin-bottom: 12px;
}

.project-card p {
    position: relative;
    z-index: 2;

    margin-bottom: 22px;

    font-size: 14px;
}

.project-card .tags {
    position: relative;
    z-index: 2;

    margin-top: auto;
}

.project-link {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: 24px;

    color: var(--cyan-bright);
    font-size: 13px;
    font-weight: 800;
}

.project-link:hover {
    color: #ffffff;
}


/* =========================
   16. EXPERIENCE TIMELINE
   ========================= */

.timeline {
    position: relative;

    display: grid;
    gap: 24px;
}

.timeline::before {
    content: "";

    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 20px;

    width: 1px;

    background:
            linear-gradient(
                    to bottom,
                    var(--cyan),
                    rgba(33, 212, 232, 0.05)
            );
}

.timeline-item {
    position: relative;

    padding-left: 62px;
}

.timeline-dot {
    position: absolute;
    top: 27px;
    left: 12px;

    width: 17px;
    height: 17px;

    border: 4px solid var(--bg-main);
    border-radius: 50%;

    background: var(--cyan-bright);
    box-shadow: 0 0 20px rgba(53, 241, 255, 0.7);
}

.timeline-card {
    padding: 28px;

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 28px;

    background: var(--surface);
    box-shadow: var(--shadow-small);
}

.timeline-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;

    margin-bottom: 16px;
}

.timeline-company {
    margin-top: 5px;

    color: var(--cyan-bright);
    font-size: 14px;
    font-weight: 780;
}

.timeline-date {
    flex-shrink: 0;

    color: var(--text-tertiary);
    font-size: 13px;
    font-weight: 680;
}

.timeline-description {
    margin-bottom: 20px;
}

.timeline-list {
    display: grid;
    gap: 10px;

    margin-bottom: 22px;
}

.timeline-list li {
    position: relative;

    padding-left: 20px;

    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.67;
}

.timeline-list li::before {
    content: "";

    position: absolute;
    top: 10px;
    left: 1px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--cyan);
    box-shadow: 0 0 10px rgba(33, 212, 232, 0.5);
}


/* =========================
   17. RESUME PAGE
   ========================= */

.resume-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 24px;
}

.resume-sidebar,
.resume-content {
    display: grid;
    align-content: start;
    gap: 20px;
}

.resume-block {
    padding: 26px;

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 27px;

    background: var(--surface);
}

.resume-block h2 {
    margin-bottom: 18px;

    font-size: 24px;
}

.resume-block h3 {
    margin-bottom: 8px;

    font-size: 18px;
}

.resume-row {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.resume-row:first-child {
    padding-top: 0;
}

.resume-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.resume-meta {
    margin-bottom: 12px;

    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 700;
}

.skill-group + .skill-group {
    margin-top: 22px;
}

.skill-group h4 {
    margin-bottom: 11px;
}

.contact-list {
    display: grid;
    gap: 11px;
}

.contact-list a,
.contact-list span {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.55;
}

.contact-list a:hover {
    color: var(--cyan-bright);
}


/* =========================
   18. PAGE HERO
   ========================= */

.page-hero {
    position: relative;

    padding: 86px 0 52px;

    overflow: hidden;
}

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

    position: absolute;
    top: -260px;
    right: -180px;

    width: 620px;
    height: 620px;

    border-radius: 50%;

    background:
            radial-gradient(
                    circle,
                    rgba(33, 212, 232, 0.13),
                    transparent 68%
            );

    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;

    max-width: 900px;
}

.page-hero h1 {
    font-size: clamp(43px, 6vw, 72px);
}

.page-hero .lead {
    margin-top: 22px;
}


/* =========================
   19. CONTACT PAGE
   ========================= */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 24px;
}

.contact-panel {
    padding: 30px;

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

    background: var(--surface);
    box-shadow: var(--shadow-medium);
}

.contact-methods {
    display: grid;
    gap: 12px;

    margin-top: 24px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 16px;

    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.035);

    transition:
            transform var(--transition-fast),
            border-color var(--transition-fast);
}

.contact-method:hover {
    transform: translateX(3px);
    border-color: rgba(33, 212, 232, 0.27);
}

.contact-method-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 14px;

    color: var(--cyan-bright);
    background: rgba(33, 212, 232, 0.09);
}

.contact-method strong {
    display: block;
    font-size: 14px;
}

.contact-method span {
    display: block;

    margin-top: 3px;

    color: var(--text-tertiary);
    font-size: 12px;
}

.contact-form {
    display: grid;
    gap: 17px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 780;
}

.form-control {
    width: 100%;
    min-height: 50px;

    padding: 0 15px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 15px;

    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);

    transition:
            border-color var(--transition-fast),
            background var(--transition-fast),
            box-shadow var(--transition-fast);
}

textarea.form-control {
    min-height: 160px;
    padding-block: 14px;

    resize: vertical;
}

.form-control::placeholder {
    color: var(--text-tertiary);
}

.form-control:focus {
    outline: none;

    border-color: rgba(53, 241, 255, 0.45);
    background: rgba(33, 212, 232, 0.04);

    box-shadow: 0 0 0 4px rgba(33, 212, 232, 0.07);
}


/* =========================
   20. CTA
   ========================= */

.cta-panel {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;

    overflow: hidden;

    padding: 46px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 36px;

    background:
            radial-gradient(
                    circle at 10% 0%,
                    rgba(33, 212, 232, 0.15),
                    transparent 36%
            ),
            radial-gradient(
                    circle at 90% 0%,
                    rgba(22, 143, 232, 0.15),
                    transparent 34%
            ),
            var(--surface-strong);

    box-shadow: var(--shadow-large);
}

.cta-panel::after {
    content: "";

    position: absolute;
    right: -90px;
    bottom: -160px;

    width: 340px;
    height: 340px;

    border-radius: 50%;

    background:
            radial-gradient(
                    circle,
                    rgba(33, 212, 232, 0.13),
                    transparent 67%
            );
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    max-width: 760px;
}

.cta-content p {
    max-width: 650px;
    margin-top: 15px;
}

.cta-panel .actions {
    position: relative;
    z-index: 2;
}


/* =========================
   21. FOOTER
   ========================= */

.site-footer {
    padding: 30px 0 42px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.footer-copy {
    color: var(--text-tertiary);
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: var(--text-tertiary);
    font-size: 12px;

    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--cyan-bright);
}


/* =========================
   22. REVEAL ANIMATIONS
   ========================= */

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);

    transition:
            opacity 650ms cubic-bezier(0.2, 0.8, 0.2, 1),
            transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-delay="1"] {
    transition-delay: 80ms;
}

[data-delay="2"] {
    transition-delay: 160ms;
}

[data-delay="3"] {
    transition-delay: 240ms;
}

[data-delay="4"] {
    transition-delay: 320ms;
}


/* =========================
   23. PRINT / PDF STYLES
   ========================= */

@media print {
    :root {
        --text-primary: #111827;
        --text-secondary: #374151;
        --text-tertiary: #6b7280;
    }

    body {
        color: #111827;
        background: #ffffff;
    }

    body::before,
    body::after,
    .site-header,
    .site-footer,
    .no-print,
    .button {
        display: none !important;
    }

    .container {
        width: 100%;
        max-width: none;
    }

    .section,
    .page-hero {
        padding: 24px 0;
    }

    .resume-layout {
        grid-template-columns: 0.72fr 1.28fr;
    }

    .resume-block,
    .timeline-card,
    .card,
    .panel {
        break-inside: avoid;

        border: 1px solid #d8dee8;
        color: #111827;
        background: #ffffff;
        box-shadow: none;
    }

    .tag {
        border-color: #d8dee8;
        color: #374151;
        background: #f8fafc;
    }

    a {
        color: inherit;
    }
}


/* =========================
   24. RESPONSIVE — TABLET
   ========================= */

@media (max-width: 1040px) {
    .desktop-nav {
        display: none;
    }

    .header-actions .button {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-nav {
        position: fixed;
        top: var(--header-height);
        right: 14px;
        left: 14px;
        z-index: 99;

        display: grid;
        gap: 5px;

        padding: 14px;

        border: 1px solid rgba(255, 255, 255, 0.09);
        border-radius: 23px;

        background: rgba(3, 13, 24, 0.96);
        box-shadow: var(--shadow-large);

        backdrop-filter: blur(22px);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);

        transition:
                opacity var(--transition-normal),
                visibility var(--transition-normal),
                transform var(--transition-normal);
    }

    .mobile-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .mobile-nav .nav-link {
        justify-content: flex-start;

        min-height: 48px;
        padding-inline: 16px;

        border-radius: 14px;
    }

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

    .hero-copy {
        max-width: 870px;
    }

    .hero-visual {
        max-width: 720px;
        min-height: auto;
    }

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

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

    .resume-layout {
        grid-template-columns: 1fr;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .cta-panel {
        grid-template-columns: 1fr;
    }

    .cta-panel .actions {
        justify-content: flex-start;
    }
}


/* =========================
   25. RESPONSIVE — MOBILE
   ========================= */

@media (max-width: 720px) {
    :root {
        --header-height: 70px;
    }

    .container {
        width: min(100% - 28px, var(--container));
    }

    .brand-mark {
        width: 41px;
        height: 41px;
    }

    .brand-text strong {
        font-size: 13px;
    }

    .brand-text small {
        font-size: 9px;
    }

    .hero {
        padding: 66px 0 48px;
    }

    .hero-grid {
        gap: 38px;
    }

    .hero-copy h1 {
        font-size: clamp(42px, 13vw, 62px);
    }

    .hero-visual {
        padding: 18px;
        border-radius: 27px;
    }

    .profile-photo {
        width: 62px;
        height: 62px;
        border-radius: 17px;
    }

    .terminal-code {
        min-height: 215px;
        overflow-x: auto;

        font-size: 11px;
    }

    .stats-grid,
    .grid-two,
    .grid-three,
    .grid-four,
    .resume-sidebar,
    .form-row {
        grid-template-columns: 1fr;
    }

    .section,
    .section-large {
        padding: 62px 0;
    }

    .section-small {
        padding: 42px 0;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;

        margin-bottom: 27px;
    }

    .section-description {
        max-width: none;
    }

    .card,
    .panel,
    .project-card,
    .timeline-card,
    .resume-block,
    .contact-panel {
        padding: 22px;
        border-radius: 23px;
    }

    .project-card {
        min-height: auto;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-item {
        padding-left: 34px;
    }

    .timeline-dot {
        left: 0;
    }

    .timeline-header {
        flex-direction: column;
        gap: 6px;
    }

    .page-hero {
        padding: 65px 0 38px;
    }

    .cta-panel {
        padding: 28px 22px;
        border-radius: 27px;
    }

    .actions {
        width: 100%;
    }

    .actions .button {
        flex: 1 1 auto;
    }

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


/* =========================
   26. VERY SMALL SCREENS
   ========================= */

@media (max-width: 430px) {
    .brand-text small {
        display: none;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 33px;
    }

    .actions .button {
        width: 100%;
    }

    .hero-status {
        display: grid;
    }

    .status-pill {
        justify-content: center;
    }

    .profile-card {
        align-items: flex-start;
    }

    .profile-card h3 {
        font-size: 16px;
    }
}


/* =========================
   27. REDUCED MOTION
   ========================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

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

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 28px;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 24px;
}

.contact-cards {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.contact-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;

    padding: 17px;

    border: 1px solid var(--border);
    border-radius: var(--radius-medium);

    background:
            linear-gradient(
                    135deg,
                    rgba(20, 213, 229, 0.05),
                    rgba(7, 15, 27, 0.82)
            );

    color: var(--text-primary);
    text-decoration: none;

    transition:
            border-color var(--transition),
            background var(--transition),
            transform var(--transition),
            box-shadow var(--transition);
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);

    background:
            linear-gradient(
                    135deg,
                    rgba(20, 213, 229, 0.1),
                    rgba(7, 15, 27, 0.95)
            );

    box-shadow: var(--shadow-soft);
}

.contact-card-icon {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(41, 220, 236, 0.25);
    border-radius: 14px;

    background: rgba(20, 213, 229, 0.08);

    color: var(--cyan-bright);
    font-size: 18px;
    font-weight: 800;
}

.contact-card-content {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.contact-card-content small {
    color: var(--text-tertiary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-card-content strong {
    overflow: hidden;

    color: var(--text-primary);
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-card-content span {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.contact-card-arrow {
    color: var(--cyan);
    font-size: 19px;
}

.contact-form-panel {
    padding: clamp(25px, 4vw, 42px);

    border: 1px solid var(--border);
    border-radius: var(--radius-large);

    background:
            radial-gradient(
                    circle at top right,
                    rgba(20, 213, 229, 0.1),
                    transparent 36%
            ),
            linear-gradient(
                    145deg,
                    rgba(10, 22, 38, 0.98),
                    rgba(4, 12, 24, 0.98)
            );

    box-shadow: var(--shadow-medium);
}

.contact-form-panel > p {
    max-width: 640px;
}

.contact-form {
    display: grid;
    gap: 22px;
    margin-top: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 9px;
}

.form-field label {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
}

.form-field label span {
    color: var(--cyan);
}

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

    border: 1px solid var(--border);
    border-radius: 13px;

    background: rgba(2, 9, 20, 0.84);

    color: var(--text-primary);
    font: inherit;
    font-size: 14px;

    outline: none;

    transition:
            border-color var(--transition),
            box-shadow var(--transition),
            background var(--transition);
}

.form-field input {
    min-height: 48px;
    padding: 0 15px;
}

.form-field textarea {
    min-height: 170px;
    padding: 14px 15px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-tertiary);
}

.form-field input:hover,
.form-field textarea:hover {
    border-color: rgba(87, 123, 155, 0.48);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(41, 220, 236, 0.7);

    background: rgba(4, 14, 28, 0.96);

    box-shadow:
            0 0 0 3px rgba(20, 213, 229, 0.1),
            0 0 25px rgba(20, 213, 229, 0.06);
}

.form-footer {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
}

.form-status {
    flex: 1;
    min-height: 22px;

    color: var(--text-tertiary);
    font-size: 13px;
    line-height: 1.5;
    text-align: right;
}

.form-status[data-status="success"] {
    color: var(--success);
}

.form-status[data-status="error"] {
    color: var(--danger);
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    transform: none !important;
}

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

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .form-footer .button {
        width: 100%;
    }

    .form-status {
        text-align: left;
    }

    .contact-card {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .contact-card-icon {
        width: 44px;
        height: 44px;
    }

    .contact-card-arrow {
        display: none;
    }
}

/* =========================================================
   PROJECT OVERVIEW CARDS
   ========================================================= */

.project-overview-grid {
    align-items: stretch;
    width: min(var(--container), calc(100% - 40px)); margin-inline: auto;
}

.project-overview-card {
    display: flex;
    flex-direction: column;

    min-height: 100%;
    padding: 0;

    overflow: hidden;

    color: var(--text-primary);
    text-decoration: none;
}

.project-overview-card:hover {
    transform: translateY(-6px);

    border-color: rgba(48, 236, 244, 0.38);

    box-shadow:
            0 22px 55px rgba(0, 0, 0, 0.34),
            0 0 35px rgba(33, 212, 232, 0.1);
}

.project-overview-image {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    background:
            linear-gradient(
                    135deg,
                    rgba(22, 143, 232, 0.12),
                    rgba(25, 185, 176, 0.08)
            ),
            var(--background-secondary);
}

.project-overview-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
            transform 550ms ease,
            filter 550ms ease;
}

.project-overview-card:hover .project-overview-image img {
    transform: scale(1.06);

    filter:
            saturate(1.08)
            contrast(1.04);
}

.project-overview-overlay {
    position: absolute;
    inset: 0;

    background:
            linear-gradient(
                    180deg,
                    rgba(2, 9, 20, 0.02) 20%,
                    rgba(2, 9, 20, 0.18) 58%,
                    rgba(2, 9, 20, 0.9) 100%
            );

    pointer-events: none;
}

.project-overview-category {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;

    padding: 7px 10px;

    border: 1px solid rgba(48, 236, 244, 0.25);
    border-radius: 999px;

    background: rgba(2, 9, 20, 0.76);
    backdrop-filter: blur(12px);

    color: var(--cyan-bright);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
}

.project-overview-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 21px;
}

.project-overview-content h3 {
    margin-bottom: 10px;

    font-size: 20px;
}

.project-overview-content p {
    flex: 1;

    margin: 0;

    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.project-overview-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;

    margin-top: 18px;

    color: var(--cyan-bright);
    font-size: 13px;
    font-weight: 700;

    transition:
            gap var(--transition),
            color var(--transition);
}

.project-overview-card:hover .project-overview-link {
    gap: 12px;
    color: var(--text-primary);
}

@media (max-width: 1100px) {
    .project-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-left: 30px; padding-right: 30px;
    }
}

@media (max-width: 620px) {
    .project-overview-grid {
        grid-template-columns: 1fr;
        padding-left: 10px; padding-right: 10px;
    }

    .project-overview-content {
        padding: 19px;
    }
}

/* =========================================================
   PROJECT SHOWCASE — compact detailed project cover
   Add this block to the end of assets/css/style.css
   ========================================================= */

.project-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 0;
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-large);

    background:
            linear-gradient(
                    145deg,
                    rgba(10, 22, 38, 0.98),
                    rgba(4, 12, 24, 0.98)
            );

    box-shadow: var(--shadow-medium);
}

.project-showcase-media {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: var(--background-secondary);
}

.project-showcase-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
            linear-gradient(
                    90deg,
                    transparent 72%,
                    rgba(4, 12, 24, 0.2) 100%
            ),
            linear-gradient(
                    180deg,
                    transparent 72%,
                    rgba(4, 12, 24, 0.18) 100%
            );
}

.project-showcase-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    object-position: center;
    transition:
            transform 600ms ease,
            filter 600ms ease;
}

.project-showcase:hover .project-showcase-media img {
    transform: scale(1.025);
    filter: saturate(1.04) contrast(1.015);
}

.project-showcase-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;

    padding: 8px 11px;

    border: 1px solid rgba(48, 236, 244, 0.28);
    border-radius: 999px;

    background: rgba(2, 9, 20, 0.76);
    backdrop-filter: blur(12px);

    color: var(--cyan-bright);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
}

.project-showcase-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;

    padding: clamp(28px, 4vw, 46px);
}

.project-showcase-content h3 {
    margin-top: 7px;
}

.project-showcase-content p {
    margin-top: 14px;
    max-width: 620px;
}

.project-showcase-features {
    margin-top: 0;
}

/* Light visual treatment for StockySpace */
.project-showcase-light {
    border-color: rgba(130, 105, 255, 0.24);

    background:
            radial-gradient(
                    circle at top right,
                    rgba(139, 92, 246, 0.12),
                    transparent 42%
            ),
            linear-gradient(
                    145deg,
                    rgba(13, 22, 39, 0.99),
                    rgba(8, 15, 29, 0.99)
            );
}

.project-showcase-light .project-showcase-media {
    background: #f7f5ff;
}

.project-showcase-light .project-showcase-media img {
    object-position: 50% 50%;
}

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

    .project-showcase-media,
    .project-showcase-media img {
        min-height: 0;
    }

    .project-showcase-media {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 640px) {
    .project-showcase-media {
        aspect-ratio: 1 / 1;
    }

    .project-showcase-content {
        padding: 24px 20px;
    }

    .project-showcase-badge {
        top: 14px;
        left: 14px;
    }
}
