/* ========================================
   Variables
   ======================================== */
:root {
    --font-heading: 'DM Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-50: #f8f7f4;
    --gray-100: #f0efec;
    --gray-200: #e0ddd8;
    --gray-300: #c8c5bf;
    --gray-400: #a8a49e;
    --gray-500: #888480;
    --gray-600: #666360;
    --gray-700: #444240;
    --gray-800: #222120;
    --gray-900: #111110;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-smooth: cubic-bezier(0.76, 0, 0.24, 1);
    --radius: 12px;
    --radius-lg: 16px;
    --px: clamp(20px, 3vw, 40px);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul { list-style: none; }

button {
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--px);
}

/* ========================================
   Loader
   ======================================== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-smooth), visibility 0.8s;
}

.loader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-bar {
    width: 120px;
    height: 3px;
    background: var(--gray-800);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--white);
    border-radius: 3px;
    animation: loaderFill 1.5s var(--ease-smooth) forwards;
}

@keyframes loaderFill {
    0% { width: 0; }
    100% { width: 100%; }
}

.loader-text {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-500);
}

/* ========================================
   Custom Cursor
   ======================================== */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--black);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: difference;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
}

.cursor.hovering {
    width: 48px;
    height: 48px;
    background: var(--white);
}

.cursor-follower {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9997;
    transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s, opacity 0.3s;
}

.cursor-follower.hovering {
    width: 64px;
    height: 64px;
    border-color: transparent;
    opacity: 0;
}

/* ========================================
   Navigation — Centered Pill
   ======================================== */
.nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    opacity: 0;
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--black);
    padding: 10px 12px 10px 24px;
    border-radius: 100px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.nav-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.wave-emoji {
    display: inline-block;
    animation: wave 2.5s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 60%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
}

.nav-menu-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: transform 0.3s var(--ease), background 0.3s;
    flex-shrink: 0;
}

.nav-menu-btn:hover {
    transform: scale(1.08);
}

.nav-menu-btn .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--black);
    transition: background 0.3s;
}

/* ========================================
   Menu Overlay — Dark Card
   ======================================== */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--ease-smooth), visibility 0.6s;
}

.menu-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.8s var(--ease-smooth);
}

.menu-overlay.active::before {
    background: rgba(0, 0, 0, 0.5);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-overlay-inner {
    position: relative;
    background: var(--gray-900);
    border-radius: 24px;
    padding: clamp(28px, 4vw, 40px);
    width: 100%;
    max-width: 540px;
    transform: translateY(-20px) scale(0.96);
    transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}

.menu-overlay.active .menu-overlay-inner {
    transform: translateY(0) scale(1);
}

.menu-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.menu-overlay-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.menu-close-btn {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--ease), border-radius 0.3s;
}

.menu-close-btn:hover {
    transform: rotate(90deg) scale(1.05);
    border-radius: 50%;
}

.menu-close-btn svg {
    width: 20px;
    height: 20px;
    color: var(--black);
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-link {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: var(--gray-50);
    color: var(--black);
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    width: fit-content;
    min-width: 180px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.2s;
    transform: translateX(-10px);
    opacity: 0;
}

.menu-overlay.active .menu-link {
    transform: translateX(0);
    opacity: 1;
}

.menu-overlay.active .menu-link:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active .menu-link:nth-child(2) { transition-delay: 0.15s; }
.menu-overlay.active .menu-link:nth-child(3) { transition-delay: 0.2s; }
.menu-overlay.active .menu-link:nth-child(4) { transition-delay: 0.25s; }

.menu-link:hover {
    transform: translateX(6px) !important;
    background: var(--white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ========================================
   Hero — Bold Typography + Photo
   ======================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(100px, 12vw, 160px) 0 clamp(60px, 8vw, 100px);
    position: relative;
    background: var(--white);
}

.hero-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

.hero-title-word {
    display: inline-block;
    transform: translateY(110%);
}

/* Particle Grid */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    width: 100%;
    height: 100%;
}
/* Decorative Stars */
.hero-star {
    position: absolute;
    z-index: 3;
    color: var(--black);
    opacity: 0;
}

.hero-star svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.hero-star-1 {
    width: clamp(36px, 5vw, 64px);
    height: clamp(36px, 5vw, 64px);
    top: 28%;
    left: clamp(20px, 10vw, 140px);
    animation: starFloat1 6s ease-in-out infinite;
}

.hero-star-2 {
    width: clamp(28px, 4vw, 52px);
    height: clamp(28px, 4vw, 52px);
    top: 45%;
    right: clamp(20px, 8vw, 120px);
    animation: starFloat2 7s ease-in-out infinite 1s;
}

@keyframes starFloat1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(15deg); }
}

