/* Trigger GitHub Pages deployment */
/* ==========================================================================
   PREMIUM PORTFOLIO STYLESHEET (Version 3)
   Aesthetic Identity: Obsidian & Electric Cobalt Blue (Dark Luxury Modern-Classic)
   Author: Gobinath
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
    /* Color Palette - Glowing Electric Cobalt & Cyan Blue */
    --bg-primary: #0b0c10;
    --bg-secondary: #131722;
    --bg-card: rgba(19, 23, 34, 0.7);
    --bg-navbar: rgba(11, 12, 16, 0.85);

    --accent-blue: #0066ff;
    --accent-blue-hover: #3385ff;
    --accent-blue-glow: rgba(0, 102, 255, 0.18);
    --accent-blue-dim: rgba(0, 102, 255, 0.06);

    /* Legacy Mapping for Flawless Color Transition Compatibility */
    --accent-gold: var(--accent-blue);
    --accent-gold-hover: var(--accent-blue-hover);
    --accent-gold-glow: var(--accent-blue-glow);
    --accent-gold-dim: var(--accent-blue-dim);

    --text-primary: #f3efe9;
    --text-secondary: #a3aab8;
    --text-muted: #626a7a;

    /* Typography */
    --font-classic: 'Playfair Display', Georgia, serif;
    --font-modern: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Structural & Borders */
    --border-color: rgba(0, 102, 255, 0.12);
    --border-hover: rgba(0, 102, 255, 0.35);
    --border-focus: rgba(0, 102, 255, 0.6);
    --container-max-width: 1200px;
    --nav-height: 90px;

    /* Animations & Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
}

/* ==========================================================================
   1. Base & Reset Styles
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-modern);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Premium Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #191c26;
    border: 2px solid var(--bg-primary);
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Abstract Subtle Mesh Background Glow */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: radial-gradient(circle at 80% 20%, rgba(0, 102, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 10% 70%, rgba(0, 102, 255, 0.04) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* Fine real-time mouse-tracking crosshair system */
.crosshair-h,
.crosshair-v {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.35);
    /* Bright, crisp white crosshair lines */
}

.crosshair-h {
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%);
}

.crosshair-v {
    top: 0;
    bottom: 0;
    width: 1px;
    transform: translateX(-50%);
}

/* Hide default cursor on desktop screens to make the crosshair feel native and premium */
@media (min-width: 993px) {
    body {
        cursor: crosshair;
    }
}

/* Base Typographical Selections */
h1,
h2,
h3,
h4 {
    font-family: var(--font-classic);
    color: var(--text-primary);
    font-weight: 500;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.text--gold {
    color: var(--accent-blue);
    font-style: italic;
}

/* ==========================================================================
   2. Layout & Global Components
   ========================================================================== */
section {
    padding: 120px 2rem;
}

/* Section Header Component */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 70px;
}

.section-header__subtitle {
    font-family: var(--font-modern);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
}

.section-header__title {
    font-size: 2.8rem;
    line-height: 1.2;
}

/* High-End Buttons */
.btn {
    display: inline-flex;
    position: relative;
    overflow: visible;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    font-family: var(--font-modern);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 100px;
    transition: var(--transition-smooth);
    cursor: none;
    /* hide default cursor on buttons */
    text-transform: uppercase;
}

/* Custom cursor box that matches button size */
.btn::after {
    content: "";
    position: absolute;
    inset: -2mm;
    /* expand 2 mm outside the button */
    border: 2px solid #ffffff;
    /* box color */
    border-radius: inherit;
    /* same shape as button, extra padding via inset */
    pointer-events: none;
    /* let clicks go through */
    transform: scale(0);
    opacity: 0;
    transition: transform .25s ease-out, opacity .15s ease-out;
}

/* Show box on hover (cursor becomes the box) */
.btn:hover::after {
    transform: scale(1);
    opacity: 1;
}

/* Shrink the box on click */
.btn:active::after {
    transform: scale(0.6);
    opacity: .8;
    transition: transform .12s ease-in, opacity .12s ease-in;
}

/* -------------------------------------------------
   Header links, CTA button, and footer social links
   ------------------------------------------------- */
/* Make them position‑relative and allow overflow */
.header__link,
.header__cta-btn,
.footer__social-link {
    position: relative;
    overflow: visible;
    cursor: none;
    /* hide default cursor */
}

