/* ═══════════════════════════════════════════════════════════
   ASHISH KUMAR — CINEMATIC PORTFOLIO
   Design System & Styles
   ═══════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
    --bg-deep:       #070709;
    --bg-dark:       #0a0a0c;
    --gold:          #c9a84c;
    --gold-dim:      rgba(201, 168, 76, 0.5);
    --gold-glow:     rgba(201, 168, 76, 0.15);
    --text-primary:  #f0ece4;
    --text-muted:    rgba(240, 236, 228, 0.45);
    --text-ghost:    rgba(240, 236, 228, 0.2);
    --white:         #ffffff;
    --font-display:  'Cinzel Decorative', serif;
    --font-heading:  'Cinzel', serif;
    --font-body:     'Inter', -apple-system, sans-serif;
}

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

/* Page is LOCKED during cinematic — .scrollable unlocks it */
html {
    overflow: hidden;
    scroll-behavior: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-dim) var(--bg-deep);
}

html.scrollable {
    overflow-y: auto !important;
}

body {
    background: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
    background: var(--gold-dim);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════════════════════ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}

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

.preloader-kanji {
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--gold);
    animation: kanjiPulse 2s ease-in-out infinite;
    text-shadow: 0 0 40px var(--gold-glow), 0 0 80px var(--gold-glow);
    user-select: none;
}

@keyframes kanjiPulse {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.06); }
}

/* ═══════════════════════════════════════════════════════════
   HERO — fixed overlay, covers the entire viewport
   ═══════════════════════════════════════════════════════════ */
#hero-wrapper {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: transparent;
    overflow: hidden;
}

/* ── Slash Panels (z-5) ─────────────────────────────────── */
.slash-panel {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: var(--bg-deep);
    will-change: transform;
}

.slash-panel--top {
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.slash-panel--bottom {
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* ── Slash Line (z-7) ───────────────────────────────────── */
.slash-line {
    position: absolute;
    inset: 0;
    z-index: 7;
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
    background: linear-gradient(
        -45deg,
        transparent 45%,
        rgba(201, 168, 76, 0.08) 48.5%,
        rgba(255, 235, 180, 0.8) 49.6%,
        var(--white) 50%,
        rgba(255, 235, 180, 0.8) 50.4%,
        rgba(201, 168, 76, 0.08) 51.5%,
        transparent 55%
    );
    filter: drop-shadow(0 0 15px rgba(201, 168, 76, 0.6));
}

/* ── Hero Stage (z-10) ──────────────────────────────────── */
.hero-stage {
    position: absolute;
    inset: 0;
    z-index: 10;
    will-change: opacity;
}

.video-stack {
    position: absolute;
    inset: 0;
}

.video-stack video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    will-change: opacity, filter;
    /* Hollywood DI Color Grade: enhanced contrast, deep black levels, rich crimson/warm saturation, subtle film curve */
    filter: contrast(1.09) saturate(1.12) brightness(0.97);
}

#v1 { opacity: 1; }

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        /* Volumetric atmospheric haze & deep floor shadows */
        linear-gradient(to top, rgba(7, 7, 9, 0.92) 0%, rgba(7, 7, 9, 0.42) 30%, rgba(7, 7, 9, 0.05) 60%, transparent 100%),
        linear-gradient(to right, rgba(7, 7, 9, 0.55) 0%, transparent 40%),
        /* Subtle warm atmospheric bloom over the moon area */
        radial-gradient(circle at 50% 35%, rgba(201, 76, 50, 0.08) 0%, transparent 55%);
    pointer-events: none;
}

.hero-vignette {
    position: absolute;
    inset: -5%;
    z-index: 3;
    background: radial-gradient(ellipse 75% 75% at 50% 50%, transparent 40%, rgba(5, 5, 7, 0.72) 100%);
    pointer-events: none;
    will-change: background;
    mix-blend-mode: multiply;
}

/* ── Hero Text ──────────────────────────────────────────── */
.hero-content {
    position: absolute;
    bottom: 16%;
    left: 6%;
    z-index: 10;
    will-change: transform, opacity;
}

.hero-name {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.hero-name-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7.5rem);
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 0.04em;
    /* Multi-layered cinematic text shadow: tight ambient occlusion + deep volumetric drop + warm gold rim glow */
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 8px 24px rgba(0, 0, 0, 0.9),
        0 0 45px rgba(201, 168, 76, 0.12);
    will-change: transform, opacity;
}

