@charset "UTF-8";
/* ===================================================================
 * Troi Portfolio Redesign
 * ------------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Unbounded:wght@300;400;600;700&family=Instrument+Sans:wght@300;400;500;600&family=Fraunces:opsz,wght@9..144,400;9..144,600&display=swap");
:root {
    --font-display: "Unbounded", sans-serif;
    --font-body: "Instrument Sans", sans-serif;
    --font-accent: "Fraunces", serif;
    --font-mono: "JetBrains Mono", monospace;
    --color-bg: #0c1218;
    --color-bg-alt: #101a23;
    --color-surface: #161f2a;
    --color-card: #192431;
    --color-text: #f2f0e8;
    --color-muted: #bac3cc;
    --color-accent: #f26d5b;
    --color-accent-2: #9ad0b3;
    --color-stroke: rgba(242, 240, 232, 0.12);
    --color-shadow: rgba(4, 7, 10, 0.45);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-lg: 0 18px 40px rgba(3, 6, 10, 0.45);
    --shadow-md: 0 12px 24px rgba(3, 6, 10, 0.35);
    --section-pad: 6rem;
    --header-height: 80px;
    --profile-focus-y: 20%;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
    width: 100%;
}
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: linear-gradient(160deg, #0b1118 0%, #0f1822 40%, #101b25 100%);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(1200px 600px at 12% 18%, rgba(242, 109, 91, 0.14), transparent 65%),
        radial-gradient(1000px 520px at 88% 8%, rgba(154, 208, 179, 0.12), transparent 62%),
        radial-gradient(900px 520px at 55% 85%, rgba(242, 240, 232, 0.05), transparent 70%);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 50% 18%, rgba(12, 18, 24, 0.08), rgba(10, 15, 20, 0.85) 70%),
        url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz4KICA8ZmlsdGVyIGlkPSduJz4KICAgIDxmZVR1cmJ1bGVuY2UgdHlwZT0nZnJhY3RhbE5vaXNlJyBiYXNlRnJlcXVlbmN5PScwLjknIG51bU9jdGF2ZXM9JzInIHN0aXRjaFRpbGVzPSdzdGl0Y2gnLz4KICA8L2ZpbHRlcj4KICA8cmVjdCB3aWR0aD0nMTAwJScgaGVpZ2h0PScxMDAlJyBmaWx0ZXI9J3VybCgjbiknIG9wYWNpdHk9JzAuMzUnLz4KPC9zdmc+");
    background-repeat: no-repeat, repeat;
    background-size: 100% 100%, 200px 200px;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}
::selection {
    background: rgba(242, 109, 91, 0.4);
    color: var(--color-text);
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
p {
    line-height: 1.7;
    margin: 0;
}
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    margin: 0;
    letter-spacing: -0.02em;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
}
.row {
    width: min(1200px, 92%);
    margin: 0 auto;
}
section {
    padding: var(--section-pad) 0;
    position: relative;
}
section + section {
    border-top: 1px solid var(--color-stroke);
}
.s-about,
.s-works,
.s-footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}
.target-section {
    scroll-margin-top: calc(var(--header-height) + 20px);
}
.u-screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* ===================================================================
 * Preloader
 * ------------------------------------------------------------------- */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}
.ss-loaded #preloader {
    opacity: 0;
    visibility: hidden;
}
#loader.dots-fade {
    display: flex;
    gap: 0.6rem;
}
#loader.dots-fade div {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: dotsFade 1s infinite ease-in-out;
}
#loader.dots-fade div:nth-child(2) {
    animation-delay: 0.2s;
}
#loader.dots-fade div:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes dotsFade {
    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}
