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

:root {
    --bg: #050505;
    --bg-soft: #090909;
    --panel: rgba(14, 14, 14, 0.94);
    --panel-alt: rgba(18, 18, 18, 0.96);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 92, 92, 0.34);
    --text: #f5f5f7;
    --muted: #a1a1aa;
    --soft: #71717a;
    --accent: #ff4d57;
    --accent-soft: rgba(255, 77, 87, 0.18);
    --success: #5dd39e;
    --shadow-xl: 0 26px 72px rgba(0, 0, 0, 0.42);
    --shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.32);
    --shadow-md: 0 12px 26px rgba(0, 0, 0, 0.24);
    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 19px;
    --radius-sm: 15px;
    --max-width: 1240px;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 77, 87, 0.09), transparent 28%),
        linear-gradient(180deg, #040404 0%, #070707 56%, #030303 100%);
    overflow-x: hidden;
    text-wrap: pretty;
}

body.modal-open {
    overflow: hidden;
}

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

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

[hidden] {
    display: none !important;
}

button,
input,
textarea {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

::selection {
    background: var(--accent);
    color: white;
}

.cursor-aura,
.background-mesh,
.background-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.cursor-aura {
    width: 24rem;
    height: 24rem;
    inset: auto;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 77, 87, 0.16), transparent 65%);
    filter: blur(26px);
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.25s ease;
}

body.has-pointer .cursor-aura {
    opacity: 1;
}

.background-mesh {
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, transparent, black 12%, black 88%, transparent);
}

.background-noise {
    opacity: 0.06;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 120px 120px;
    mask-image: radial-gradient(circle at center, black 45%, transparent 88%);
}

.site-header,
.site-footer,
.hero-section,
.section-shell,
.project-hero {
    width: min(calc(100% - 3.4rem), var(--max-width));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 1rem;
    z-index: 50;
    margin-top: 0.9rem;
    padding: 0.9rem 1.05rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid transparent;
    background: rgba(5, 5, 5, 0.84);
    border-radius: 999px;
    backdrop-filter: blur(16px);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    background: rgba(8, 8, 8, 0.94);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: "Sora", sans-serif;
    font-weight: 700;
}

.brand-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    object-fit: cover;
}

.brand-badge,
.mini-badge {
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 0.25rem;
    background: linear-gradient(135deg, var(--accent), #b91c2b);
    box-shadow: 0 0 16px rgba(255, 77, 87, 0.45);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-nav a,
.site-footer a,
.text-link,
.text-button {
    color: var(--soft);
    transition: color 0.25s ease;
}

.main-nav a,
.section-kicker,
.hero-meta,
.intro-label,
.intro-index,
.hero-note span,
.journey-year,
.journey-stage,
.creation-tags span,
.creation-pills span,
.project-label,
.featured-small,
.contact-inline span,
.profile-card-footer span {
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.main-nav a {
    font-size: 0.83rem;
}

.main-nav a:hover,
.site-footer a:hover,
.text-link:hover,
.text-button:hover {
    color: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.95rem;
    padding: 0.82rem 1.2rem;
    border-radius: 15px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.28s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
    cursor: pointer;
}

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

.button-primary {
    color: white;
    background: linear-gradient(180deg, #ff6a72 0%, #d93a46 100%);
    box-shadow: 0 14px 34px rgba(255, 77, 87, 0.24);
}

.button-secondary {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.button-secondary:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.04);
}

.text-button {
    font-weight: 600;
}

.glass-panel {
    position: relative;
    min-width: 0;
    padding: 1.3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.96), rgba(10, 10, 10, 0.96));
    box-shadow: var(--shadow-md);
}

.spotlight-card {
    position: relative;
    isolation: isolate;
}

.spotlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 77, 87, 0.18), transparent 34%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.spotlight-card:hover::before {
    opacity: 1;
}

.spotlight-card > * {
    position: relative;
    z-index: 1;
}

.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.tilt-card.is-tilting {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-lg);
}

.hero-section {
    padding-top: 6rem;
    padding-bottom: 4.6rem;
    display: grid;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1.18fr);
    gap: 4rem;
    align-items: center;
}