.hero-name-line:nth-child(2) {
    padding-left: 0.15em;
    font-size: clamp(2.6rem, 7vw, 6.5rem);
}

.hero-role {
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 1.6vw, 1.15rem);
    color: var(--gold);
    margin-top: 1.5rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-weight: 500;
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.4), 0 2px 8px rgba(0, 0, 0, 0.8);
    will-change: transform, opacity;
}

/* ── Scroll Indicator ───────────────────────────────────── */
.scroll-indicator {
    position: absolute;
    bottom: 4%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    cursor: pointer;
    will-change: opacity;
}

.scroll-label {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.5em;
    color: var(--gold-dim);
    text-transform: uppercase;
}

.scroll-arrow-wrap {
    color: var(--gold);
    animation: arrowFloat 2.8s ease-in-out infinite;
}

.scroll-arrow-svg { display: block; }

@keyframes arrowFloat {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50%      { transform: translateY(10px); opacity: 1; }
}

.scroll-whisper {
    font-family: var(--font-body);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    color: var(--text-ghost);
    font-style: italic;
}

/* ── Flash (z-50) ───────────────────────────────────────── */
.slash-flash {
    position: absolute;
    inset: 0;
    z-index: 50;
    background: radial-gradient(ellipse at 50% 45%, rgba(255,255,255,0.95) 0%, rgba(201,168,76,0.3) 40%, transparent 75%);
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
}

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION — Dark Reddish Black Cinematic Theme
   ═══════════════════════════════════════════════════════════ */
.about-section {
    background: radial-gradient(circle at 80% 40%, rgba(55, 12, 16, 0.45) 0%, rgba(12, 6, 8, 0.98) 60%), #0a0406;
    padding: 7rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(120, 20, 25, 0.12) 0%, transparent 70%),
        linear-gradient(to bottom, rgba(7, 7, 9, 0.6), transparent 30%, rgba(7, 7, 9, 0.8) 100%);
    pointer-events: none;
}

.about-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-container--reveal {
    padding: 2rem 4rem;
    max-width: 1100px;
}

/* Left Column: 55-60% Width */
.about-content {
    flex: 0 0 58%;
    max-width: 58%;
    text-align: left;
}

.about-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    color: #e04545;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 15px rgba(224, 69, 69, 0.3);
}

.about-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.22;
    letter-spacing: 0.02em;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.about-divider {
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, #e04545 0%, var(--gold) 60%, transparent 100%);
    margin-bottom: 1.8rem;
}

.about-body {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.about-paragraph {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(240, 236, 228, 0.82);
    font-weight: 300;
}

.about-paragraph strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Service / Focus Cards */
.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.2rem;
}

.about-card {
    background: rgba(20, 8, 12, 0.7);
    border: 1px solid rgba(224, 69, 69, 0.18);
    border-radius: 10px;
    padding: 1.25rem 1rem;
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(224, 69, 69, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.about-card:hover {
    border-color: rgba(224, 69, 69, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(224, 69, 69, 0.15);
}

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

.about-card-badge {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: #e04545;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.about-card-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    letter-spacing: 0.04em;
}

.about-card-desc {
    font-family: var(--font-body);
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-muted);
    font-weight: 300;
}

/* Right Column: 40-45% Width Video Media */
.about-media {
    flex: 0 0 40%;
    max-width: 40%;
    position: relative;
}

.about-video-frame {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(224, 69, 69, 0.28);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.85),
        0 0 40px rgba(224, 69, 69, 0.15);
    background: #080304;
    aspect-ratio: 16 / 9;
}

.about-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.08) saturate(1.1) brightness(0.96);
    border-radius: 14px;
}

.about-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 4, 6, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.about-video-glow {
    position: absolute;
    inset: -20px;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(224, 69, 69, 0.2) 0%, transparent 70%);
    filter: blur(25px);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   OTHER CONTENT SECTIONS
   ═══════════════════════════════════════════════════════════ */
.content-section:not(.about-section) {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 4rem;
    background: var(--bg-deep);
    overflow: hidden;
}

.content-section:nth-child(even):not(.about-section) {
    background: var(--bg-dark);
}

.content-section:not(.about-section)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-glow), transparent);
}

.section-inner {
    max-width: 720px;
    text-align: center;
    padding: 2rem;
}