/* ===================================================================
 * Buttons
 * ------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border 0.25s ease;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn--primary {
    background: linear-gradient(135deg, #f26d5b 0%, #f5a65b 100%);
    color: #0b1118;
    box-shadow: 0 12px 24px rgba(242, 109, 91, 0.35);
}
.btn--primary:hover {
    box-shadow: 0 16px 32px rgba(242, 109, 91, 0.45);
}
.btn--ghost,
.btn--stroke {
    background: transparent;
    border-color: var(--color-stroke);
    color: var(--color-text);
}
.btn--ghost:hover,
.btn--stroke:hover {
    border-color: rgba(242, 109, 91, 0.5);
}
.btn--text {
    background: transparent;
    border: none;
    color: var(--color-muted);
    padding: 0;
    box-shadow: none;
}
.btn--text:hover {
    transform: none;
    color: var(--color-text);
    box-shadow: none;
}
.btn--nav {
    background: rgba(242, 240, 232, 0.08);
    border-color: rgba(242, 240, 232, 0.2);
    color: var(--color-text);
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.btn--wide {
    width: 100%;
}
/* ===================================================================
 * Section headers
 * ------------------------------------------------------------------- */
.section-head {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.section-head__title {
    display: grid;
    gap: 0.6rem;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: var(--color-accent-2);
}
.section-label::before {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, rgba(154, 208, 179, 0.9), transparent);
}
.section-title {
    position: relative;
    display: inline-block;
    font-size: clamp(2.2rem, 3.8vw, 3.6rem);
    line-height: 1.1;
    padding-bottom: 0.65rem;
}
.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42%;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(242, 109, 91, 0.85), rgba(154, 208, 179, 0));
    opacity: 0.7;
}
.section-lead {
    font-size: 1.05rem;
    color: var(--color-muted);
    max-width: 52ch;
}
/* ===================================================================
 * Header
 * ------------------------------------------------------------------- */