/* White outline box for these elements – using ::before to avoid conflict with existing ::after */
.header__link::before,
.header__cta-btn::before,
.footer__social-link::before {
    content: "";
    position: absolute;
    inset: -2mm;
    /* 2 mm outside the element */
    border: 2px solid #ffffff;
    /* white box */
    border-radius: inherit;
    /* keep same shape */
    pointer-events: none;
    transform: scale(0);
    opacity: 0;
    transition: transform .25s ease-out, opacity .15s ease-out;
}

/* Hover – show the white box */
.header__link:hover::before,
.header__cta-btn:hover::before,
.footer__social-link:hover::before {
    transform: scale(1);
    opacity: 1;
}

/* Click – shrink the box */
.header__link:active::before,
.header__cta-btn:active::before,
.footer__social-link:active::before {
    transform: scale(0.6);
    opacity: .8;
    transition: transform .12s ease-in, opacity .12s ease-in;
}


/* Hover – grow the box */
.btn:hover::before {
    transform: scale(1.2);
    opacity: 1;
}

/* Click – shrink the box */
.btn:active::before {
    transform: scale(0.6);
    opacity: .8;
    transition: transform .15s ease-in, opacity .15s ease-in;
}

.btn--primary {
    background-color: var(--accent-blue);
    color: #ffffff;
    border: 1px solid var(--accent-blue);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.15);
}

.btn--primary:hover {
    background-color: var(--accent-blue-hover);
    border-color: var(--accent-blue-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.3);
}

.btn--secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn--secondary:hover {
    background-color: var(--accent-blue-dim);
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

.btn--full {
    width: 100%;
}

/* ==========================================================================
   3. Header Navigation Area (Minimalist Refined)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--bg-navbar);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.header__container {
    max-width: var(--container-max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Minimal Luxury Dot Logo */
.header__logo-minimal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: var(--transition-smooth);
}

.header__logo-minimal svg {
    transition: var(--transition-smooth);
    filter: drop-shadow(0 0 4px var(--accent-blue-glow));
}

.header__logo-minimal:hover svg {
    transform: scale(1.3);
    fill: var(--accent-blue-hover);
    filter: drop-shadow(0 0 8px var(--accent-blue));
}

.header__menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.header__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.header__link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-blue);
    transition: var(--transition-smooth);
}

.header__link:hover {
    color: var(--text-primary);
}

.header__link:hover::after,
.header__link--active::after {
    width: 100%;
}

.header__link--active {
    color: var(--text-primary);
}

.header__cta-btn {
    border: 1px solid var(--accent-blue);
    padding: 0.65rem 1.5rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-blue);
}

.header__cta-btn:hover {
    background-color: var(--accent-blue);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

/* ==========================================================================
   4. Hero Section v3 (Pulsing Badge on top center, Name Row & Floating Portrait)
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 60px;
}

.hero__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Top left-aligned badge styling */
.hero__badge-wrapper {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-blue-dim);
    border: 1px solid var(--accent-blue);
    padding: 0.5rem 1.3rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.06);
}

.hero__badge-dot {
    width: 7px;
    height: 7px;
    background-color: #39FF14;
    /* Neon Active Green */
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 12px #39FF14, 0 0 4px #39FF14;
    animation: activePulse 2s infinite ease-in-out;
}

@keyframes activePulse {
    0% {
        transform: scale(0.85);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
        box-shadow: 0 0 16px #39FF14, 0 0 8px #39FF14;
    }

    100% {
        transform: scale(0.85);
        opacity: 0.7;
    }
}

/* Giant Typographic Statement Row */
.hero__name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2.5rem;
    margin-bottom: 3.5rem;
    position: relative;
}

.hero__giant-name {
    font-size: clamp(3.5rem, 11vw, 9.5rem);
    font-family: var(--font-classic);
    line-height: 0.85;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0;
    /* Electric cobalt to blue gradient */
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--text-secondary) 70%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-grow: 1;
}

/* Free-floating Borderless Art Portrait (No card, background, borders, or shadows) */
.hero__art-portrait {
    flex-shrink: 0;
    width: clamp(160px, 22vw, 320px);
    aspect-ratio: 1;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.hero__art-portrait img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    border: none;
    border-radius: 24px;
    box-shadow: none;
    filter: grayscale(10%) contrast(105%) drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
    transition: var(--transition-smooth);
}

