/* ==========================================================================
   Sidharth Senguptha — Portfolio Stylesheet
   Faithful to the PDF Aesthetic: Minimalist, Crisp Monochrome, Editorial
   Clean White Canvas + Black Typography + Script Watermarks + Pill Badges
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Design Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Colors (Matching PDF: Pure White + Solid Black + Soft Grey cards) */
    --color-bg: #ffffff;
    --color-bg-subtle: #f9f9fb;
    --color-bg-card: #eceff1;
    --color-bg-card-hover: #e2e6ea;
    --color-text-primary: #0a0a0a;
    --color-text-secondary: #333333;
    --color-text-muted: #6c727c;
    --color-text-watermark: rgba(0, 0, 0, 0.045);
    
    /* Borders & Accents */
    --color-border: #e2e4e8;
    --color-border-dark: #000000;
    --color-border-subtle: rgba(0, 0, 0, 0.06);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-script: 'Allura', 'Alex Brush', cursive;
    --font-date: 'Playfair Display', Georgia, serif;

    /* Layout & Spacing */
    --container-max: 1240px;
    --section-spacing: 110px;
    --radius-pill: 9999px;
    --radius-card: 18px;
    --radius-arch: 240px;

    /* Transitions & Physics */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-subtle: 0 4px 16px rgba(0, 0, 0, 0.05);
    --shadow-elevated: 0 16px 36px rgba(0, 0, 0, 0.1);
    --shadow-pop: 0 24px 48px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scrollbar-width: thin;
    scrollbar-color: #333 #f0f0f0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    cursor: auto;
}

/* Smooth custom scrollbar */
::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-track {
    background: #f5f5f7;
}
::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #888;
}

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

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

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

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   3. Custom Minimalist Cursor
   -------------------------------------------------------------------------- */
.cursor {
    width: 6px;
    height: 6px;
    background-color: #000;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.08s ease;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 34px;
    height: 34px;
    border: 1.5px solid rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.25s var(--ease-out-expo),
                height 0.25s var(--ease-out-expo),
                background-color 0.25s ease,
                border-color 0.25s ease;
}

.cursor-follower.hovering {
    width: 52px;
    height: 52px;
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.8);
}

@media (pointer: coarse) {
    .cursor, .cursor-follower {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   4. Minimalist Page Loader
   -------------------------------------------------------------------------- */
.loader {
    position: fixed;
    inset: 0;
    background-color: #ffffff;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s var(--ease-out-expo), visibility 0.7s var(--ease-out-expo);
}

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

.loader-inner {
    text-align: center;
    position: relative;
}

.loader-watermark {
    font-family: var(--font-script);
    font-size: clamp(5rem, 15vw, 11rem);
    color: rgba(0, 0, 0, 0.04);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    white-space: nowrap;
}

.loader-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: 0.35em;
    color: #000;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.loader-name span {
    display: inline-block;
    animation: loaderLetterBounce 1.4s infinite ease-in-out both;
}

.loader-name span:nth-child(1) { animation-delay: 0.0s; }
.loader-name span:nth-child(2) { animation-delay: 0.1s; }
.loader-name span:nth-child(3) { animation-delay: 0.2s; }
.loader-name span:nth-child(4) { animation-delay: 0.3s; }
.loader-name span:nth-child(5) { animation-delay: 0.4s; }
.loader-name span:nth-child(6) { animation-delay: 0.5s; }
.loader-name span:nth-child(7) { animation-delay: 0.6s; }
.loader-name span:nth-child(8) { animation-delay: 0.7s; }

@keyframes loaderLetterBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.7; }
    40% { transform: translateY(-8px); opacity: 1; }
}

.loader-subtitle {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #888;
    margin-bottom: 24px;
}

.loader-line {
    width: 140px;
    height: 2px;
    background: #eee;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 2px;
}

.loader-progress {
    width: 100%;
    height: 100%;
    background: #000;
    animation: loaderProgress 1.8s infinite cubic-bezier(0.65, 0, 0.35, 1);
    transform-origin: left;
}