.s-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.2rem 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.s-header__inner {
    width: min(1200px, 92%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.s-header__block {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.s-header__logo img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--color-stroke);
    box-shadow: var(--shadow-md);
}
.s-header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.s-header__cta {
    display: flex;
}
.s-header__menu-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.s-header__menu-links a {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-muted);
}
.s-header__menu-links li.current a,
.s-header__menu-links a:hover {
    color: var(--color-text);
}
.s-header__menu-toggle {
    display: none;
    align-items: center;
    gap: 0.7rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
}
.menu-text {
    font-size: 0.7rem;
}
.menu-bars {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: background 0.2s ease;
}
.menu-bars::before,
.menu-bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.3s ease;
}
.menu-bars::before {
    top: -7px;
}
.menu-bars::after {
    top: 7px;
}
.s-header__menu-toggle.is-clicked .menu-bars {
    background: transparent;
}
.s-header__menu-toggle.is-clicked .menu-bars::before {
    transform: translateY(7px) rotate(45deg);
}
.s-header__menu-toggle.is-clicked .menu-bars::after {
    transform: translateY(-7px) rotate(-45deg);
}
.s-header.scrolling {
    background: rgba(12, 18, 24, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}
/* ===================================================================
 * Intro
 * ------------------------------------------------------------------- */
.s-intro {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    min-height: 100vh;
    min-height: 100svh;
    overflow-x: clip;
}
.s-intro::before,
.s-intro::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
    animation: floatOrb 16s ease-in-out infinite;
}
.s-intro::before {
    top: -120px;
    right: -120px;
    background: radial-gradient(circle, rgba(242, 109, 91, 0.5), transparent 65%);
}
.s-intro::after {
    bottom: -160px;
    left: -160px;
    background: radial-gradient(circle, rgba(154, 208, 179, 0.45), transparent 65%);
    animation-delay: 3s;
}
.hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}
.hero__text {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}
.eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    color: var(--color-accent-2);
}
.hero__status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(242, 240, 232, 0.18);
    background: rgba(22, 31, 42, 0.7);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-muted);
}
.hero__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent-2);
    box-shadow: 0 0 12px rgba(154, 208, 179, 0.85);
    animation: pulse 2.4s ease-in-out infinite;
}
.text-highlight {
    position: relative;
    display: inline-block;
    z-index: 0;
}
.text-highlight::after {
    content: "";
    position: absolute;
    left: -0.08em;
    right: -0.08em;
    bottom: 0.06em;
    height: 0.32em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(242, 109, 91, 0.6), rgba(154, 208, 179, 0.25));
    z-index: -1;
}
.hero__title {
    font-size: clamp(2.8rem, 4.6vw, 4.8rem);
    line-height: 1.08;
}
.hero__lead {
    font-size: 1.1rem;
    color: var(--color-muted);
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.hero__meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--color-muted);
    flex-wrap: wrap;
}
.hero__meta-sep {
    opacity: 0.5;
}
.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.hero__chips li {
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--color-stroke);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.03);
}
.hero__marquee {
    display: grid;
    gap: 0.7rem;
}
.hero__marquee-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--color-accent-2);
}
.tech-marquee {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--color-stroke);
    border-radius: 999px;
    padding: 0.55rem 0;
    background: rgba(22, 31, 42, 0.7);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(6px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.tech-marquee__track {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-right: 0.8rem;
    flex-shrink: 0;
    animation: techMarquee 26s linear infinite;
}
.tech-logo {
    --logo-border: var(--color-stroke);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--logo-border);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--color-text);
    background: rgba(12, 18, 24, 0.6);
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.tech-logo__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: block;
    opacity: 0.9;
}
.tech-logo__name {
    font-family: var(--font-display);
    font-weight: 500;
}
.tech-logo--ember {
    --logo-border: rgba(242, 109, 91, 0.35);
}
.tech-logo--sage {
    --logo-border: rgba(154, 208, 179, 0.35);
}
.s-intro__social {
    display: flex;
    gap: 0.8rem;
}
.social-list a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-stroke);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.25s ease, border 0.25s ease, background 0.25s ease;
}
.social-list a:hover {
    transform: translateY(-3px);
    border-color: rgba(242, 109, 91, 0.6);
    background: rgba(242, 109, 91, 0.15);
}
.social-list svg {
    width: 18px;
    height: 18px;
}
.social-list svg path,
.social-list svg circle,
.scroll-icon svg path,
.ss-go-top svg path {
    fill: currentColor !important;
}
.hero__card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.profile-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(22, 31, 42, 0.8);
    border: 1px solid var(--color-stroke);
    box-shadow: var(--shadow-lg);
}
.profile-card__media {
    position: relative;
}
.profile-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 18, 24, 0) 0%, rgba(12, 18, 24, 0.65) 100%);
}
.profile-card__media img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: 50% var(--profile-focus-y);
    filter: saturate(1.1);
}
.profile-card__body {
    padding: 1.6rem;
    display: grid;
    gap: 0.4rem;
}
.profile-card__name {
    font-size: 1.2rem;
    font-weight: 600;
}
.profile-card__role {
    color: var(--color-muted);
}
.profile-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}
.profile-card__meta span {
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--color-stroke);
    background: rgba(255, 255, 255, 0.03);
}
.hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.stat-card {
    background: rgba(22, 31, 42, 0.7);
    border: 1px solid var(--color-stroke);
    border-radius: var(--radius-md);
    padding: 1rem;
}
.stat-card__label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-muted);
    margin-bottom: 0.4rem;
}
.stat-card__value {
    font-size: 0.95rem;
    font-weight: 500;
}
.s-intro__scroll-down {
    position: absolute;
    right: 3rem;
    bottom: 2rem;
}
.s-intro__scroll-down a {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-muted);
}
.scroll-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(242, 109, 91, 0.35);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    background: rgba(22, 31, 42, 0.9);
    box-shadow: var(--shadow-md);
    animation: scrollNudge 2.6s ease-in-out infinite;
    transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}