@keyframes starFloat2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-20deg); }
}

/* Scroll Photo (Hero → About transition) */
.scroll-photo-wrapper {
    perspective: 1200px;
    margin-top: clamp(-30px, -3vw, -50px);
    position: relative;
    z-index: 10;
}

.scroll-photo {
    width: clamp(120px, 14vw, 220px);
    height: clamp(150px, 18vw, 270px);
    opacity: 0;
    transform: translateY(30px);
    transform-style: preserve-3d;
    will-change: transform;
    position: relative;
}

.scroll-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: clamp(12px, 1.5vw, 20px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.scroll-photo-back {
    transform: rotateY(180deg);
}

/* Bottom Info */
.hero-bottom {
    position: absolute;
    bottom: clamp(20px, 3vw, 32px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1280px;
    padding: 0 var(--px);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    opacity: 0;
}

.hero-copyright {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--black);
}

.hero-since {
    font-size: clamp(0.65rem, 1vw, 0.82rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
}

/* ========================================
   About Me
   ======================================== */
.about {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(80px, 12vw, 160px) 0;
    background: transparent;
    color: inherit;
    position: relative;
}

.about > .container {
    width: 100%;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(24px, 4vw, 64px);
    align-items: stretch;
}

.about-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-hey {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.about-intro {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.02em;
    color: inherit;
}

.about-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-photo-anchor {
    width: clamp(220px, 24vw, 360px);
    height: clamp(280px, 30vw, 450px);
    border-radius: clamp(16px, 2vw, 24px);
}

.about-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    justify-content: flex-end;
    gap: clamp(12px, 1.5vw, 20px);
}

.about-desc {
    font-size: clamp(0.82rem, 1.1vw, 0.92rem);
    opacity: 0.6;
    line-height: 1.65;
}

.about-right .btn-roll {
    margin-top: clamp(8px, 1vw, 16px);
}

/* ========================================
   Services
   ======================================== */
.services {
    padding: clamp(80px, 12vw, 160px) 0;
    background: transparent;
    color: inherit;
}

.services-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.services-left {
    position: sticky;
    top: 120px;
}

.services-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(12px, 1.5vw, 16px);
}

.service-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(128, 128, 128, 0.15);
    border-radius: clamp(14px, 1.5vw, 20px);
    padding: clamp(24px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.5vw, 16px);
    transition: border-color 0.4s var(--ease), transform 0.5s var(--ease);
    opacity: 0;
    transform: translateY(40px);
}

.service-card:hover {
    border-color: rgba(128, 128, 128, 0.4);
    transform: translateY(-4px);
}