@keyframes loaderProgress {
    0% { transform: scaleX(0); transform-origin: left; }
    49% { transform: scaleX(1); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

/* --------------------------------------------------------------------------
   5. Floating Frosted Navigation Bar
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    padding: 10px 24px;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-pill);
    padding: 8px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-pill {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: #000;
    letter-spacing: -0.01em;
    padding: 6px 14px;
    border: 1.5px solid #000;
    border-radius: var(--radius-pill);
    transition: background 0.25s ease, color 0.25s ease;
}

.brand-pill:hover {
    background: #000;
    color: #fff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.04);
}

.nav-link.active {
    color: #000;
    background: #000;
    color: #fff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-contact-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    background: #000;
    color: #fff;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-contact-btn:hover {
    background: #222;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    padding: 24px;
    z-index: 999;
    display: none;
    opacity: 0;
    transform: translateY(-15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-drawer.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-drawer-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    padding: 10px 16px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.mobile-link:hover, .mobile-link.active {
    background: #f0f0f2;
}

.mobile-contact-pill {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #000;
    color: #fff;
    padding: 12px;
    border-radius: var(--radius-pill);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   6. Watermarks (Signature Cursive Script from PDF)
   -------------------------------------------------------------------------- */
.watermark {
    font-family: var(--font-script);
    font-size: clamp(6.5rem, 18vw, 16rem);
    color: var(--color-text-watermark);
    position: absolute;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
    line-height: 1;
    will-change: transform;
    transition: transform 0.1s linear;
}

.watermark--hero {
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(8rem, 24vw, 22rem);
}

.watermark--company {
    top: 10px;
    left: 5%;
    transform: translateY(0);
    font-size: clamp(6rem, 16vw, 14rem);
}

.watermark--artwork {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(7rem, 20vw, 17rem);
}

.watermark--thankyou {
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(7.5rem, 22vw, 19rem);
}

/* --------------------------------------------------------------------------
   7. Sections Base
   -------------------------------------------------------------------------- */
.section {
    position: relative;
    padding: var(--section-spacing) 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    line-height: 1.15;
}

.section-desc {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.8;
    color: var(--color-text-secondary);
    max-width: 980px;
    margin-top: 16px;
}

/* Scroll reveal helper */
.anim-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    transition-delay: var(--delay, 0s);
}

.anim-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   8. HERO / COVER (PDF Page 1 Style)
   -------------------------------------------------------------------------- */
.hero {
    min-height: 560px;
    height: 84vh;
    max-height: 820px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding-top: 60px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(4.2rem, 11vw, 8.5rem);
    letter-spacing: -0.04em;
    color: #000000;
    line-height: 0.95;
    margin-bottom: 28px;
    opacity: 1;
}

.hero-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    opacity: 1;
}

.hero-pill-badge {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #000;
    border: 1.8px solid #000;
    border-radius: var(--radius-pill);
    padding: 10px 32px;
    background: transparent;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}

.hero-pill-badge:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.hero-role-text {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    color: #111;
    letter-spacing: -0.01em;
}

.hero-scroll-cue {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
    opacity: 0.65;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-scroll-cue:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(4px);
}

.scroll-cue-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #555;
}

.scroll-cue-arrow {
    animation: cueBounce 2s infinite ease-in-out;
}

@keyframes cueBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* --------------------------------------------------------------------------
   9. ABOUT SECTION (PDF Page 2 Style)
   -------------------------------------------------------------------------- */
.about {
    padding-top: 60px;
    padding-bottom: 90px;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
    align-items: center;
}

/* Left Column: Arch Portrait with Education overlay */
.about-visual {
    position: relative;
}

.arch-frame {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    border-radius: var(--radius-arch) var(--radius-arch) 24px 24px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, #d6d9dc 0%, #a8acb3 100%);
    box-shadow: var(--shadow-elevated);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.arch-img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(106%);
    transition: filter 0.5s ease, transform 0.6s var(--ease-out-expo);
}

.arch-frame:hover .arch-img {
    filter: grayscale(60%) contrast(105%);
    transform: scale(1.02);
}

/* Education overlay on bottom of arch */
.arch-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 34px 28px 26px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.75) 75%, transparent 100%);
    color: #ffffff;
    z-index: 2;
}

.edu-item {
    margin: 4px 0;
}

.edu-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 600;
}

.edu-title {
    color: #ffffff;
}