.scroll-icon svg {
    width: 20px;
    height: 20px;
}
.s-intro__scroll-down a:hover .scroll-icon {
    transform: translateY(2px);
    border-color: rgba(242, 109, 91, 0.65);
    background: rgba(242, 109, 91, 0.12);
}
/* ===================================================================
 * About
 * ------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
}
.card {
    background: rgba(22, 31, 42, 0.7);
    border: 1px solid var(--color-stroke);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(6px);
}
.about-story p + p {
    margin-top: 1rem;
}
.about-focus {
    margin-top: 1.6rem;
    display: grid;
    gap: 0.8rem;
}
.about-focus__title {
    font-family: var(--font-display);
    font-size: 1rem;
}
.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.pill-list li {
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--color-stroke);
    background: rgba(255, 255, 255, 0.03);
    font-size: 0.85rem;
}
.pill-list--muted li {
    color: var(--color-muted);
}
.about-cards {
    display: grid;
    gap: 1.5rem;
}
.info-card {
    background: rgba(22, 31, 42, 0.75);
    border: 1px solid var(--color-stroke);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
}
.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}
.list-stack li {
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid rgba(242, 240, 232, 0.08);
    font-weight: 600;
}
.list-stack li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.list-stack span {
    display: block;
    margin-top: 0.4rem;
    color: var(--color-muted);
    font-weight: 400;
    font-size: 0.9rem;
}
.list-stack a {
    color: var(--color-text);
}
.list-split {
    display: grid;
    gap: 1rem;
}
.list-split li {
    display: grid;
    gap: 0.4rem;
}
.list-split__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-muted);
}
.list-split__value {
    font-size: 0.95rem;
    color: var(--color-text);
}
/* ===================================================================
 * Works
 * ------------------------------------------------------------------- */
.project-grid {
    --project-gap: 2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--project-gap);
}
.project-card {
    position: relative;
    background: linear-gradient(160deg, rgba(22, 31, 42, 0.85), rgba(12, 18, 24, 0.85));
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-stroke);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(242, 109, 91, 0.45);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(242, 109, 91, 0.2);
}
.project-card a {
    display: block;
    height: 100%;
}
.project-card__media {
    position: relative;
    overflow: hidden;
}
.project-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 18, 24, 0) 15%, rgba(12, 18, 24, 0.65) 100%);
    opacity: 0.65;
    transition: opacity 0.3s ease;
}
.project-card:hover .project-card__media::after {
    opacity: 0.85;
}
.project-card__media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: saturate(1.1);
    transition: transform 0.6s ease, filter 0.6s ease;
}
.project-card:hover .project-card__media img {
    transform: scale(1.04);
    filter: saturate(1.25);
}
.project-card__body {
    padding: 1.6rem;
    display: grid;
    gap: 0.8rem;
}
.project-card__eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-accent-2);
}
.project-card h3 {
    font-size: 1.4rem;
}
.project-card p {
    color: var(--color-muted);
}
.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
@media screen and (min-width: 901px) {
    .project-grid > .project-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: calc((100% - var(--project-gap)) / 2);
        justify-self: center;
    }
}
.tag {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--color-stroke);
    font-size: 0.75rem;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.project-card:hover .tag {
    border-color: rgba(154, 208, 179, 0.45);
    background: rgba(154, 208, 179, 0.12);
    color: var(--color-text);
}
/* ===================================================================
 * Footer
 * ------------------------------------------------------------------- */