.service-icon {
    width: clamp(44px, 5vw, 56px);
    height: clamp(44px, 5vw, 56px);
    background: rgba(128, 128, 128, 0.12);
    border-radius: clamp(10px, 1.2vw, 14px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-name {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.service-desc {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    opacity: 0.5;
    line-height: 1.7;
    margin-top: auto;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.service-tags span {
    font-size: clamp(0.62rem, 0.75vw, 0.72rem);
    font-weight: 500;
    opacity: 0.5;
    padding: 4px 12px;
    border: 1px solid rgba(128, 128, 128, 0.25);
    border-radius: 100px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.service-card:hover .service-tags span {
    border-color: rgba(128, 128, 128, 0.45);
}

.services-right > .btn-roll {
    margin-top: clamp(32px, 4vw, 48px);
}

.services-right > .btn-roll::before {
    background: var(--white);
}

.services-right > .btn-roll:hover {
    color: var(--black);
    border-color: var(--white);
}

/* ========================================
   Featured Works
   ======================================== */
.works {
    padding: clamp(80px, 10vw, 140px) 0 0;
    background: transparent;
    color: inherit;
}

.works-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: clamp(48px, 6vw, 80px);
    opacity: 0;
    position: sticky;
    top: clamp(20px, 3vw, 32px);
    z-index: 1;
}

.projects-stack {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 4vw, 48px);
    padding: 0 var(--px);
    max-width: 1280px;
    margin: 0 auto;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    border-radius: clamp(16px, 2vw, 24px);
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    position: sticky;
    top: 100px;
    will-change: transform;
    box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.08);
}

.project-info {
    background: var(--white);
    padding: clamp(32px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--black);
}

.project-name {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-transform: uppercase;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: clamp(16px, 2vw, 24px);
}

.project-tags span {
    font-size: clamp(0.7rem, 0.85vw, 0.8rem);
    font-weight: 500;
    padding: 6px 16px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 100px;
    letter-spacing: 0.02em;
    color: var(--gray-600);
}

.project-desc {
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    line-height: 1.7;
    color: var(--gray-600);
    margin-top: auto;
}

.project-link {
    margin-top: clamp(20px, 2.5vw, 32px);
    width: fit-content;
    color: var(--black);
}

.project-preview {
    background: var(--gray-900);
    overflow: hidden;
}

.project-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.project-card:hover .project-preview img {
    transform: scale(1.03);
}

/* ========================================
   Testimonials — Accordion
   ======================================== */
.testimonials {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: clamp(80px, 12vw, 160px) 0;
    background: transparent;
    color: inherit;
}

.testimonials > .container {
    width: 100%;
}

.testimonials-header {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
    margin-bottom: clamp(48px, 6vw, 80px);
}

.testimonials-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.testimonials-desc {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.02em;
    opacity: 0.8;
}

.testimonials-list {
    display: flex;
    flex-direction: column;
}

.testimonial-row {
    border-top: 1px solid rgba(128, 128, 128, 0.2);
}

.testimonial-row:last-child {
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.testimonial-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(20px, 2.5vw, 32px) 0;
    cursor: pointer;
}

.testimonial-row-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.testimonial-row-name {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.testimonial-row-role {
    font-size: clamp(0.72rem, 0.9vw, 0.82rem);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.5;
}

.testimonial-row-avatar {
    width: clamp(40px, 4.5vw, 56px);
    height: clamp(40px, 4.5vw, 56px);
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    transition: opacity 0.4s var(--ease);
}

.testimonial-row.active .testimonial-row-avatar {
    opacity: 0;
}

.testimonial-toggle {
    width: clamp(32px, 3.5vw, 40px);
    height: clamp(32px, 3.5vw, 40px);
    border-radius: 50%;
    border: 1px solid rgba(128, 128, 128, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: clamp(24px, 4vw, 48px);
    transition: background 0.3s;
    flex-shrink: 0;
}

.testimonial-toggle svg {
    width: 16px;
    height: 16px;
}

.testimonial-toggle .toggle-open {
    display: none;
}

.testimonial-row.active .testimonial-toggle .toggle-closed {
    display: none;
}

.testimonial-row.active .testimonial-toggle .toggle-open {
    display: block;
}

.testimonial-row.active .testimonial-toggle {
    background: rgba(128, 128, 128, 0.15);
}

.testimonial-row-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s var(--ease);
}

.testimonial-row.active .testimonial-row-content {
    max-height: 900px;
}

.testimonial-row-card {
    background: rgba(128, 128, 128, 0.08);
    border-radius: clamp(14px, 1.5vw, 20px);
    padding: clamp(28px, 3.5vw, 48px);
    margin-bottom: clamp(20px, 2.5vw, 32px);
    width: 55%;
    margin-left: auto;
}

.testimonial-row-top {
    display: flex;
    gap: clamp(20px, 3vw, 32px);
    align-items: flex-start;
}

.testimonial-row-avatar-lg {
    width: clamp(48px, 5vw, 64px);
    height: clamp(48px, 5vw, 64px);
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-row-text p {
    font-size: clamp(0.88rem, 1.15vw, 1.05rem);
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: clamp(16px, 2vw, 24px);
}

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

.testimonial-row-tags span {
    font-size: clamp(0.65rem, 0.8vw, 0.75rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 5px 14px;
    border: 1px solid rgba(128, 128, 128, 0.25);
    border-radius: 100px;
    opacity: 0.6;
}

.testimonial-row-bottom {
    display: flex;
    align-items: flex-end;
    gap: clamp(16px, 2vw, 24px);
    margin-top: clamp(24px, 3vw, 40px);
}

.testimonial-work-label {
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    opacity: 0.5;
    white-space: nowrap;
    padding-bottom: clamp(8px, 1vw, 12px);
}

.testimonial-row-bottom img {
    width: 55%;
    border-radius: clamp(10px, 1.2vw, 14px);
    object-fit: cover;
    margin-left: auto;
}

/* ========================================
   Contact & Footer
   ======================================== */
.contact {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: transparent;
    color: inherit;
    position: relative;
}

.contact > .container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-content {
    margin: 0 auto;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: clamp(32px, 4vw, 56px);
}

.contact-title-line {
    display: block;
    overflow: hidden;
}

.contact-subtitle {
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    opacity: 0.5;
    margin-bottom: clamp(8px, 1vw, 12px);
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: opacity 0.3s;
}

.contact-email-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.contact-email-icon svg {
    width: clamp(18px, 1.8vw, 24px);
    height: clamp(18px, 1.8vw, 24px);
    flex-shrink: 0;
}

.contact-email:hover .contact-email-icon {
    opacity: 0.5;
    transform: translateX(0);
}

.contact-email:hover {
    opacity: 0.6;
}

/* Footer */
.footer {
    padding: clamp(24px, 3vw, 40px) 0;
    background: transparent;
    color: inherit;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: clamp(0.72rem, 0.9vw, 0.82rem);
    opacity: 0.5;
}

.footer-socials {
    display: flex;
    gap: clamp(8px, 1.2vw, 12px);
}

.footer-link {
    font-size: clamp(0.72rem, 0.9vw, 0.82rem);
    font-weight: 500;
    padding: 8px 20px;
    border: 1px solid rgba(128, 128, 128, 0.3);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: border-color 0.4s var(--ease), color 0.4s;
}

.footer-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--black);
    border-radius: 100px;
    transform: scale(0);
    transform-origin: center;
    transition: transform 0.45s var(--ease);
    z-index: -1;
}

.footer-link:hover::before {
    transform: scale(1);
}

.footer-link:hover {
    color: var(--white);
    border-color: var(--black);
}

.footer-link-inner {
    display: flex;
    flex-direction: column;
    height: 1.2em;
    overflow: hidden;
}

.footer-link-inner span {
    display: block;
    line-height: 1.2em;
    transition: transform 0.4s var(--ease);
}

.footer-link:hover .footer-link-inner span {
    transform: translateY(-100%);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: clamp(0.72rem, 0.9vw, 0.82rem);
    opacity: 0.5;
}

.footer-top {
    transition: opacity 0.3s;
}

.footer-top:hover {
    opacity: 0.7;
}

/* ========================================
   Shared Button — Roll + Circle Grow
   ======================================== */
.btn-roll {
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 1vw, 12px);
    font-family: var(--font-heading);
    font-size: clamp(0.8rem, 1vw, 0.92rem);
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 12px 24px;
    border: 1.5px solid currentColor;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: inherit;
    transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.btn-roll::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--black);
    border-radius: 100px;
    transform: scale(0);
    transform-origin: center;
    transition: transform 0.45s var(--ease);
    z-index: -1;
}

.btn-roll:hover::before {
    transform: scale(1);
}

.btn-roll:hover {
    color: var(--white);
    border-color: var(--black);
}

.btn-roll-inner {
    display: flex;
    flex-direction: column;
    height: 1.2em;
    overflow: hidden;
    line-height: 1.2em;
}

.btn-roll-inner span {
    display: block;
    transition: transform 0.4s var(--ease);
}

.btn-roll:hover .btn-roll-inner span {
    transform: translateY(-100%);
}

.btn-roll-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s var(--ease);
}