.hero-copy,
.contact-copy,
.featured-copy,
.creation-body,
.project-hero-copy {
    display: grid;
    gap: 1.05rem;
}

.hero-introline {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--muted);
}

.intro-index {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.82rem;
}

.intro-label {
    font-size: 0.84rem;
    color: var(--soft);
}

.hero-copy h1,
.section-heading h2,
.featured-content h3,
.creation-body h3,
.contact-copy h2,
.project-hero-copy h1,
.project-overview-grid h3,
.skill-card h3 {
    font-family: "Sora", sans-serif;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.hero-copy h1,
.project-hero-copy h1 {
    font-size: clamp(3.4rem, 8vw, 6.4rem);
    max-width: 10.8ch;
}

.accent-text {
    color: var(--accent);
}

.hero-meta {
    color: #a77a7d;
    font-size: 0.9rem;
}

.hero-text,
.journey-node p,
.featured-content p,
.creation-body p,
.contact-copy p,
.project-overview-grid p,
.profile-sidecard p,
.creation-intro p {
    color: var(--muted);
    line-height: 1.72;
    font-size: 0.97rem;
}

.hero-actions,
.featured-actions,
.contact-inline,
.project-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.hero-note {
    display: grid;
    gap: 0.65rem;
    padding: 0.95rem 1rem;
}

.hero-note span,
.featured-tags span,
.contact-inline span {
    color: var(--soft);
    font-size: 0.82rem;
}

.hero-note strong {
    font-size: 0.98rem;
    line-height: 1.55;
}

.hero-profile {
    display: grid;
    gap: 1rem;
    justify-self: start;
    align-self: center;
}

.profile-card {
    width: 100%;
    max-width: 245px;
    display: grid;
    gap: 0.85rem;
    padding: 0.85rem;
    border-radius: 22px;
    overflow: hidden;
}

.profile-photo-shell {
    aspect-ratio: 1;
    border-radius: 24px;
    overflow: hidden;
    background: #0c0c0c;
    border: 1px solid var(--line);
}

.profile-photo-shell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.profile-card:hover .profile-photo-shell img {
    transform: scale(1.05) rotate(-2deg);
    filter: saturate(1.05) contrast(1.05);
}

.profile-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.profile-card-footer strong {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: 1.15rem;
}

.profile-card-footer span {
    display: block;
    margin-top: 0.35rem;
    color: var(--soft);
    font-size: 0.8rem;
}

.profile-sidecard {
    width: 100%;
    max-width: 280px;
    display: block;
    padding: 0.95rem 1rem;
}

.profile-side-meta {
    color: #c6a6a9;
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
    line-height: 1.75;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-shell {
    padding-block: 1.8rem 4.2rem;
}

.section-heading {
    display: grid;
    gap: 0.65rem;
    max-width: 42rem;
    margin-bottom: 1.6rem;
}

.section-kicker {
    color: #a06e72;
    font-size: 0.82rem;
}

.section-heading h2 {
    font-size: clamp(2.1rem, 4.3vw, 4rem);
}

.section-line {
    width: 4rem;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.journey-curve {
    position: relative;
    min-height: 37rem;
    padding: 0.2rem 0 5.4rem;
}

.journey-manifesto,
.journey-note-label {
    display: none !important;
}

.journey-path {
    position: absolute;
    inset: 1.2rem 0 auto;
    width: 100%;
    height: 22rem;
    overflow: visible;
}

.journey-path-base,
.journey-path-glow {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.journey-path-base {
    stroke: rgba(255, 255, 255, 0.09);
    stroke-width: 2.25;
}

.journey-path-glow {
    stroke: rgba(255, 77, 87, 0.38);
    stroke-width: 1.4;
    stroke-dasharray: 7 13;
}

.journey-orb {
    position: absolute;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: var(--accent);
    box-shadow:
        0 0 0 8px rgba(255, 77, 87, 0.08),
        0 0 24px rgba(255, 77, 87, 0.24);
}

.journey-orb-start {
    left: 14%;
    top: 5.5rem;
}

.journey-orb-mid {
    left: 55.4%;
    top: 14.2rem;
}

.journey-orb-end {
    right: 15.2%;
    top: 7.2rem;
}

.journey-node {
    position: absolute;
    width: min(100%, 18.8rem);
    display: grid;
    gap: 0.8rem;
    padding: 1.2rem 1.15rem;
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.97), rgba(9, 9, 9, 0.98));
}

.journey-node::before {
    content: "";
    position: absolute;
    left: 1.1rem;
    top: -0.85rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(255, 77, 87, 0.08);
}

.journey-node-start {
    top: 0;
    left: 0;
}

.journey-node-mid {
    top: 11.6rem;
    left: 35.8%;
}

.journey-node-end {
    top: 2.2rem;
    right: 0;
}

.journey-node-top {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.journey-year,
.journey-stage {
    padding: 0.4rem 0.58rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--soft);
    font-size: 0.72rem;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.journey-stage {
    border-color: rgba(255, 77, 87, 0.24);
    background: rgba(255, 77, 87, 0.08);
    color: #ffc9cc;
}

.journey-node h3 {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.journey-node-current {
    border-color: rgba(255, 77, 87, 0.3);
    background: linear-gradient(180deg, rgba(35, 13, 16, 0.98), rgba(10, 8, 8, 0.98));
    box-shadow: 0 18px 42px rgba(255, 77, 87, 0.1);
}

.journey-node-current::before {
    box-shadow: 0 0 0 7px rgba(255, 77, 87, 0.13);
}

.featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 22rem);
    justify-content: center;
    gap: 0.95rem;
}

.featured-card {
    display: grid;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.featured-card-project {
    border-color: var(--line-strong);
    width: 100%;
}

.featured-card-media {
    position: relative;
    display: block;
    aspect-ratio: 1.46;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #0d0d0d;
}

.featured-card-media-button {
    width: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.featured-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0.16) 56%, rgba(0, 0, 0, 0.78) 100%);
}

.featured-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.featured-card:hover .featured-card-media img {
    transform: scale(1.05);
    filter: saturate(1.04) contrast(1.04);
}

.featured-card-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 1;
    padding: 0.42rem 0.62rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 10, 0.72);
    color: #f4d7d9;
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.featured-card-body {
    display: grid;
    gap: 0.75rem;
    align-content: start;
    min-height: 12.9rem;
    padding: 1rem 1rem 1.05rem;
}