.s-footer {
    background: #0a0f14;
    padding: var(--section-pad) 0 4rem;
}
.footer-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
}
.payment-strip {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
}
.payment-strip__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--color-muted);
}
.payment-strip__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    align-items: center;
}
.payment-method {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text);
}
.payment-method img {
    width: 18px;
    height: 18px;
    opacity: 0.85;
}
.footer-card {
    background: rgba(22, 31, 42, 0.8);
    border: 1px solid var(--color-stroke);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: grid;
    gap: 2rem;
}
.footer-card__block h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.link-list li {
    margin-bottom: 0.7rem;
}
.link-list a {
    color: var(--color-text);
}
.link-list a:hover {
    color: var(--color-accent);
}
.s-footer__buttons {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}
.s-footer__bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-stroke);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    color: var(--color-muted);
    font-size: 0.9rem;
}
.s-footer__social {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}
.s-footer__social li {
    line-height: 0;
}
.footer-bottom__copy {
    display: grid;
    gap: 0.4rem;
}
.footer-note {
    max-width: 40ch;
}
.footer-credit {
    font-size: 0.8rem;
    color: var(--color-muted);
}
.footer-credit a {
    color: var(--color-text);
}
/* ===================================================================
 * Back to top
 * ------------------------------------------------------------------- */
.ss-go-top {
    position: fixed;
    right: 2.5rem;
    bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 90;
}
.ss-go-top.link-is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.ss-go-top.link-is-visible a {
    animation: scrollNudgeUp 2.6s ease-in-out infinite;
}
.ss-go-top span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-muted);
}
.ss-go-top a {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(242, 109, 91, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    background: rgba(22, 31, 42, 0.9);
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}
.ss-go-top a:hover {
    transform: translateY(-2px);
    border-color: rgba(242, 109, 91, 0.65);
    background: rgba(242, 109, 91, 0.15);
}
.ss-go-top svg {
    transform: rotate(-90deg);
}
/* ===================================================================
 * Reveal animations
 * ------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}
.ss-show .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* ===================================================================
 * Animations
 * ------------------------------------------------------------------- */
@keyframes floatOrb {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(20px) scale(1.05);
    }
}
@keyframes scrollNudge {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.85;
    }
    50% {
        transform: translateY(6px);
        opacity: 1;
    }
}
@keyframes scrollNudgeUp {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.85;
    }
    50% {
        transform: translateY(-6px);
        opacity: 1;
    }
}
@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}
@keyframes techMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* ===================================================================
 * Responsive
 * ------------------------------------------------------------------- */