.section-number {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--gold-dim);
    display: block;
    margin-bottom: 1rem;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.06em;
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════
   SKILLS SECTION — Apple Product Page Style (#080808 Theme)
   ═══════════════════════════════════════════════════════════ */
.skills-section {
    background: radial-gradient(circle at 70% 30%, rgba(55, 12, 16, 0.4) 0%, rgba(8, 8, 8, 0.98) 60%), #080808;
    padding: 7rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.skills-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 30% 70%, rgba(120, 20, 25, 0.1) 0%, transparent 70%),
        linear-gradient(to bottom, rgba(8, 8, 8, 0.6), transparent 30%, rgba(8, 8, 8, 0.8) 100%);
    pointer-events: none;
}

.skills-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.skills-content {
    flex: 0 0 58%;
    max-width: 58%;
    text-align: left;
}

.skills-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    color: #e04545;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 15px rgba(224, 69, 69, 0.3);
}

.skills-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.22;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.skills-divider {
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, #e04545 0%, var(--gold) 60%, transparent 100%);
    margin-bottom: 2.2rem;
}

/* Category Skill Cards (#111111 background) */
.skill-category-card {
    background: rgba(17, 17, 17, 0.75);
    border: 1px solid rgba(224, 69, 69, 0.2);
    border-radius: 12px;
    padding: 1.8rem 1.6rem;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.skill-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(224, 69, 69, 0.6), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.skill-category-card:hover {
    border-color: rgba(224, 69, 69, 0.45);
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7), 0 0 30px rgba(224, 69, 69, 0.18);
}

.skill-category-card:hover::before {
    opacity: 1;
}

.skill-card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.skill-card-num {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #e04545;
    font-weight: 700;
}

.skill-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.06em;
    font-variant-ligatures: none;
    font-feature-settings: "liga" 0, "clig" 0, "dlig" 0;
}

.skill-card-desc {
    font-family: var(--font-body);
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(240, 236, 228, 0.75);
    margin-bottom: 1.4rem;
    font-weight: 300;
}

/* Individual Skill Items & Progress Bars */
.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.skill-item-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.04em;
}

.skill-level {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.08em;
    font-weight: 500;
}

.skill-bar-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #e04545 0%, var(--gold) 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(224, 69, 69, 0.5);
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Currently Building Showcase */
.currently-building {
    margin-top: 2.5rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(224, 69, 69, 0.15);
}

.building-subtitle {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    color: var(--gold);
    display: block;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.building-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.building-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(20, 8, 12, 0.8);
    border: 1px solid rgba(224, 69, 69, 0.25);
    border-radius: 25px;
    padding: 0.6rem 1.1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
}

.building-tag:hover {
    border-color: rgba(224, 69, 69, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 15px rgba(224, 69, 69, 0.2);
}

.tag-dot {
    width: 7px;
    height: 7px;
    background: #e04545;
    border-radius: 50%;
    box-shadow: 0 0 8px #e04545;
    animation: tagPulse 2s ease-in-out infinite;
}

@keyframes tagPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.3); }
}

/* Right Column: 40% Width Video Media Frame */
.skills-media {
    flex: 0 0 40%;
    max-width: 40%;
    position: sticky;
    top: 10%;
}

.skills-video-frame {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(224, 69, 69, 0.28);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.85),
        0 0 40px rgba(224, 69, 69, 0.15);
    background: #080304;
    aspect-ratio: 16 / 9;
}

.skills-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.08) saturate(1.1) brightness(0.96);
    border-radius: 14px;
}

.skills-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 4, 6, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.skills-video-glow {
    position: absolute;
    inset: -20px;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(224, 69, 69, 0.2) 0%, transparent 70%);
    filter: blur(25px);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION — Dark Reddish Black Theme
   ═══════════════════════════════════════════════════════════ */
.contact-section {
    background: radial-gradient(circle at 20% 60%, rgba(55, 12, 16, 0.45) 0%, rgba(10, 4, 6, 0.98) 60%), #070304;
    padding: 7rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(120, 20, 25, 0.12) 0%, transparent 70%),
        linear-gradient(to top, rgba(7, 7, 9, 0.7), transparent 40%);
    pointer-events: none;
}

.contact-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-content {
    flex: 0 0 56%;
    max-width: 56%;
    text-align: left;
}

.contact-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    color: #e04545;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 15px rgba(224, 69, 69, 0.3);
}