.btn-roll-icon svg {
    width: 16px;
    height: 16px;
}

.btn-roll:hover .btn-roll-icon {
    transform: rotate(45deg);
}

/* ========================================
   Utility & Animations
   ======================================== */
.split-line {
    overflow: hidden;
}

.split-word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 11vw, 4rem);
    }

    .hero-star-1 {
        top: 20%;
        left: 8px;
    }

    .hero-star-2 {
        top: 40%;
        right: 8px;
    }

    .hero-bottom {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        max-width: none;
        width: 100%;
        padding: 0 var(--px);
        margin-top: auto;
    }

    .hero-container {
        padding-top: 80px;
        flex: 1;
    }

    .scroll-photo-wrapper {
        margin-top: clamp(16px, 4vw, 32px);
    }

.about-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-left {
        align-items: center;
        gap: clamp(20px, 4vw, 32px);
    }

    .about-photo-anchor {
        width: clamp(200px, 60vw, 300px);
        height: clamp(250px, 75vw, 380px);
    }

    .about-right {
        align-self: auto;
        align-items: center;
        text-align: center;
    }

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

    .services-left {
        position: relative;
        top: auto;
    }

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

    .project-card {
        grid-template-columns: 1fr;
        position: relative;
        top: auto;
    }

    .project-preview {
        min-height: 280px;
    }

    .cursor, .cursor-follower {
        display: none !important;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        align-items: center;
    }

    .footer-right {
        align-items: center;
    }

    .footer-socials {
        flex-wrap: wrap;
        justify-content: center;
    }

    .testimonials-header {
        grid-template-columns: 1fr;
    }

    .testimonial-row-card {
        width: 100%;
    }

    .testimonial-row-top {
        flex-direction: column;
    }

    .testimonial-row-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .testimonial-row-bottom img {
        width: 100%;
    }
}