/* Interactive Floating Art Shift */
.hero__art-portrait:hover img {
    transform: scale(1.08) translateY(-4px) rotate(2deg);
    filter: grayscale(0%) contrast(100%) drop-shadow(0 12px 30px rgba(0, 102, 255, 0.2));
}

/* Details & Action Split Row */
.hero__details-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    width: 100%;
    align-items: flex-start;
}

.hero__details-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 580px;
}

.hero__details-right {
    display: flex;
    justify-content: flex-end;
    height: 100%;
    align-items: center;
}

.hero__actions {
    display: flex;
    gap: 1.5rem;
}

/* ==========================================================================
   5. Expertise Section
   ========================================================================== */
.expertise__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.expertise__card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: visible;
}

/* Dynamic glowing border light top */
.expertise__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.expertise__icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: #141622;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.expertise__icon {
    width: 24px;
    height: 24px;
}

.expertise__card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-classic);
}

.expertise__card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.expertise__card-tags span {
    font-size: 0.75rem;
    background-color: #1b1e2b;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Card Interactive Hover Glow */
.expertise__card:hover {
    transform: translateY(-10px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--accent-blue-glow);
}

.expertise__card:hover::before {
    opacity: 1;
    width: 100%;
    left: 0;
}

.expertise__card:hover .expertise__icon-wrapper {
    background-color: var(--accent-blue);
    color: #ffffff;
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

/* ==========================================================================
   6. Projects Gallery (Full width end-to-end cards with 3D Stack on Scroll)
   ========================================================================== */
.projects__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5vh;
    position: relative;
}

/* Sticky stacking cards config */
.projects__item {
    position: sticky;
    top: 130px;
    /* Accounts for fixed header */
    width: 100%;
    height: 70vh;
    /* Premium card screen coverage */
    margin-bottom: 8vh;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    overflow: hidden;
}

/* Setup z-indexes so cards stack properly sequentially */
.projects__item:nth-child(1) {
    z-index: 1;
}

.projects__item:nth-child(2) {
    z-index: 2;
}

.projects__item:nth-child(3) {
    z-index: 3;
}

/* Product Card Grid */
.projects__card-inner {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    height: 100%;
    background-color: #131722;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.projects__info {
    padding: 5rem 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    border-right: 1px solid var(--border-color);
}

.projects__category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.projects__name {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.projects__desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.projects__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.projects__tags span {
    font-size: 0.75rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* View Project Button inside cards */
.projects__view-btn {
    gap: 10px;
    padding: 0.85rem 2rem;
    font-size: 0.85rem;
    border-radius: 100px;
    margin-top: auto;
}

.projects__view-btn svg {
    transition: transform 0.3s ease;
}

.projects__view-btn:hover svg {
    transform: translate(3px, -3px);
}

/* Media Mockup Side */
.projects__media {
    position: relative;
    overflow: hidden;
    height: 100%;
    background-color: #0b0c10;
}

.projects__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition-smooth);
    transform-origin: center center;
}

/* Card Interactive Hover Effect */
.projects__card-inner:hover {
    border-color: var(--border-hover);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6), 0 0 30px var(--accent-blue-glow);
}

.projects__card-inner:hover .projects__img {
    transform: scale(1.04);
}

/* ==========================================================================
   7. About Philosophy & Resume Stats (With custom resume blocks)
   ========================================================================== */
.about {
    background-color: #10121a;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.about__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 6rem;
    align-items: flex-start;
}

.about__subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
}

.about__title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.about__desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* UI/UX and Dev Process Ledgers */
.about__process-block {
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.about__process-title {
    font-family: var(--font-classic);
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 1.25rem;
    font-style: italic;
    font-weight: 600;
}

.about__process-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about__process-list li {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
    position: relative;
    padding-left: 1.5rem;
}

.about__process-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.about__process-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about__metrics {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: sticky;
    top: 130px;
}

.about__metric-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.75rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    transition: var(--transition-smooth);
}

.about__metric-num {
    font-family: var(--font-classic);
    font-size: 3.2rem;
    color: var(--accent-blue);
    font-weight: 600;
    line-height: 1;
    min-width: 75px;
}

.about__metric-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about__metric-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.about__metric-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.about__metric-card:hover {
    transform: translateX(8px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 102, 255, 0.05);
}