.featured-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.featured-card-topline span,
.featured-mini-stat span {
    color: var(--soft);
    font-family: "Montserrat", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.featured-card h3 {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.18rem, 1.9vw, 1.5rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.featured-role-title {
    color: #c9b1b3;
    font-family: "Montserrat", sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.featured-role-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.featured-role-list span {
    padding: 0.58rem 0.74rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.featured-card-body p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.62;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.featured-card-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.featured-mini-stat {
    display: grid;
    gap: 0.4rem;
    padding: 0.75rem 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.featured-mini-stat strong {
    color: var(--text);
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.featured-card-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.featured-card-actions .button {
    flex: 1 1 0;
}

.featured-card-link {
    margin-top: auto;
    color: var(--accent);
    font-weight: 700;
}

.featured-card-link::after {
    content: "";
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin-left: 0.45rem;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
}

.project-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.project-modal[hidden] {
    display: none;
}

.project-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 4, 0.72);
    backdrop-filter: blur(10px);
}

.project-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 820px);
    padding: 0.95rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(16, 16, 16, 0.98), rgba(8, 8, 8, 0.99));
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.project-modal.is-open .project-modal-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.project-modal-banner {
    aspect-ratio: 1.85;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: #0d0d0d;
}

.project-modal-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-modal-copy {
    display: grid;
    gap: 0.9rem;
    padding: 1rem 0.3rem 0.2rem;
}

.project-modal-copy h2 {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.65rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.project-modal-copy p {
    color: var(--muted);
    line-height: 1.72;
}

.project-modal-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.2rem;
}

.creation-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.creation-modal[hidden] {
    display: none;
}

.creation-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 4, 0.72);
    backdrop-filter: blur(10px);
}

.creation-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 880px);
    display: grid;
    gap: 1rem;
    padding: 0.95rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(16, 16, 16, 0.98), rgba(8, 8, 8, 0.99));
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.creation-modal.is-open .creation-modal-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.creation-modal-media {
    position: relative;
    aspect-ratio: 1.8;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: #0d0d0d;
}