.edu-year {
    color: #ffffff;
    font-weight: 500;
    margin-left: 12px;
}

.edu-inst {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 2px;
    font-weight: 400;
}

.edu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
    margin: 10px 0;
}

/* Right Column: Bio & Skills */
.about-info {
    display: flex;
    flex-direction: column;
}

.about-greeting {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(3.2rem, 6vw, 4.8rem);
    letter-spacing: -0.035em;
    color: #000;
    line-height: 1;
    margin-bottom: 24px;
}

.about-bio {
    font-size: clamp(1.1rem, 1.8vw, 1.25rem);
    line-height: 1.8;
    color: #222;
    margin-bottom: 36px;
}

.about-bio strong {
    color: #000;
    font-weight: 700;
}

/* Skills Card (PDF Page 2 Grey Box) */
.skills-card {
    background: var(--color-bg-card);
    border-radius: 20px;
    padding: 32px 36px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.skills-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: #000;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.skills-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.app-badge {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
    user-select: none;
    position: relative;
}

.app-badge:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* Official Adobe / Figma Color Schemes */
.app-badge--ps {
    background: #001e36;
    color: #31a8ff;
    border: 2px solid #31a8ff;
}

.app-badge--ai {
    background: #330000;
    color: #ff9a00;
    border: 2px solid #ff9a00;
}

.app-badge--figma {
    background: #1e1e1e;
    border: 2px solid #2d2d2d;
    padding: 10px;
}

.figma-svg {
    width: 24px;
    height: 36px;
}

.app-badge--pr {
    background: #00005b;
    color: #9999ff;
    border: 2px solid #9999ff;
}

.app-badge--ae {
    background: #00005b;
    color: #d699ff;
    border: 2px solid #d699ff;
}

.skills-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 26px 0;
}

.languages-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    font-size: 1.15rem;
}

.languages-label {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #000;
}

.languages-list {
    font-family: var(--font-body);
    font-weight: 400;
    color: #333;
}

/* --------------------------------------------------------------------------
   10. EXPERIENCE SECTION (PDF Pages 3, 4, 5, 6 Style)
   -------------------------------------------------------------------------- */
.experience {
    padding-top: 40px;
    padding-bottom: 80px;
}

.experience-filter-container {
    margin-bottom: 40px;
}

.filter-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tab {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 22px;
    border-radius: var(--radius-pill);
    border: 1.5px solid #d4d8e0;
    color: #555;
    background: #fff;
    transition: all 0.22s ease;
}

.filter-tab:hover {
    border-color: #000;
    color: #000;
}

.filter-tab.active {
    background: #000;
    color: #fff;
    border-color: #000;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* Company Chapter Block */
.company-block {
    position: relative;
    padding: 70px 0 85px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.company-block:last-child {
    border-bottom: none;
}

.company-block.hidden-company {
    display: none;
}

.company-header {
    display: flex;
    align-items: baseline;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.company-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #000;
    line-height: 1.1;
}

.company-date-pill {
    font-family: var(--font-date);
    font-style: italic;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 500;
    color: #111;
    border: 1.5px solid #000;
    border-radius: var(--radius-pill);
    padding: 5px 22px;
    display: inline-block;
}

.company-desc {
    font-size: clamp(1.05rem, 1.8vw, 1.18rem);
    line-height: 1.8;
    color: #2b2b2b;
    max-width: 1050px;
    margin-bottom: 38px;
    position: relative;
    z-index: 1;
}

.company-desc strong {
    color: #000;
    font-weight: 700;
}

/* Portfolio Grids */
.portfolio-grid {
    position: relative;
    z-index: 1;
}

.grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.grid-landmark {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.work-card--wide {
    grid-column: span 1;
}

@media (min-width: 900px) {
    .grid-landmark .work-card--wide {
        grid-column: span 1;
    }
}

/* Work Card Styling */
.work-card {
    border-radius: var(--radius-card);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-subtle);
    cursor: pointer;
    position: relative;
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease, border-color 0.35s ease;
}

.work-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: var(--shadow-pop);
    border-color: rgba(0, 0, 0, 0.2);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.grid-landmark .work-card:nth-child(1) .card-inner,
.grid-landmark .work-card:nth-child(2) .card-inner,
.grid-landmark .work-card:nth-child(6) .card-inner {
    aspect-ratio: 4 / 3;
}

.card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease-out-expo);
}