/* Schawk Corporate Collaboration Cards */
.about__credentials {
    background-color: rgba(19, 23, 34, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: var(--transition-smooth);
}

.about__credentials-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 8px;
}

.about__company {
    font-family: var(--font-classic);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-blue);
    line-height: 1.1;
}

.about__company span {
    color: var(--text-primary);
}

.about__clients {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 4px;
}

.client-tag {
    font-size: 0.75rem;
    background-color: rgba(0, 102, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.95rem;
    border-radius: 100px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: var(--transition-fast);
}

.client-tag:hover {
    background-color: var(--accent-blue-dim);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.about__credentials:hover {
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-blue-glow);
}

/* ==========================================================================
   8. Luxury Contact Card
   ========================================================================== */
.contact__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.contact__card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 5rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

/* Blue background details card */
.contact__card::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 15%;
    width: 250px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
}

.contact__title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.contact__subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 3.5rem;
}

.contact__direct-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact__direct-email {
    font-family: var(--font-classic);
    font-size: 1.8rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--accent-blue);
    padding-bottom: 4px;
}

.contact__direct-email:hover {
    color: var(--accent-blue-hover);
    border-color: var(--accent-blue-hover);
}

/* Contact Interactive Form Fields */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
    color: var(--text-primary);
    font-family: var(--font-modern);
    font-size: 1rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-textarea {
    min-height: 100px;
    resize: none;
}

.form-label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    pointer-events: none;
}

/* Floating Label Mechanics */
.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
    top: -1rem;
    font-size: 0.75rem;
    color: var(--accent-blue);
    letter-spacing: 0.05em;
}

.form-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 1px 0 var(--accent-blue);
}

/* ==========================================================================
   9. Footer Branding Area
   ========================================================================== */
.footer {
    background-color: #07080d;
    border-top: 1px solid var(--border-color);
    padding: 70px 2rem 30px;
}

.footer__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.footer__logo {
    font-family: var(--font-classic);
    font-size: 1.6rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 6px;
}

.footer__logo span {
    color: var(--accent-blue);
}

.footer__tagline {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer__socials {
    display: flex;
    gap: 1.5rem;
}

.footer__social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.footer__social-link:hover {
    color: #ffffff;
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-3px) rotate(8deg);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

.footer__bottom {
    max-width: var(--container-max-width);
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 25px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   10. Responsiveness Rules
   ========================================================================== */

/* Tablet & Smaller Layouts */
@media (max-width: 992px) {
    section {
        padding: 90px 1.5rem;
    }

    .section-header__title {
        font-size: 2.3rem;
    }

    .header__cta-btn {
        display: none;
        /* Hide header CTA for layout balance */
    }

    /* Hero Responsive */
    .hero__name-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }

    .hero__giant-name {
        text-align: center;
        width: 100%;
    }

    .hero__art-portrait {
        margin: 0 auto;
        width: clamp(160px, 24vw, 220px);
    }

    .hero__details-row {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero__details-left {
        align-items: center;
    }

    .hero__details-right {
        justify-content: center;
    }

    .hero__tagline {
        font-size: 1.1rem;
    }

    .expertise__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .expertise__card:last-child {
        grid-column: span 2;
    }

    /* Projects Responsive */
    .projects__item {
        position: relative;
        /* Remove sticky stack on tablets for simpler scrolling */
        top: 0;
        height: auto;
        margin-bottom: 4rem;
    }

    .projects__card-inner {
        grid-template-columns: 1fr;
    }

    .projects__info {
        padding: 3rem 2.5rem;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .projects__media {
        aspect-ratio: 1.6;
    }

    .about__container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about__metrics {
        position: relative;
        top: 0;
    }

    .contact__card {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 4rem 2.5rem;
    }
}

/* Mobile Screens */
@media (max-width: 768px) {
    .header__menu {
        display: none;
        /* Keep mobile nav centered */
    }

    .header__container {
        justify-content: center;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 10px);
    }

    .hero__giant-name {
        font-size: 3rem;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .expertise__container {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .expertise__card:last-child {
        grid-column: span 1;
    }

    .about__title {
        font-size: 2.2rem;
    }

    .about__metric-card {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .about__metric-num {
        font-size: 2.8rem;
        min-width: 65px;
    }

    .contact__title {
        font-size: 2.2rem;
    }

    .contact__direct-email {
        font-size: 1.4rem;
    }

    .footer__container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}