.creation-modal-media img,
.creation-modal-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creation-modal-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 2.8rem;
    height: 2.8rem;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(7, 7, 7, 0.72);
    color: var(--text);
    font-size: 1.6rem;
    transform: translateY(-50%);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.creation-modal-arrow-left {
    left: 0.9rem;
}

.creation-modal-arrow-right {
    right: 0.9rem;
}

.creation-modal-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.creation-modal-copy {
    display: grid;
    gap: 0.8rem;
    padding: 0.2rem 0.2rem 0.1rem;
}

.creation-modal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.creation-modal-count {
    color: var(--soft);
    font-family: "Montserrat", sans-serif;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.creation-modal-copy h2 {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.6rem, 3.8vw, 2.4rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.creation-modal-copy p {
    color: var(--muted);
    line-height: 1.72;
}

.creation-modal-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 0.15rem;
}

.featured-project {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 1.4rem;
    align-items: stretch;
    padding: 1.35rem;
}

.featured-banner-shell,
.project-page-banner {
    position: relative;
    min-height: 24rem;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #0d0d0d;
}

.featured-banner-shell img,
.project-page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-banner-overlay {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(6, 6, 6, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.project-label,
.featured-small {
    color: #ae8488;
    font-size: 0.8rem;
}

.featured-banner-overlay strong {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.3rem, 3vw, 2rem);
}

.featured-content {
    display: grid;
    gap: 1.25rem;
    align-content: start;
    padding: 0.6rem 0.4rem 0.6rem 0;
}

.featured-content h3 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.featured-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.featured-tags span {
    padding: 0.72rem 0.92rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    color: var(--soft);
    font-family: "Montserrat", sans-serif;
    font-size: 0.8rem;
}

.featured-stats,
.project-page-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.project-stat-card {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.project-stat-card span {
    display: block;
    color: var(--soft);
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.6rem;
}

.project-stat-card strong {
    display: block;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1;
}

.creation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.5rem, 20rem));
    justify-content: start;
    gap: 0.9rem;
}

.creation-intro {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.creation-toolbar {
    display: grid;
    gap: 0.75rem;
}

.creation-pills,
.creation-subpills {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.creation-pill {
    padding: 0.68rem 0.88rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    color: var(--soft);
    font-family: "Montserrat", sans-serif;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.creation-pill.is-active {
    border-color: rgba(255, 77, 87, 0.32);
    background: rgba(255, 77, 87, 0.12);
    color: #ffd4d7;
}

.creation-card {
    display: grid;
    gap: 0;
    overflow: hidden;
    padding: 0;
}

.creation-thumb {
    position: relative;
    min-height: 15rem;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #141414, #0d0d0d);
    overflow: hidden;
}

.creation-thumb-slider img,
.creation-thumb-slider video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: opacity 0.35s ease, transform 0.45s ease;
}

.creation-card:hover .creation-thumb-slider img,
.creation-card:hover .creation-thumb-slider video {
    transform: scale(1.03);
}

.creation-thumb::before,
.creation-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
}

.creation-thumb-image-only::before,
.creation-thumb-image-only::after {
    content: none;
}

.creation-thumb-ui::before {
    background:
        linear-gradient(135deg, rgba(255, 77, 87, 0.14), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 100%);
}

.creation-thumb-ui::after {
    inset: 1.2rem;
    border-radius: 20px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 4.5rem, transparent 4.5rem),
        linear-gradient(180deg, rgba(255, 77, 87, 0.32), rgba(255, 77, 87, 0.08));
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    padding: 1rem;
}

.creation-thumb-system::before {
    background:
        radial-gradient(circle at 24% 26%, rgba(255, 77, 87, 0.26), transparent 22%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent 40%);
}

.creation-thumb-system::after {
    inset: 2rem;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0.8rem, transparent 0.8rem),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 0.9rem, transparent 0.9rem 2.1rem);
}

.creation-thumb-animation::before {
    background:
        radial-gradient(circle at 70% 20%, rgba(255, 77, 87, 0.22), transparent 26%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 42%);
}