@media screen and (min-width: 1400px) {
    .row,
    .s-header__inner {
        width: min(1320px, 88%);
    }
}
@media screen and (min-width: 900px) {
    .section-head {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        align-items: end;
    }
}
@media screen and (max-width: 1200px) {
    .hero {
        gap: 2.5rem;
    }
    .profile-card__media img {
        height: 280px;
    }
    .project-card__media img {
        height: 210px;
    }
}
@media screen and (max-width: 1100px) {
    .hero__stats {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 900px) {
    :root {
        --section-pad: 5rem;
        --shadow-lg: 0 10px 24px rgba(3, 6, 10, 0.32);
        --shadow-md: 0 8px 18px rgba(3, 6, 10, 0.24);
    }
    .s-header {
        padding: 1rem 0;
    }
    .s-header.scrolling {
        backdrop-filter: none;
    }
    .s-header__menu-toggle {
        display: inline-flex;
    }
    .s-header__nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(320px, 82vw);
        background: rgba(12, 18, 24, 0.97);
        border-left: 1px solid var(--color-stroke);
        padding: 5rem 2rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    body.menu-is-open {
        overflow: hidden;
    }
    body.menu-is-open .s-header__nav {
        transform: translateX(0);
    }
    .s-header__menu-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }
    .s-header__menu-links a {
        font-size: 0.85rem;
    }
    .s-header__cta {
        width: 100%;
    }
    .s-header__cta .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        white-space: normal;
        line-height: 1.2;
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .project-grid {
        grid-template-columns: 1fr;
    }
    .footer-cta {
        grid-template-columns: 1fr;
    }
    .s-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .s-intro__scroll-down {
        right: 1.5rem;
    }
}
@media screen and (max-width: 768px) {
    :root {
        --section-pad: 4.5rem;
    }
    .s-intro {
        padding-top: calc(var(--header-height) + 2.5rem);
        padding-bottom: 3rem;
    }
    .hero {
        gap: 2rem;
    }
    .hero__title {
        font-size: clamp(2.4rem, 7.8vw, 3.8rem);
    }
    .hero__lead {
        font-size: 1rem;
    }
    .profile-card__media img {
        height: 240px;
    }
    .project-card__media img {
        height: 190px;
    }
    .card,
    .info-card,
    .footer-card {
        padding: 1.5rem;
    }
    .s-header__logo img {
        width: 40px;
        height: 40px;
    }
}
@media screen and (max-width: 700px) {
    .row {
        width: 100%;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero__meta {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero__meta-sep {
        display: none;
    }
    .hero__status {
        letter-spacing: 0.16em;
    }
    .text-highlight::after {
        height: 0.26em;
    }
    .section-label::before {
        width: 20px;
    }
    .section-title::after {
        width: 55%;
    }
    .hero__marquee-label {
        letter-spacing: 0.2em;
    }
    .payment-strip__list {
        gap: 0.6rem 1rem;
    }
    .payment-method {
        font-size: 0.85rem;
    }
    .payment-method img {
        width: 16px;
        height: 16px;
    }
    .tech-marquee {
        border-radius: 20px;
    }
    .tech-logo {
        padding: 0.3rem 0.7rem;
        font-size: 0.78rem;
    }
    .tech-logo__icon {
        width: 16px;
        height: 16px;
    }
    .s-footer__buttons {
        grid-template-columns: 1fr;
    }
    .scroll-text {
        display: none;
    }
    .s-intro__scroll-down {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 1.5rem;
    }
}
@media screen and (max-width: 600px) {
    :root {
        --section-pad: 4rem;
        --header-height: 72px;
    }
    .s-header {
        padding: 0.85rem 0;
    }
    .s-header__inner {
        gap: 0.8rem;
    }
    .s-header__nav {
        padding: 4.5rem 1.5rem 2rem;
    }
    .btn--nav {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }
    .menu-bars,
    .menu-bars::before,
    .menu-bars::after {
        width: 20px;
    }
    .profile-card__media img {
        height: 220px;
    }
    .project-card__media img {
        height: 180px;
    }
    .s-intro__scroll-down {
        bottom: 1rem;
    }
    .stat-card {
        padding: 0.85rem;
    }
    .ss-go-top {
        right: 1.2rem;
        bottom: calc(4.6rem + env(safe-area-inset-bottom));
    }
}
@media screen and (max-width: 520px) {
    .hero__chips li {
        width: 100%;
    }
    .social-list a {
        width: 36px;
        height: 36px;
    }
    .ss-go-top span {
        display: none;
    }
}
@media screen and (max-width: 480px) {
    .row {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .hero__title {
        font-size: clamp(2.1rem, 9vw, 3rem);
    }
    .section-title {
        font-size: clamp(1.9rem, 8.5vw, 2.6rem);
    }
    .section-label {
        letter-spacing: 0.2em;
    }
    .profile-card__media img {
        height: 200px;
    }
    .project-card__media img {
        height: 160px;
    }
    .profile-card__meta span {
        font-size: 0.75rem;
    }
    .project-card__body {
        padding: 1.4rem;
    }
}
@media screen and (max-width: 360px) {
    .section-label {
        letter-spacing: 0.16em;
    }
    .s-header__menu-links a {
        font-size: 0.78rem;
    }
    .s-header__nav {
        width: 100%;
    }
}
@media screen and (max-height: 700px) {
    .s-intro {
        min-height: auto;
    }
    .s-intro__scroll-down {
        display: none;
    }
}
@media (pointer: coarse) {
    .btn {
        padding: 0.95rem 1.8rem;
    }
    .social-list a,
    .ss-go-top a {
        width: 44px;
        height: 44px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .tech-marquee__track {
        animation: none !important;
        transform: translateX(0);
    }
    .tech-marquee__track + .tech-marquee__track {
        display: none;
    }
}