.work-card:hover .card-inner img {
    transform: scale(1.05);
}

/* Hover overlay on cards */
.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.work-card:hover .card-overlay {
    opacity: 1;
}

.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #000;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transform: translateY(8px);
    transition: transform 0.25s var(--ease-out-expo);
}

.work-card:hover .view-btn {
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   11. ARTWORK SECTION (PDF Page 7 Style)
   -------------------------------------------------------------------------- */
.artwork {
    padding-top: 70px;
    padding-bottom: 100px;
    background: var(--color-bg-subtle);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.artwork-header {
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.artwork-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.art-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
    height: 100%;
}

.art-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-pop);
}

.art-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.art-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease-out-expo);
}

.art-card:hover .art-inner img {
    transform: scale(1.04);
}

.art-hover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.art-card:hover .art-hover {
    opacity: 1;
}

.art-zoom-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Stacked Column in artwork */
.art-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.art-card--stacked {
    height: calc(50% - 8px);
}

/* --------------------------------------------------------------------------
   12. CONTACT / THANK YOU SECTION (PDF Page 8 Style)
   -------------------------------------------------------------------------- */
.contact {
    padding: 100px 0;
    min-height: 540px;
    max-height: 750px;
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.contact-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(3.8rem, 10vw, 7.5rem);
    letter-spacing: -0.04em;
    color: #000;
    line-height: 1;
    margin-bottom: 48px;
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: #f4f6f8;
    border: 1.8px solid #000;
    border-radius: var(--radius-pill);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    transition: all 0.25s var(--ease-out-expo);
    position: relative;
    cursor: pointer;
}

.contact-item:hover {
    background: #000;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.contact-icon {
    display: flex;
    align-items: center;
}

.contact-action-badge {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(0, 0, 0, 0.08);
    font-weight: 700;
    margin-left: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.contact-item:hover .contact-action-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.contact-cta {
    margin-top: 10px;
}

.btn-black-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: #fff;
    padding: 14px 36px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease, background 0.25s ease;
}

.btn-black-pill:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   13. Minimalist Footer
   -------------------------------------------------------------------------- */
.footer {
    padding: 32px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #666;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand {
    font-weight: 700;
    color: #000;
}

.footer-dot {
    opacity: 0.4;
}

/* --------------------------------------------------------------------------
   14. Fullscreen Interactive Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out-expo), visibility 0.35s ease;
    padding: 40px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-btn {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
    z-index: 10;
}

.lightbox-btn:hover {
    background: #000;
    color: #fff;
    transform: scale(1.08);
}

.lightbox-close {
    top: 24px;
    right: 28px;
}

.lightbox-prev {
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.08);
}

.lightbox-next {
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.08);
}

.lightbox-media {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
    transform: scale(0.95);
    transition: transform 0.35s var(--ease-out-expo);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 16px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: #111;
    text-align: center;
}

/* --------------------------------------------------------------------------
   15. Toast & Back to Top
   -------------------------------------------------------------------------- */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    background: #000000;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 100001;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out-expo), opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s var(--ease-out-expo);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------------------------------
   16. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-landmark {
        grid-template-columns: repeat(2, 1fr);
    }
    .artwork-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    .art-stack {
        grid-column: span 1;
    }
}

@media (max-width: 860px) {
    .nav-menu, .nav-actions .nav-contact-btn {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .arch-frame {
        max-width: 380px;
    }
    .artwork-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    :root {
        --section-spacing: 75px;
    }
    .hero {
        min-height: 80vh;
    }
    .hero-sub {
        gap: 16px;
    }
    .grid-4col, .grid-landmark {
        grid-template-columns: 1fr;
    }
    .artwork-gallery {
        grid-template-columns: 1fr;
    }
    .art-stack {
        height: auto;
    }
    .art-card--stacked {
        height: 280px;
    }
    .contact-row {
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }
    .contact-item {
        width: 100%;
        justify-content: center;
    }
    .skills-card {
        padding: 24px 20px;
    }
    .skills-badges {
        gap: 10px;
    }
    .app-badge {
        width: 52px;
        height: 52px;
    }
}