.creation-thumb-animation::after {
    inset: 1.8rem;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, rgba(255, 77, 87, 0.28), transparent 32%),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.16) 0 0.12rem, transparent 0.12rem 100%);
}

.play-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5.2rem;
    height: 5.2rem;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    padding: 0;
    cursor: pointer;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-lg);
}

.play-dot::before {
    content: "";
    position: absolute;
    left: 54%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 1rem solid white;
    border-top: 0.65rem solid transparent;
    border-bottom: 0.65rem solid transparent;
}

.creation-body {
    padding: 1.3rem;
}

.creation-tags {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.creation-tags span {
    padding: 0.68rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 77, 87, 0.3);
    color: #ff9aa0;
    background: rgba(255, 77, 87, 0.06);
    font-size: 0.76rem;
}

.creation-body h3 {
    font-size: clamp(1.55rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}

.creation-watch-button {
    margin-top: 0.25rem;
}

.creation-empty {
    display: grid;
    gap: 0.65rem;
    align-content: center;
    min-height: 16rem;
    text-align: center;
}

.creation-empty h3 {
    font-family: "Sora", sans-serif;
    font-size: 1.3rem;
    letter-spacing: -0.04em;
}

.creation-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    color: var(--accent);
    font-weight: 700;
}

.creation-link::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
}

.gallery-section {
    display: grid;
    gap: 1.1rem;
}

.gallery-showcase {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    overflow: hidden;
}

.gallery-frame {
    position: relative;
}

.gallery-stage {
    position: relative;
    min-height: clamp(18rem, 46vw, 34rem);
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(255, 77, 87, 0.14), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
}

.gallery-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 36%, rgba(0, 0, 0, 0.14) 68%, rgba(0, 0, 0, 0.38) 100%);
    pointer-events: none;
}

.gallery-stage.is-empty::after {
    content: none;
}

.gallery-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-showcase:hover .gallery-stage img {
    transform: scale(1.02);
}

.gallery-empty-state {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-content: center;
    gap: 0.85rem;
    padding: 2rem;
    text-align: center;
}

.gallery-empty-kicker,
.gallery-label {
    color: var(--soft);
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gallery-empty-state h3,
.gallery-copy h3 {
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.gallery-empty-state p,
.gallery-caption {
    color: var(--muted);
    line-height: 1.72;
}

.gallery-empty-state code,
.gallery-caption code {
    display: inline-block;
    padding: 0.18rem 0.42rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 77, 87, 0.18);
    background: rgba(255, 77, 87, 0.08);
    color: #ffd4d7;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 3.2rem;
    height: 3.2rem;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(10, 10, 10, 0.68);
    color: var(--text);
    font-size: 1.45rem;
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    transform: translateY(-50%);
}

.gallery-arrow:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.03);
    border-color: rgba(255, 77, 87, 0.28);
    background: rgba(255, 77, 87, 0.14);
}

.gallery-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.gallery-arrow-left {
    left: 1rem;
}

.gallery-arrow-right {
    right: 1rem;
}

.gallery-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-inline: 0.2rem;
}

.gallery-copy {
    display: grid;
    gap: 0.6rem;
    max-width: 42rem;
}

.gallery-meta {
    display: grid;
    gap: 0.75rem;
    justify-items: end;
    min-width: 9rem;
}