.contact-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.22;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.contact-divider {
    width: 70px;
    height: 2px;
    background: linear-gradient(90deg, #e04545 0%, var(--gold) 60%, transparent 100%);
    margin-bottom: 1.5rem;
}

.contact-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(240, 236, 228, 0.8);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

/* Email Badge (Plain Text Highlight) */
.contact-email-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(224, 69, 69, 0.09);
    border: 1px solid rgba(224, 69, 69, 0.3);
    padding: 0.65rem 1.3rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    color: var(--gold);
    cursor: default;
    user-select: all;
    box-shadow: 0 0 15px rgba(224, 69, 69, 0.1);
}

.contact-email-badge span {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-group-row {
    display: flex;
    gap: 1rem;
}

.form-group-row .form-group {
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(20, 8, 12, 0.7);
    border: 1px solid rgba(224, 69, 69, 0.18);
    border-radius: 8px;
    padding: 0.9rem 1.1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(240, 236, 228, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(224, 69, 69, 0.55);
    box-shadow: 0 0 15px rgba(224, 69, 69, 0.15);
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, rgba(224, 69, 69, 0.85) 0%, rgba(160, 30, 35, 0.95) 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(224, 69, 69, 0.25);
    align-self: flex-start;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(240, 75, 75, 1) 0%, rgba(190, 40, 45, 1) 100%);
    box-shadow: 0 12px 30px rgba(224, 69, 69, 0.4);
}

.form-status {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gold);
    display: none;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(20, 8, 12, 0.8);
    border: 1px solid rgba(224, 69, 69, 0.3);
}

.form-status.success {
    display: block;
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.4);
    background: rgba(12, 35, 20, 0.8);
}

.form-status.error {
    display: block;
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(35, 12, 15, 0.8);
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #ef4444 !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.25) !important;
}

/* Social Buttons */
.contact-socials {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(20, 8, 12, 0.6);
    border: 1px solid rgba(224, 69, 69, 0.2);
    border-radius: 8px;
    padding: 0.65rem 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: rgba(224, 69, 69, 0.5);
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(224, 69, 69, 0.15);
}

/* Right Column: v5 Video Media */
.contact-media {
    flex: 0 0 40%;
    max-width: 40%;
    position: relative;
}

.contact-video-frame {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(224, 69, 69, 0.28);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.85),
        0 0 40px rgba(224, 69, 69, 0.15);
    background: #080304;
    aspect-ratio: 16 / 9;
}

.contact-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.08) saturate(1.1) brightness(0.96);
    border-radius: 14px;
}

.contact-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 4, 6, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.contact-video-glow {
    position: absolute;
    inset: -20px;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(224, 69, 69, 0.2) 0%, transparent 70%);
    filter: blur(25px);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .about-container,
    .skills-container,
    .contact-container {
        flex-direction: column-reverse;
        gap: 3rem;
    }

    .about-content,
    .skills-content,
    .contact-content {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about-media,
    .skills-media,
    .contact-media {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        position: relative;
        top: 0;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content {
        bottom: 20%;
        left: 5%;
        right: 5%;
    }

    .hero-name-line:nth-child(2) { padding-left: 0; }
    .hero-role { letter-spacing: 0.2em; font-size: 0.75rem; }
    .scroll-indicator { bottom: 3%; }
    
    .content-section,
    .about-section,
    .skills-section,
    .contact-section {
        padding: 4rem 1.5rem;
    }

    .skills-heading,
    .contact-heading,
    .about-heading {
        font-size: 1.85rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .skill-category-card {
        padding: 1.4rem 1.2rem;
    }

    .skill-card-title {
        font-size: 1.15rem;
    }

    .contact-submit-btn {
        width: 100%;
    }

    .social-links {
        flex-direction: column;
        width: 100%;
    }

    .social-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-name-line { font-size: clamp(2.2rem, 12vw, 3.5rem); }
    .hero-name-line:nth-child(2) { font-size: clamp(1.9rem, 10vw, 3rem); }
    .hero-role { letter-spacing: 0.12em; margin-top: 1rem; }

    .content-section,
    .about-section,
    .skills-section,
    .contact-section {
        padding: 3.5rem 1rem;
    }

    .skills-heading,
    .contact-heading,
    .about-heading {
        font-size: 1.6rem;
    }

    .skill-category-card {
        padding: 1.2rem 1rem;
    }

    .contact-email-badge {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 0.8rem;
    }

    .building-tags {
        gap: 0.5rem;
    }

    .building-tag {
        width: 100%;
        justify-content: flex-start;
        padding: 0.55rem 0.9rem;
    }
}