.gallery-count {
    color: var(--text);
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gallery-dots {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.gallery-dot {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.gallery-dot.is-active {
    background: var(--accent);
    transform: scale(1.08);
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 1.1rem;
    align-items: start;
}

.contact-section {
    display: grid;
    gap: 1rem;
}

.contact-copy h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form label {
    display: grid;
    gap: 0.55rem;
    color: var(--muted);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
    color: var(--text);
    resize: vertical;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.035);
    box-shadow: 0 0 0 4px rgba(255, 77, 87, 0.08);
}

.contact-socials {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.contact-social {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.88rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.contact-social:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 77, 87, 0.26);
    background: rgba(255, 77, 87, 0.06);
}

.contact-social svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.contact-social span {
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-extra-link {
    width: fit-content;
    color: var(--accent);
    font-weight: 700;
}

.project-main {
    padding-bottom: 2rem;
}

.project-hero {
    padding-top: 5.8rem;
    padding-bottom: 3rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.96fr);
    gap: 1.4rem;
    align-items: start;
}

.project-hero-copy {
    gap: 1.15rem;
}

.project-hero-media {
    display: grid;
    gap: 1rem;
}

.project-page-banner {
    min-height: 26rem;
}

.project-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.project-overview-grid .glass-panel {
    display: grid;
    gap: 0.8rem;
}

.project-overview-grid h3 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.site-footer {
    padding-block: 1.5rem 2.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--soft);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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

    .reveal {
        opacity: 1;
        transform: none;
    }

    .tilt-card {
        transform: none !important;
    }

    .cursor-aura {
        display: none;
    }
}

@media (max-width: 1160px) {
    .hero-section,
    .featured-project,
    .contact-panel,
    .project-hero {
        grid-template-columns: 1fr;
    }

    .hero-copy h1,
    .project-hero-copy h1 {
        max-width: 100%;
    }

    .hero-profile {
        justify-self: start;
    }

    .journey-curve {
        min-height: 0;
        display: grid;
        gap: 1rem;
        padding: 0;
    }

    .journey-path,
    .journey-orb {
        display: none;
    }

    .journey-node {
        position: relative;
        inset: auto;
        width: auto;
    }

    .featured-grid {
        grid-template-columns: minmax(0, 22rem);
        justify-content: center;
    }
}

@media (max-width: 920px) {
    .main-nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .creation-grid,
    .project-overview-grid {
        grid-template-columns: 1fr;
    }

    .gallery-footer {
        align-items: flex-start;
    }

    .gallery-footer,
    .gallery-meta {
        justify-items: start;
    }

    .gallery-dots {
        justify-content: flex-start;
    }

    .featured-grid {
        grid-template-columns: minmax(0, 20rem);
        justify-content: center;
    }

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

@media (max-width: 720px) {
    .site-header,
    .site-footer,
    .hero-section,
    .section-shell,
    .project-hero {
        width: min(calc(100% - 1.6rem), var(--max-width));
    }

    .site-header {
        top: 0.5rem;
        padding: 0.95rem;
        border-radius: 24px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .brand,
    .main-nav {
        width: 100%;
        justify-content: center;
    }

    .hero-section,
    .project-hero {
        gap: 1.4rem;
        padding-top: 4.4rem;
    }

    .section-shell {
        padding-block: 1.3rem 3.4rem;
    }

    .button {
        width: 100%;
    }

    .hero-actions,
    .featured-actions {
        width: 100%;
    }

    .featured-stats,
    .project-page-stats {
        grid-template-columns: 1fr;
    }

    .glass-panel,
    .creation-body {
        padding: 1.05rem;
    }

    .journey-node::before {
        top: -0.65rem;
    }

    .featured-card-body {
        min-height: auto;
    }

    .project-modal-dialog,
    .creation-modal-dialog {
        padding: 0.8rem;
    }

    .project-modal-copy,
    .creation-modal-copy {
        padding-inline: 0.1rem;
    }

    .gallery-showcase {
        padding: 0.8rem;
    }

    .gallery-arrow {
        width: 2.7rem;
        height: 2.7rem;
        font-size: 1.25rem;
    }

    .gallery-arrow-left {
        left: 0.7rem;
    }

    .gallery-arrow-right {
        right: 0.7rem;
    }

    .creation-modal-arrow {
        width: 2.5rem;
        height: 2.5rem;
    }

    .featured-project {
        padding: 1rem;
    }

    .featured-banner-shell,
    .project-page-banner {
        min-height: 18rem;
    }

    .cursor-aura {
        display: none;
    }
}

@media (max-width: 460px) {
    .site-header,
    .site-footer,
    .hero-section,
    .section-shell,
    .project-hero {
        width: min(calc(100% - 1rem), var(--max-width));
    }

    .hero-copy h1,
    .project-hero-copy h1 {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }

    .gallery-stage {
        min-height: 15rem;
    }

    .section-heading h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .featured-tags span,
    .contact-inline span,
    .creation-tags span,
    .creation-pill,
    .contact-social {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
