/* ========================================
   MONOGRAM PORTFOLIO — CSS THEME
   Dark editorial aesthetic with neon green accents
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ========================================
   CSS VARIABLES
======================================== */
:root {
    --clr-bg:            #0c0c0c;
    --clr-bg-alt:        #111111;
    --clr-bg-card:       #161616;
    --clr-surface:       #1c1c1c;
    --clr-accent:        #00e676;
    --clr-accent-dim:    rgba(0, 230, 118, 0.12);
    --clr-accent-glow:   rgba(0, 230, 118, 0.35);
    --clr-text:          #f0ede8;
    --clr-text-muted:    #7a7a7a;
    --clr-text-dim:      #404040;
    --clr-border:        rgba(255, 255, 255, 0.07);
    --clr-border-accent: rgba(0, 230, 118, 0.25);
    --clr-white:         #ffffff;
    --clr-red:           #e8261a;

    --font-serif:    'Inter', Georgia, serif;
    --font-sans:     'Inter', system-ui, sans-serif;
    --font-mono:     'Space Mono', monospace;

    --section-pad:   9rem 0;
    --transition:    0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --radius-sm:     6px;
    --radius-md:     14px;
    --radius-lg:     24px;
    --radius-pill:   50px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ========================================
   TYPOGRAPHY SYSTEM
======================================== */
.t-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-accent);
}

.t-display    { font-family: var(--font-serif); font-weight: 300; line-height: 0.95; letter-spacing: -0.02em; }
.t-display-xl { font-size: clamp(3.5rem, 10vw, 8rem); }
.t-display-lg { font-size: clamp(2.5rem, 6vw, 5.5rem); }
.t-display-md { font-size: clamp(2rem, 4vw, 3.5rem); }

.t-body   { font-family: var(--font-sans); font-size: 1rem; font-weight: 300; line-height: 1.75; color: var(--clr-text-muted); }
.t-accent { color: var(--clr-accent); }
.t-italic { font-style: italic; }
/* ========================================
   NAVBAR — Floating capsule style
   Replaces the existing .mn-nav block
======================================== */
.mn-grain {
    position: relative;
}
.mn-grain::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
.mn-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 1rem 2rem;
    pointer-events: none; /* let clicks pass through the padding area */
}
 
.mn-nav {
    pointer-events: all;
    width: 100%;
    max-width: 1100px;
    background: rgba(18, 18, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    transition: background var(--transition), box-shadow var(--transition);
}
 
.mn-nav.scrolled {
    background: rgba(12, 12, 12, 0.98);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
 
.mn-nav__inner {
    height: 56px;
    padding: 0 1rem 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0;
}
 
/* Logo */
.mn-nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 1.5rem;
}
 
.mn-nav__logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--clr-accent);
    color: var(--clr-bg);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 8px;
    flex-shrink: 0;
}
 
.mn-nav__logo-name {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--clr-text);
}
 
.mn-nav__logo-name em {
    font-style: normal;
    color: var(--clr-accent);
}
 
/* Desktop links — centered */
.mn-nav__links {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    list-style: none;
    flex: 1;
    justify-content: center;
}
 
.mn-nav__link {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--clr-text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
    white-space: nowrap;
}
 
.mn-nav__link:hover {
    color: var(--clr-text);
    background: rgba(255,255,255,0.06);
}
 
.mn-nav__link.active {
    color: var(--clr-text);
    background: rgba(255,255,255,0.06);
}
 
.mn-nav__link.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--clr-accent);
}
 
/* Right controls group */
.mn-nav__controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}
 
/* Icon buttons (theme toggle, squiggle, search) */
.mn-nav__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--clr-text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}
 
.mn-nav__icon-btn:hover {
    color: var(--clr-text);
    background: rgba(255,255,255,0.07);
}
 
/* Theme toggle — filled dark circle when active */
.mn-nav__theme-toggle {
    background: rgba(255,255,255,0.08);
    color: var(--clr-text);
}
 
.mn-nav__theme-toggle:hover {
    background: rgba(255,255,255,0.14);
}
 
/* Hire me CTA */
.mn-nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.45rem 1rem;
    background: var(--clr-accent);
    color: var(--clr-bg);
    border-radius: 50px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    margin-left: 0.25rem;
}
 
.mn-nav__cta:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,230,118,0.35);
}
 
.mn-nav__cta i { font-size: 0.72rem; }
 
/* Hamburger — mobile only */
.mn-nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 34px;
    height: 34px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    margin-left: 0.25rem;
}
 
.mn-nav__burger span {
    display: block;
    width: 14px;
    height: 1.5px;
    background: var(--clr-text-muted);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
 
.mn-nav__burger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.mn-nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mn-nav__burger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
 
 


/* ========================================
   HERO SECTION
======================================== */
.mn-hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0 3rem 5rem;
    position: relative;
    overflow: hidden;
    background: var(--clr-bg);
}

.mn-hero__bg { position: absolute; inset: 0; z-index: 0; }

.mn-hero__bg-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.mn-hero__bg-glow {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,230,118,0.06) 0%, transparent 70%);
    top: 10%; right: 5%;
    animation: heroGlow 12s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0%   { transform: translate(0,0) scale(1); opacity: 0.5; }
    100% { transform: translate(-60px,40px) scale(1.15); opacity: 0.8; }
}

.mn-hero__tag {
    position: absolute;
    top: 8rem; right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    z-index: 2;
}

.mn-hero__tag-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--clr-accent);
    margin-left: auto;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%,100% { box-shadow: 0 0 0 0 var(--clr-accent-glow); }
    50%      { box-shadow: 0 0 0 8px transparent; }
}

.mn-hero__tag-text {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.mn-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.mn-hero__label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mn-hero__label::before {
    content: '';
    display: block;
    width: 40px; height: 1px;
    background: var(--clr-accent);
}

.mn-hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 300;
    line-height: 0.92;
    letter-spacing: -0.03em;
    color: var(--clr-text);
    margin-bottom: 3rem;
}

.mn-hero__headline em      { font-style: italic; color: var(--clr-accent); }
.mn-hero__headline .outline { -webkit-text-stroke: 1px rgba(240,237,232,0.3); color: transparent; }

.mn-hero__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--clr-border);
    padding-top: 2rem;
}

.mn-hero__desc {
    max-width: 380px;
    font-size: 1rem;
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    color: var(--clr-text-muted);
}

.mn-hero__meta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mn-hero__scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.mn-hero__scroll-line {
    width: 1px; height: 50px;
    background: linear-gradient(to bottom, var(--clr-accent), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

.mn-hero__scroll-label {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
    writing-mode: vertical-rl;
}

/* ========================================
   STATS STRIP
======================================== */
.mn-stats {
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    padding: 2.5rem 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.mn-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.mn-stat + .mn-stat::before {
    content: '';
    position: absolute;
    left: 0; top: 20%;
    height: 60%; width: 1px;
    background: var(--clr-border);
}

.mn-stat__num {
    font-family: var(--font-sans);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--clr-text);
    line-height: 1;
}

.mn-stat__num sup { font-size: 0.5em; color: var(--clr-accent); vertical-align: super; }

.mn-stat__label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
    margin-top: 0.5rem;
}

/* ========================================
   SECTION LAYOUT HELPERS
======================================== */
.mn-section     { padding: var(--section-pad); }
.mn-section--alt { background: var(--clr-bg-alt); }

.mn-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.mn-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 5rem;
}

.mn-section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.02em;
}

.mn-section-title em { font-style: italic; color: var(--clr-accent); }

.mn-section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--clr-text-muted);
    transition: color 0.3s ease;
    white-space: nowrap;
    margin-top: 1.5rem;
}

.mn-section-link::after { content: '→'; font-size: 1rem; transition: transform 0.3s ease; }
.mn-section-link:hover  { color: var(--clr-accent); }
.mn-section-link:hover::after { transform: translateX(4px); }

/* ========================================
   ABOUT SECTION
======================================== */
.mn-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.mn-about__visual { position: relative; }

.mn-about__img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.mn-about__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition);
}

.mn-about__img-wrap:hover img { transform: scale(1.04); }

.mn-about__img-label {
    position: absolute;
    bottom: 2rem; left: 2rem;
    background: rgba(12,12,12,0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--clr-border-accent);
    border-radius: var(--radius-sm);
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mn-about__img-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--clr-accent);
}

.mn-about__text h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.mn-about__text h2 em { font-style: italic; color: var(--clr-accent); }

.mn-about__text p {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

.mn-about__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2.5rem 0;
}

.mn-about__info-item {
    padding: 1.25rem;
    background: var(--clr-surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-border);
    transition: border-color 0.3s ease;
}

.mn-about__info-item:hover { border-color: var(--clr-border-accent); }

.mn-about__info-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 0.5rem;
}

.mn-about__info-val {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text);
}

.mn-about__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS
======================================== */
.mn-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-pill);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: none;
}

.mn-btn--primary {
    background: var(--clr-accent);
    color: var(--clr-bg);
}

.mn-btn--primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,230,118,0.3);
}

.mn-btn--outline {
    background: transparent;
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
}

.mn-btn--outline:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

.mn-btn i { font-size: 0.85rem; }

/* ========================================
   SKILLS SECTION
======================================== */
.mn-skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--clr-border);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.mn-skill-item {
    background: var(--clr-bg-card);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    transition: background 0.3s ease;
    cursor: default;
}

.mn-skill-item:hover { background: var(--clr-surface); }
.mn-skill-item:hover .mn-skill-icon { color: var(--clr-accent); transform: translateY(-4px); }

.mn-skill-icon {
    font-size: 2.2rem;
    color: var(--clr-text-muted);
    transition: all 0.4s ease;
}

.mn-skill-name {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--clr-text);
}

/* ========================================
   PORTFOLIO SECTION
======================================== */
.mn-portfolio-filters {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.mn-filter-btn {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.55rem 1.1rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--clr-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mn-filter-btn:hover { border-color: var(--clr-text-muted); color: var(--clr-text); }
.mn-filter-btn.active { background: var(--clr-accent); border-color: var(--clr-accent); color: var(--clr-bg); font-weight: 600; }

/* Editorial Portfolio Grid */
.mn-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 80px;
    gap: 1.5rem;
}

.mn-portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--clr-bg-card);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mn-portfolio-card:nth-child(1) { grid-column: span 7; grid-row: span 5; }
.mn-portfolio-card:nth-child(2) { grid-column: span 5; grid-row: span 5; }
.mn-portfolio-card:nth-child(3) { grid-column: span 4; grid-row: span 4; }
.mn-portfolio-card:nth-child(4) { grid-column: span 4; grid-row: span 4; }
.mn-portfolio-card:nth-child(5) { grid-column: span 4; grid-row: span 4; }
.mn-portfolio-card:nth-child(n+6) { grid-column: span 6; grid-row: span 4; }

.mn-portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.5); z-index: 2; }

.mn-portfolio-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
    display: block;
}

.mn-portfolio-card:hover img { transform: scale(1.06); }

.mn-portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12,12,12,0.92) 0%, rgba(12,12,12,0.3) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
}

.mn-portfolio-card:hover .mn-portfolio-card__overlay { opacity: 1; }

.mn-portfolio-card__cat {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 0.5rem;
}

.mn-portfolio-card__title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--clr-white);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.mn-portfolio-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-white);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease 0.1s;
}

.mn-portfolio-card:hover .mn-portfolio-card__link { opacity: 1; transform: translateY(0); }
.mn-portfolio-card__link i { font-size: 0.75rem; transition: transform 0.3s ease; }
.mn-portfolio-card__link:hover i { transform: translateX(4px); }

/* Homepage portfolio grid — flat equal cards, not editorial */
#portfolio .mn-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: auto; /* ← was unset, needs to be auto */
    gap: 1.5rem;
    align-items: start;
}

#portfolio .mn-portfolio-card {
    display: flex;
    flex-direction: column;
    height: auto; /* override any inherited height */
    min-height: unset;
}

/* Override the global app.css rule that sets grid-row: span X */
#portfolio .mn-portfolio-card:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1; /* ← this is the culprit, span forces row height */
}




/* ========================================
   CONTACT SECTION
======================================== */
.mn-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.mn-contact__links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mn-contact__link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    text-decoration: none;
}

.mn-contact__link:hover {
    border-color: var(--clr-accent);
    background: var(--clr-accent-dim);
    transform: translateX(6px);
}

.mn-contact__link-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: var(--clr-surface);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-accent);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.mn-contact__link:hover .mn-contact__link-icon { background: var(--clr-accent); color: var(--clr-bg); }

.mn-contact__link-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
}

.mn-contact__link-val {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text);
}

/* Contact Form */
.mn-form { display: flex; flex-direction: column; gap: 1.25rem; }

.mn-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.mn-form__group { display: flex; flex-direction: column; gap: 0.5rem; }

.mn-form__label {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
}

.mn-form__input,
.mn-form__textarea {
    padding: 0.9rem 1.1rem;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    color: var(--clr-text);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    resize: none;
}

.mn-form__input:focus,
.mn-form__textarea:focus {
    outline: none;
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(0,230,118,0.1);
}

.mn-form__input::placeholder,
.mn-form__textarea::placeholder { color: var(--clr-text-dim); }

.mn-form__submit { width: 100%; justify-content: center; padding: 1rem; }

/* Alerts */
.mn-alert {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
}

.mn-alert--success { background: rgba(0,230,118,0.08); border: 1px solid rgba(0,230,118,0.3); color: var(--clr-accent); }
.mn-alert--error   { background: rgba(255,80,80,0.08);  border: 1px solid rgba(255,80,80,0.3);  color: #ff5050; }

/* ========================================
   CONTACT STRIP
======================================== */
.mn-contact-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 4rem 0;
    border-top: 1px solid var(--clr-border);
}

.mn-contact-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.mn-contact-strip__icon { font-size: 1.3rem; color: var(--clr-accent); }

.mn-contact-strip__label {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-text);
}

.mn-contact-strip__val {
    font-family: var(--font-sans);
    font-size: 0.825rem;
    font-weight: 400;
    color: var(--clr-text-muted);
}

/* ========================================
   FOOTER — Full multi-column layout
======================================== */
.mn-footer {
    background: #0a0a0a;
    border-top: 1px solid var(--clr-border);
    padding-top: 5rem;
}

.mn-footer__top {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--clr-border);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 3rem;
    padding-right: 3rem;
}

.mn-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mn-footer__tagline {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--clr-text-muted);
    max-width: 240px;
}

.mn-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mn-footer__col-title {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--clr-text);
    margin-bottom: 1.25rem;
}

.mn-footer__col ul { display: flex; flex-direction: column; gap: 0.65rem; list-style: none; }

.mn-footer__col ul li a,
.mn-footer__col ul li {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--clr-text-muted);
    transition: color 0.2s ease;
}

.mn-footer__col ul li a:hover { color: var(--clr-accent); }

.mn-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.75rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.mn-footer__copy {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--clr-text-dim);
}

.mn-footer__socials {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mn-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.mn-footer__social:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: var(--clr-accent-dim);
}

/* ========================================
   PAGE HEADER — Blob style (matches screenshot)
   Replaces the existing .mn-page-header block
======================================== */
 
.mn-page-header {
    position: relative;
    height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 0 0 28px 28px;
    margin: 0 1.5rem;
    margin-top: 88px; /* clears the floating nav */
}
 
/* Blob container */
.mn-page-header__blobs {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #0a0a0a;
}
 
/* Individual blobs — positioned & colored per theme */
.mn-page-header__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    will-change: transform;
}
 
/* ── About theme: orange-red left, red-pink right, dark gap ── */
.mn-page-header--about .mn-page-header__blob--1 {
    width: 520px; height: 520px;
    background: radial-gradient(circle, #f07020 0%, #c03010 55%, transparent 100%);
    top: -160px; left: -60px;
    opacity: 0.95;
    animation: blobDrift1 14s ease-in-out infinite alternate;
}
.mn-page-header--about .mn-page-header__blob--2 {
    width: 440px; height: 440px;
    background: radial-gradient(circle, #e02858 0%, #8b0028 60%, transparent 100%);
    top: -120px; right: -80px;
    opacity: 0.9;
    animation: blobDrift2 18s ease-in-out infinite alternate;
}
.mn-page-header--about .mn-page-header__blob--3 {
    width: 200px; height: 300px;
    background: radial-gradient(circle, #1a0a0a 0%, transparent 80%);
    top: 0; left: 38%;
    opacity: 1;
    /* creates the dark gap in the middle */
}
 
/* ── Portfolio theme: purple + teal ── */
.mn-page-header--portfolio .mn-page-header__blob--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #6d28d9 0%, #2e1065 60%, transparent 100%);
    top: -150px; left: 80px;
    opacity: 0.9;
    animation: blobDrift1 16s ease-in-out infinite alternate;
}
.mn-page-header--portfolio .mn-page-header__blob--2 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, #0d9488 0%, #042f2e 65%, transparent 100%);
    top: -100px; right: 60px;
    opacity: 0.85;
    animation: blobDrift2 20s ease-in-out infinite alternate;
}
.mn-page-header--portfolio .mn-page-header__blob--3 {
    width: 180px; height: 280px;
    background: radial-gradient(circle, #0a0a12 0%, transparent 80%);
    top: 0; left: 40%;
    opacity: 1;
}
 
/* ── Contact theme: deep blue ── */
.mn-page-header--contact .mn-page-header__blob--1 {
    width: 600px; height: 380px;
    background: radial-gradient(ellipse, #1e40af 0%, #0d2a50 60%, transparent 100%);
    top: -100px; left: -80px;
    opacity: 0.9;
    animation: blobDrift1 15s ease-in-out infinite alternate;
}
.mn-page-header--contact .mn-page-header__blob--2 {
    width: 380px; height: 320px;
    background: radial-gradient(ellipse, #2563eb 0%, #1e3a8a 65%, transparent 100%);
    top: -60px; right: 80px;
    opacity: 0.8;
    animation: blobDrift2 19s ease-in-out infinite alternate;
}
.mn-page-header--contact .mn-page-header__blob--3 {
    width: 160px; height: 260px;
    background: radial-gradient(circle, #080e14 0%, transparent 80%);
    top: 0; left: 42%;
    opacity: 1;
}
 
/* ── Default / works theme: green accent ── */
.mn-page-header--default .mn-page-header__blob--1,
.mn-page-header--works .mn-page-header__blob--1 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, #00c864 0%, #005030 60%, transparent 100%);
    top: -160px; left: 40px;
    opacity: 0.6;
    animation: blobDrift1 16s ease-in-out infinite alternate;
}
.mn-page-header--default .mn-page-header__blob--2,
.mn-page-header--works .mn-page-header__blob--2 {
    width: 360px; height: 360px;
    background: radial-gradient(circle, #059669 0%, #022c22 65%, transparent 100%);
    top: -80px; right: 100px;
    opacity: 0.55;
    animation: blobDrift2 20s ease-in-out infinite alternate;
}
.mn-page-header--default .mn-page-header__blob--3,
.mn-page-header--works .mn-page-header__blob--3 { display: none; }
 
/* Blob drift animations */
@keyframes blobDrift1 {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 20px) scale(1.08); }
}
@keyframes blobDrift2 {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-25px, 15px) scale(1.06); }
}
 
/* Grain texture */
.mn-page-header__noise {
    position: absolute; inset: 0; z-index: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
    pointer-events: none;
}
 
/* Bottom-left content */
.mn-page-header__content {
    position: relative; z-index: 2;
    padding: 0 3rem 2.5rem;
    width: 100%;
}
 
.mn-page-header__title {
    font-family: var(--font-sans);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}
 
.mn-page-header__subtitle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.25rem;
    max-width: 480px;
}
 
.mn-page-header__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
}
 
.mn-page-header__breadcrumb a {
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
    text-decoration: none;
}
.mn-page-header__breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.mn-page-header__breadcrumb .current { color: rgba(255,255,255,0.8); }
.mn-page-header__breadcrumb i { font-size: 0.6rem; }
 
 
/* ========================================
   RESPONSIVE — Nav + Page Header
======================================== */
@media (max-width: 900px) {
    .mn-header { padding: 0.75rem 1rem; }
    .mn-nav__links { display: none; }
    .mn-nav__icon-btn:not(.mn-nav__theme-toggle):not(#mn-search-btn) { display: none; }
    .mn-nav__burger { display: flex; }
    .mn-nav__inner { padding: 0 0.75rem 0 1rem; }
    .mn-page-header { margin: 0 1rem; margin-top: 82px; height: 300px; }
    .mn-page-header__content { padding: 0 2rem 2rem; }
}
 
@media (max-width: 600px) {
    .mn-header { padding: 0.75rem; }
    .mn-nav__cta { display: none; }
    .mn-page-header { margin: 0; border-radius: 0; margin-top: 74px; height: 260px; }
    .mn-page-header__content { padding: 0 1.25rem 1.75rem; }
    .mn-page-header__title { font-size: clamp(2rem, 10vw, 3rem); }
}

/* ========================================
   SOCIALS CARD
======================================== */
.mn-socials { display: flex; gap: 1rem; }

.mn-social-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--clr-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    transition: all 0.3s ease;
}

.mn-social-icon:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: var(--clr-accent-dim);
}

/* ========================================
   SCROLLBAR & SELECTION
======================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb { background: var(--clr-surface); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-text-dim); }
::selection { background: var(--clr-accent); color: var(--clr-bg); }

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .mn-nav__inner    { padding: 0 2rem; }
    .mn-container     { padding: 0 2rem; }
    .mn-hero          { padding: 0 2rem 4rem; }
    .mn-about         { grid-template-columns: 1fr; gap: 3rem; }
    .mn-about__img-wrap { aspect-ratio: 16/9; max-height: 400px; }
    .mn-skills-grid   { grid-template-columns: repeat(4, 1fr); }
    .mn-portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
    .mn-portfolio-card:nth-child(n)  { grid-column: span 1; grid-row: span 1; }
    .mn-portfolio-card:nth-child(1)  { grid-column: span 2; }
    .mn-contact       { grid-template-columns: 1fr; gap: 3rem; }
    .mn-contact-strip { grid-template-columns: repeat(2,1fr); }
    .mn-page-header   { margin: 0 1rem; height: 260px; }
    .mn-stats         { padding: 2rem; }
    .mn-footer__top   { grid-template-columns: 1fr; gap: 3rem; padding-left: 2rem; padding-right: 2rem; }
    .mn-footer__bottom { padding-left: 2rem; padding-right: 2rem; }
}

@media (max-width: 768px) {
    .mn-nav__links  { display: none; }
    .mn-nav__cta    { display: none; }
    .mn-nav__burger { display: flex; }
    .mn-nav__inner  { padding: 0 1.25rem; }
    .mn-hero__headline  { font-size: clamp(2.5rem,12vw,4.5rem); }
    .mn-hero__bottom    { flex-direction: column; align-items: flex-start; }
    .mn-skills-grid     { grid-template-columns: repeat(2,1fr); }
    .mn-portfolio-grid  { grid-template-columns: 1fr; }
    .mn-portfolio-card:nth-child(n) { grid-column: span 1; grid-row: span 1; min-height: 240px; }
    .mn-section-header  { flex-direction: column; }
    .mn-stats           { grid-template-columns: 1fr; }
    .mn-stat + .mn-stat::before { display: none; }
    .mn-form__row       { grid-template-columns: 1fr; }
    .mn-contact-strip   { grid-template-columns: 1fr 1fr; }
    .mn-page-header     { height: 220px; margin: 0; border-radius: 0; }
    .mn-about__info     { grid-template-columns: 1fr; }
    .mn-footer__nav     { grid-template-columns: 1fr 1fr; }
    .mn-footer__top     { padding-left: 1.25rem; padding-right: 1.25rem; }
    .mn-footer__bottom  { padding-left: 1.25rem; padding-right: 1.25rem; }
}

@media (max-width: 480px) {
    :root { --section-pad: 5rem 0; }
    .mn-container     { padding: 0 1.25rem; }
    .mn-hero          { padding: 0 1.25rem 3rem; }
    .mn-skills-grid   { grid-template-columns: repeat(2,1fr); }
    .mn-contact-strip { grid-template-columns: 1fr; }
    .mn-footer__nav   { grid-template-columns: 1fr; }
}

/* ========================================
   ABOUT US */ 

   
/* ── Utilities ───────────────────────────────────────────── */
.mb-label { display: block; margin-bottom: 1rem; }

/* ── Scroll reveal ───────────────────────────────────────── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal-delay-1 { transition-delay: 0.15s; }
.scroll-reveal-delay-2 { transition-delay: 0.3s; }

/* ── Identity Split ──────────────────────────────────────── */
.ab-identity__grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 6rem;
    align-items: center;
}

.ab-identity__visual { position: relative; }

.ab-identity__frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--clr-bg-card);
}

.ab-identity__frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    display: block;
}

.ab-identity__frame:hover img { transform: scale(1.04); }

.ab-identity__frame-badge {
    position: absolute;
    bottom: 1.5rem; left: 1.5rem;
    display: flex; align-items: center; gap: 0.65rem;
    background: rgba(12,12,12,0.88);
    backdrop-filter: blur(12px);
    border: 1px solid var(--clr-border-accent);
    border-radius: 50px;
    padding: 0.55rem 1.1rem 0.55rem 0.75rem;
}

.ab-identity__frame-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--clr-accent);
    animation: dotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* Floating stat cards */
.ab-stat-card {
    position: absolute;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border-accent);
    border-radius: 14px;
    padding: 1rem 1.4rem;
    display: flex; flex-direction: column; gap: 0.2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.ab-stat-card--a { top: 2rem; right: -1.5rem; }
.ab-stat-card--b { bottom: 6rem; right: -1.5rem; }

.ab-stat-card__num {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--clr-text);
    line-height: 1;
}
.ab-stat-card__num sup { font-size: 0.55em; color: var(--clr-accent); vertical-align: super; }
.ab-stat-card__lbl {
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--clr-text-muted);
}

/* Right copy */
.ab-identity__headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--clr-text);
    margin-bottom: 1.75rem;
}
.ab-identity__headline em    { font-style: italic; color: var(--clr-accent); }
.ab-identity__headline .ab-identity__outline {
    -webkit-text-stroke: 1px rgba(240,237,232,0.35);
    color: transparent;
}

.ab-identity__body {
    font-size: 1rem; font-weight: 300; line-height: 1.8;
    color: var(--clr-text-muted);
    margin-bottom: 1rem;
}

/* Chips */
.ab-chips {
    display: flex; flex-wrap: wrap; gap: 0.6rem;
    margin: 1.75rem 0 2.25rem;
}

.ab-chip {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.78rem; font-weight: 500;
    color: var(--clr-text-muted);
    border: 1px solid var(--clr-border);
    border-radius: 50px;
    padding: 0.4rem 0.9rem;
    background: var(--clr-surface);
    transition: border-color 0.3s, color 0.3s;
}
.ab-chip:hover { border-color: var(--clr-border-accent); color: var(--clr-text); }
.ab-chip i { color: var(--clr-accent); font-size: 0.7rem; }

.ab-identity__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Skills ──────────────────────────────────────────────── */
.ab-skills__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ab-skill-panel {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: 18px;
    overflow: hidden;
    transition: border-color 0.35s ease, transform 0.35s ease;
}
.ab-skill-panel:hover { border-color: var(--clr-border-accent); transform: translateY(-4px); }

.ab-skill-panel__head {
    padding: 1.75rem 1.75rem 1.25rem;
    border-bottom: 1px solid var(--clr-border);
    display: flex; align-items: center; gap: 1rem;
    position: relative;
}
.ab-skill-panel__num { opacity: 0.5; flex-shrink: 0; }
.ab-skill-panel__title {
    font-size: 1.05rem; font-weight: 600;
    color: var(--clr-text); flex: 1;
}
.ab-skill-panel__icon {
    font-size: 1.2rem; color: var(--clr-accent); opacity: 0.8;
}

.ab-skill-panel__bars { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: 1.1rem; }

.ab-bar__meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 0.45rem;
}
.ab-bar__name {
    font-size: 0.82rem; font-weight: 500; color: var(--clr-text);
    display: flex; align-items: center; gap: 0.5rem;
}
.ab-bar__name i { color: var(--clr-accent); font-size: 0.78rem; }
.ab-bar__pct { font-size: 0.72rem; font-weight: 600; color: var(--clr-text-muted); }

.ab-bar__track {
    height: 3px;
    background: var(--clr-surface);
    border-radius: 3px;
    overflow: hidden;
}
.ab-bar__fill {
    height: 100%;
    background: var(--clr-accent);
    border-radius: 3px;
    width: 0%;
    transition: width 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── Journey / Timeline ──────────────────────────────────── */
.ab-timeline { display: flex; flex-direction: column; gap: 0; }

.ab-tl-item {
    display: grid;
    grid-template-columns: 140px 40px 1fr;
    gap: 0 1.5rem;
    align-items: start;
}

.ab-tl-item__aside {
    display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem;
    padding-top: 0.25rem;
}
.ab-tl-item__year { text-align: right; }

.ab-tl-item__icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border-accent);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-accent); font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.ab-tl-item__line {
    display: flex; flex-direction: column; align-items: center;
    position: relative;
}
.ab-tl-item__dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--clr-accent);
    border: 3px solid var(--clr-bg);
    flex-shrink: 0;
    margin-top: 0.35rem;
    box-shadow: 0 0 0 1px var(--clr-accent);
}
.ab-tl-item__connector {
    width: 1px; flex: 1; min-height: 60px;
    background: linear-gradient(to bottom, var(--clr-border-accent), transparent);
    margin-top: 4px;
}

.ab-tl-item__card {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.35s ease;
}
.ab-tl-item:hover .ab-tl-item__card { border-color: var(--clr-border-accent); }

.ab-tl-item__title { font-size: 1rem; font-weight: 600; color: var(--clr-text); margin-bottom: 0.2rem; }
.ab-tl-item__org   { font-size: 0.78rem; color: var(--clr-accent); font-weight: 500; display: block; margin-bottom: 0.6rem; }
.ab-tl-item__desc  { font-size: 0.875rem; color: var(--clr-text-muted); line-height: 1.65; margin-bottom: 0.75rem; }

.ab-tl-item__tags  { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ab-tl-tag {
    font-size: 0.68rem; font-weight: 600; letter-spacing: 0.05em;
    color: var(--clr-text-muted);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
}

/* ── Bento Interests ─────────────────────────────────────── */
.ab-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
    gap: 1.25rem;
}

.ab-bento__card {
    position: relative;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: 18px;
    padding: 1.75rem;
    overflow: hidden;
    transition: border-color 0.35s ease, transform 0.35s ease;
    display: flex; flex-direction: column; justify-content: flex-end;
}
.ab-bento__card--large { grid-column: span 3; }
.ab-bento__card--small { grid-column: span 2; }

.ab-bento__card:hover { border-color: var(--clr-border-accent); transform: translateY(-4px); }
.ab-bento__card:hover .ab-bento__glow { opacity: 1; }

.ab-bento__glow {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 70%, rgba(0,230,118,0.07) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.ab-bento__icon-wrap {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--clr-accent-dim);
    border: 1px solid var(--clr-border-accent);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-accent);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}
.ab-bento__title { font-size: 1rem; font-weight: 600; color: var(--clr-text); margin-bottom: 0.4rem; }
.ab-bento__desc  { font-size: 0.825rem; color: var(--clr-text-muted); line-height: 1.55; }

/* ── CTA Strip ───────────────────────────────────────────── */
.ab-cta {
    padding: 5rem 0;
    background: var(--clr-bg);
    border-top: 1px solid var(--clr-border);
}

.ab-cta__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 3rem; flex-wrap: wrap;
}

.ab-cta__headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--clr-text);
}
.ab-cta__headline em { font-style: italic; color: var(--clr-accent); }

.ab-cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* Large button variant */
.mn-btn--lg { padding: 1rem 2rem; font-size: 0.875rem; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
    .ab-identity__grid { grid-template-columns: 340px 1fr; gap: 4rem; }
    .ab-stat-card--a, .ab-stat-card--b { right: -0.5rem; }
}

@media (max-width: 900px) {
    .ab-identity__grid { grid-template-columns: 1fr; gap: 3rem; }
    .ab-identity__visual { max-width: 420px; margin: 0 auto; }
    .ab-stat-card--a { top: 1rem; right: 0.5rem; }
    .ab-stat-card--b { bottom: 1rem; right: 0.5rem; }
    .ab-skills__grid  { grid-template-columns: 1fr; }
    .ab-bento { grid-template-columns: repeat(2, 1fr); }
    .ab-bento__card--large, .ab-bento__card--small { grid-column: span 1; }
    .ab-tl-item { grid-template-columns: 100px 36px 1fr; gap: 0 1rem; }
}

@media (max-width: 600px) {
    .ab-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .ab-bento__card { min-height: 160px; }
    .ab-tl-item { grid-template-columns: 80px 28px 1fr; }
    .ab-tl-item__icon { display: none; }
    .ab-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   PORTFOLIO INDEX — page-specific styles
============================================= */

/* ── Intro ───────────────────────────────── */
.pf-intro {
    padding: 4rem 0 3.5rem;
    border-bottom: 1px solid var(--clr-border);
}
.pf-intro__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: end;
}
.pf-intro__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.pf-intro__eyebrow-icon {
    width: 20px; height: 20px;
    background: var(--clr-accent-dim);
    border: 1px solid var(--clr-border-accent);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-accent);
    font-size: 0.58rem;
    flex-shrink: 0;
}
.pf-intro__headline {
    font-family: var(--font-sans);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.025em;
    color: var(--clr-text);
}
.pf-intro__headline span { color: var(--clr-text-muted); font-weight: 400; }
.pf-intro__desc {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
}

/* ── Layout: sidebar + grid ──────────────── */
.pf-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3.5rem;
    padding: 3.5rem 0 6rem;
    align-items: start;
}

/* ── Sidebar ─────────────────────────────── */
.pf-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.pf-sidebar__label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
    margin-bottom: 0.85rem;
}
.pf-filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.pf-filter-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    padding: 0.42rem 0.7rem;
    border-radius: 7px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    text-align: left;
    width: 100%;
}
.pf-filter-btn:hover { color: var(--clr-text); background: rgba(255,255,255,0.04); }
.pf-filter-btn.active { color: var(--clr-text); background: rgba(0,230,118,0.06); }
.pf-filter-btn.active .pf-count {
    background: var(--clr-accent-dim);
    color: var(--clr-accent);
    border-color: var(--clr-border-accent);
}
.pf-count {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--clr-text-dim);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 4px;
    padding: 0.1rem 0.45rem;
    transition: all 0.2s;
}

/* Discipline badges */
.pf-disciplines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pf-discipline {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    padding: 0.3rem 0;
}
.pf-discipline-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Section divider header ──────────────── */
.pf-section-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-top: 0.5rem;
}
.pf-section-divider + .pf-section-divider { margin-top: 3.5rem; }
.pf-section-divider__icon {
    width: 32px; height: 32px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.pf-section-divider__title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-text);
}
.pf-section-divider__line {
    flex: 1;
    height: 1px;
    background: var(--clr-border);
}
.pf-section-divider__count {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--clr-text-dim);
}

/* ── Grid ────────────────────────────────── */
.pf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 0;
}

/* ── Card ────────────────────────────────── */
.pf-card {
    position: relative;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}
.pf-card:hover {
    border-color: var(--clr-border-accent);
    transform: translateY(-5px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.5);
}

/* Thumbnail */
.pf-card__thumb {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
    text-decoration: none;
}
.pf-card__thumb-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
    display: block;
}
.pf-card:hover .pf-card__thumb-img { transform: scale(1.07); }

.pf-card__thumb-bg {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}
.pf-card:hover .pf-card__thumb-bg { transform: scale(1.04); }

/* Hover overlay */
.pf-card__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.25);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.pf-card:hover .pf-card__overlay { opacity: 1; }

/* Arrow icon */
.pf-card__arrow {
    position: absolute;
    top: 0.85rem; right: 0.85rem;
    width: 30px; height: 30px;
    background: rgba(12,12,12,0.82);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-white);
    font-size: 0.6rem;
    opacity: 0;
    transform: scale(0.8) translateY(-4px);
    transition: all 0.3s ease;
}
.pf-card:hover .pf-card__arrow { opacity: 1; transform: scale(1) translateY(0); }

/* Category badge on thumb */
.pf-card__badge {
    position: absolute;
    bottom: 0.75rem; left: 0.75rem;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    background: rgba(12,12,12,0.78);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.3s ease 0.05s;
}
.pf-card:hover .pf-card__badge { opacity: 1; transform: translateY(0); }

/* Body */
.pf-card__body {
    padding: 1rem 1.2rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pf-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pf-card__sub {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-accent);
}
.pf-card__year {
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--clr-text-dim);
}
.pf-card__title {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--clr-text);
    line-height: 1.3;
    transition: color 0.2s;
    text-decoration: none;
}
.pf-card:hover .pf-card__title { color: var(--clr-accent); }
.pf-card__desc {
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--clr-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pf-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.5rem;
}
.pf-card__tag {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--clr-text-muted);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 4px;
    padding: 0.18rem 0.55rem;
    transition: border-color 0.2s, color 0.2s;
}
.pf-card:hover .pf-card__tag {
    border-color: var(--clr-border-accent);
    color: var(--clr-text);
}

/* ── Hidden state for filtering ──────────── */
.pf-card.pf-hidden {
    display: none;
}
.pf-section-block.pf-hidden {
    display: none;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
    .pf-layout { grid-template-columns: 170px 1fr; gap: 2rem; }
    .pf-intro__inner { grid-template-columns: 1fr; gap: 2rem; }
    .pf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .pf-layout { grid-template-columns: 1fr; }
    .pf-sidebar { position: static; flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
    .pf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .pf-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   CONTACT PAGE — Specific Styles
===================================================== */

/* ── Page Header ── */
.mn-page-header--contact .mn-page-header__blob--1 {
    width: 600px; height: 380px;
    background: radial-gradient(ellipse, #1e40af 0%, #0d2a50 60%, transparent 100%);
    top: -100px; left: -80px;
    opacity: 0.9;
    animation: blobDrift1 15s ease-in-out infinite alternate;
}
.mn-page-header--contact .mn-page-header__blob--2 {
    width: 380px; height: 320px;
    background: radial-gradient(ellipse, #2563eb 0%, #1e3a8a 65%, transparent 100%);
    top: -60px; right: 80px;
    opacity: 0.8;
    animation: blobDrift2 19s ease-in-out infinite alternate;
}
.mn-page-header--contact .mn-page-header__blob--3 {
    width: 160px; height: 260px;
    background: radial-gradient(circle, #080e14 0%, transparent 80%);
    top: 0; left: 42%;
    opacity: 1;
}

/* ── Contact Section Layout ── */
.ct-section {
    padding: 5rem 0 7rem;
    background: var(--clr-bg);
}

.ct-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* ── Left Column: Map + Card ── */
.ct-map-wrapper {
    position: relative;
}

.ct-map-frame {
    width: 100%;
    aspect-ratio: 4/3.2;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    position: relative;
}

.ct-map-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: invert(90%) hue-rotate(180deg) saturate(0.4) brightness(0.85);
    border: 0;
}

/* "Let's Work Together" card overlapping the map */
.ct-intro-card {
    position: absolute;
    bottom: -2rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(18, 18, 18, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.75rem 2rem;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.ct-intro-card__headline {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.ct-intro-card__body {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--clr-text-muted);
    margin-bottom: 1.25rem;
}

.ct-intro-card__socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ct-intro-card__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    font-size: 0.85rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.ct-intro-card__social:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: var(--clr-accent-dim);
    transform: translateY(-2px);
}

/* ── Right Column: Form ── */
.ct-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ct-form-heading {
    margin-bottom: 2rem;
}

.ct-form-heading .t-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.ct-form-heading .t-eyebrow::before {
    content: '';
    display: block;
    width: 28px; height: 1px;
    background: var(--clr-accent);
    flex-shrink: 0;
}

.ct-form-heading h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--clr-text);
}
.ct-form-heading h2 em { font-style: italic; color: var(--clr-accent); }

/* Form inputs — reuse existing .mn-form classes + enhancements */
.ct-form .mn-form__input,
.ct-form .mn-form__textarea {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    color: var(--clr-text);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius-sm);
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    resize: none;
    outline: none;
}

.ct-form .mn-form__input:focus,
.ct-form .mn-form__textarea:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(0,230,118,0.1);
}

.ct-form .mn-form__input::placeholder,
.ct-form .mn-form__textarea::placeholder { color: var(--clr-text-dim); }

.ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ct-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.ct-form-label {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
}

.ct-form textarea {
    min-height: 130px;
}

/* Submit button — full width */
.ct-submit-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.875rem;
    padding: 1rem;
    margin-top: 0.25rem;
    background: var(--clr-accent);
    color: var(--clr-bg);
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}
.ct-submit-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,230,118,0.3);
}
.ct-submit-btn i { font-size: 0.8rem; }

.ct-form-legal {
    text-align: center;
    margin-top: 1rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--clr-text-dim);
    line-height: 1.7;
}
.ct-form-legal a {
    color: var(--clr-text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}
.ct-form-legal a:hover { color: var(--clr-accent); }

/* Flash messages */
.ct-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
}
.ct-alert--success { background: rgba(0,230,118,0.08); border: 1px solid rgba(0,230,118,0.3); color: var(--clr-accent); }
.ct-alert--error   { background: rgba(255,80,80,0.08);  border: 1px solid rgba(255,80,80,0.3);  color: #ff5050; }

/* ── Contact Strip ── */
.ct-strip {
    background: var(--clr-bg-alt);
    border-top: 1px solid var(--clr-border);
    padding: 3.5rem 0;
}

.ct-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.ct-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease, background 0.3s ease;
}
.ct-strip-item:hover {
    border-color: var(--clr-border-accent);
    background: var(--clr-accent-dim);
}

.ct-strip-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-accent);
    font-size: 1.1rem;
    transition: background 0.3s, border-color 0.3s;
}
.ct-strip-item:hover .ct-strip-icon {
    background: var(--clr-accent);
    color: var(--clr-bg);
    border-color: var(--clr-accent);
}

.ct-strip-label {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--clr-text);
    letter-spacing: 0.01em;
}

.ct-strip-val {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--clr-text-muted);
    line-height: 1.5;
}

/* ── CTA Footer Banner ── */
.ct-cta {
    background: var(--clr-bg);
    border-top: 1px solid var(--clr-border);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.ct-cta__noise {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.ct-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.ct-cta__left { flex: 1; min-width: 280px; }

.ct-cta__headline {
    font-family: var(--font-sans);
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--clr-text);
    margin-bottom: 0.25rem;
}
.ct-cta__headline .dim { color: var(--clr-text-muted); font-weight: 300; }

.ct-cta__asterisk {
    display: inline-block;
    color: var(--clr-accent);
    font-size: 4rem;
    line-height: 1;
    font-weight: 900;
    animation: asteriskSpin 18s linear infinite;
}
@keyframes asteriskSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.ct-cta__meta {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 3rem;
    align-items: end;
}

.ct-cta__meta-block { display: flex; flex-direction: column; gap: 0.3rem; }

.ct-cta__meta-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-text-dim);
}

.ct-cta__meta-val {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    transition: color 0.2s;
}
.ct-cta__meta-val a { color: inherit; transition: color 0.2s; }
.ct-cta__meta-val a:hover { color: var(--clr-accent); }

.ct-cta__book {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--clr-text-muted);
    border-bottom: 1px solid var(--clr-border);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.ct-cta__book:hover { color: var(--clr-accent); border-color: var(--clr-accent); }

.ct-cta__socials {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.ct-cta__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    font-size: 0.82rem;
    transition: all 0.25s ease;
    text-decoration: none;
}
.ct-cta__social:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    transform: translateY(-2px);
}

.ct-cta__divider {
    width: 100%;
    height: 1px;
    background: var(--clr-border);
    margin: 3rem 0 2.5rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .ct-grid { grid-template-columns: 1fr; gap: 5rem; }
    .ct-map-wrapper { max-width: 600px; }
    .ct-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .ct-cta__meta { gap: 2rem; }
}

@media (max-width: 768px) {
    .ct-form-row { grid-template-columns: 1fr; }
    .ct-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .ct-cta__inner { flex-direction: column; align-items: flex-start; }
    .ct-cta__meta { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 480px) {
    .ct-strip-grid { grid-template-columns: 1fr; }
    .ct-intro-card { left: 1rem; right: 1rem; }
    .ct-cta__meta { grid-template-columns: 1fr; }
}

/* ── Scroll reveal ── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.scroll-reveal.revealed { opacity: 1; transform: translateY(0); }
.scroll-reveal-delay-1 { transition-delay: 0.1s; }
.scroll-reveal-delay-2 { transition-delay: 0.2s; }
.scroll-reveal-delay-3 { transition-delay: 0.3s; }

/* ================================================================
   CONTACT MEGA-MENU
================================================================ */
/* ================================================================
   CONTACT MEGA-MENU
================================================================ */

/* header is already position:fixed — panel anchors to it */
.mn-header {
    overflow: visible; /* ensure panel isn't clipped */
}

.mn-nav__mega-item {
    position: static;
}

.mn-nav__mega-chevron {
    font-size: 0.55rem;
    margin-left: 2px;
    display: inline-block;
    transition: transform 0.22s ease;
    vertical-align: middle;
}

/* Panel — absolutely positioned inside .mn-header */
.mn-mega {
    position: absolute;
    /* vertically: just below the nav capsule */
    top: calc(100% - 0.5rem);
    /* horizontally: align right edge to ~right side of nav */
    right: 2rem;
    left: auto;
    width: min(740px, calc(100vw - 4rem));
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7),
                inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
    overflow: hidden;
}

/* Caret */
.mn-mega::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 120px; /* roughly above the Contact link */
    width: 11px; height: 11px;
    background: rgba(13, 13, 13, 0.98);
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    transform: rotate(45deg);
}

/* Show state — toggled by JS */
.mn-mega.is-open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

/* Chevron flips when open */
.mn-nav__mega-item.is-open .mn-nav__mega-chevron {
    transform: rotate(180deg);
}

/* Inner grid */
.mn-mega__inner {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 280px;
}

.mn-mega__map {
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    min-height: 280px;
}
.mn-mega__map iframe {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: block;
    border: 0;
    filter: invert(88%) hue-rotate(180deg) saturate(0.3) brightness(0.75);
}

.mn-mega__content {
    padding: 1.6rem 1.75rem;
    display: flex;
    flex-direction: column;
}

.mn-mega__heading {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.mn-mega__sub {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--clr-text-muted);
    line-height: 1.55;
    margin-bottom: 1.1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mn-mega__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
    flex: 1;
}

.mn-mega__item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    text-decoration: none;
    padding: 0.55rem 0.6rem;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: background 0.18s, border-color 0.18s;
    cursor: default;
    color: inherit;
}
a.mn-mega__item { cursor: pointer; }
a.mn-mega__item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.mn-mega__item-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-accent);
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.mn-mega__item-label {
    font-family: var(--font-sans);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
    margin-bottom: 0.15rem;
    display: block;
}

.mn-mega__item-val {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--clr-text);
    line-height: 1.3;
    display: block;
}

.mn-mega__actions { margin-top: auto; }
.mn-mega__actions .mn-btn {
    font-size: 0.76rem !important;
    padding: 0.55rem 1.15rem !important;
}

@media (max-width: 900px) {
    .mn-mega { display: none !important; }
    .mn-nav__mega-chevron { display: none; }
}

/* ================================================================
   FIXES — append this after your existing app.css
   1. Light theme CSS variables
   2. Mobile drawer styles (was missing entirely)
   3. Responsive nav fixes
================================================================ */

/* ── 1. LIGHT THEME OVERRIDES ──────────────────────────────── */
[data-theme="light"] {
    --clr-bg:            #f7f6f2;
    --clr-bg-alt:        #efeee9;
    --clr-bg-card:       #ffffff;
    --clr-surface:       #e8e6e1;
    --clr-accent:        #00a854;
    --clr-accent-dim:    rgba(0, 168, 84, 0.10);
    --clr-accent-glow:   rgba(0, 168, 84, 0.28);
    --clr-text:          #0f0f0f;
    --clr-text-muted:    #5a5a5a;
    --clr-text-dim:      #a0a0a0;
    --clr-border:        rgba(0, 0, 0, 0.08);
    --clr-border-accent: rgba(0, 168, 84, 0.25);
    --clr-white:         #ffffff;
    --clr-red:           #e8261a;
}
[data-theme="light"] {
    --clr-bg:            #f7f6f2;
    --clr-bg-alt:        #efeee9;
    --clr-bg-card:       #ffffff;
    --clr-surface:       #e8e6e1;
    --clr-accent:        #00a854;
    --clr-accent-dim:    rgba(0, 168, 84, 0.10);
    --clr-accent-glow:   rgba(0, 168, 84, 0.28);
    --clr-text:          #0f0f0f;
    --clr-text-muted:    #5a5a5a;
    --clr-text-dim:      #a0a0a0;
    --clr-border:        rgba(0, 0, 0, 0.08);
    --clr-border-accent: rgba(0, 168, 84, 0.25);
    --clr-white:         #ffffff;
    --clr-red:           #e8261a;
}

/* ── Nav in light mode ── */
[data-theme="light"] .mn-nav {
    background: rgba(247, 246, 242, 0.94);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mn-nav.scrolled {
    background: rgba(247, 246, 242, 0.99);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
}

[data-theme="light"] .mn-nav__link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--clr-text);
}

[data-theme="light"] .mn-nav__link.active {
    background: rgba(0, 0, 0, 0.06);
    color: var(--clr-text);
}

[data-theme="light"] .mn-nav__theme-toggle {
    background: rgba(0, 0, 0, 0.07);
    color: var(--clr-text);
}

[data-theme="light"] .mn-nav__theme-toggle:hover {
    background: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .mn-nav__burger {
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .mn-nav__burger span {
    background: var(--clr-text-muted);
}

[data-theme="light"] .mn-nav__cta:hover {
    background: #0f0f0f;
    box-shadow: 0 4px 16px rgba(0, 168, 84, 0.25);
}

/* ── Drawer in light mode ── */
[data-theme="light"] .mn-drawer__panel {
    background: #f7f6f2;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mn-drawer__close {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--clr-text-muted);
}

[data-theme="light"] .mn-drawer__close:hover {
    background: rgba(0, 0, 0, 0.10);
    color: var(--clr-text);
}

[data-theme="light"] .mn-drawer__link {
    color: var(--clr-text-muted);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .mn-drawer__link:hover {
    color: var(--clr-text);
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .mn-drawer__link.active {
    color: var(--clr-accent);
}

/* ── Mega menu in light mode ── */
[data-theme="light"] .mn-mega {
    background: rgba(247, 246, 242, 0.99);
    border-color: rgba(0, 0, 0, 0.09);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.14),
                inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .mn-mega::before {
    background: rgba(247, 246, 242, 0.99);
    border-color: rgba(0, 0, 0, 0.09);
}

[data-theme="light"] .mn-mega__sub {
    border-bottom-color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] a.mn-mega__item:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

/* ── Footer in light mode ── */
[data-theme="light"] .mn-footer {
    background: #eae9e4;
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mn-footer__col ul li a:hover {
    color: var(--clr-accent);
}

[data-theme="light"] .mn-footer__social:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: var(--clr-accent-dim);
}

/* ── Forms in light mode ── */
[data-theme="light"] .mn-form__input,
[data-theme="light"] .mn-form__textarea,
[data-theme="light"] .ct-form .mn-form__input,
[data-theme="light"] .ct-form .mn-form__textarea {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--clr-text);
}

[data-theme="light"] .mn-form__input::placeholder,
[data-theme="light"] .mn-form__textarea::placeholder,
[data-theme="light"] .ct-form .mn-form__input::placeholder,
[data-theme="light"] .ct-form .mn-form__textarea::placeholder {
    color: var(--clr-text-dim);
}

[data-theme="light"] .mn-form__input:focus,
[data-theme="light"] .mn-form__textarea:focus,
[data-theme="light"] .ct-form .mn-form__input:focus,
[data-theme="light"] .ct-form .mn-form__textarea:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(0, 168, 84, 0.10);
}

/* ── Cards & surfaces in light mode ── */
[data-theme="light"] .mn-about__info-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mn-about__info-item:hover {
    border-color: var(--clr-border-accent);
}

[data-theme="light"] .ab-skill-panel {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ab-tl-item__card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .ab-bento__card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .pf-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .pf-card:hover {
    border-color: var(--clr-border-accent);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .pf-card__tag {
    background: var(--clr-surface);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--clr-text-muted);
}

[data-theme="light"] .mn-skill-item {
    background: #ffffff;
}

[data-theme="light"] .mn-skill-item:hover {
    background: var(--clr-surface);
}

/* ── Contact page in light mode ── */
[data-theme="light"] .ct-intro-card {
    background: rgba(247, 246, 242, 0.97);
    border-color: rgba(0, 0, 0, 0.09);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
}

[data-theme="light"] .ct-strip-item:hover {
    background: var(--clr-accent-dim);
    border-color: var(--clr-border-accent);
}

[data-theme="light"] .ct-strip-icon {
    background: var(--clr-surface);
    border-color: rgba(0, 0, 0, 0.08);
}

/* ── Map iframes in light mode ── */
[data-theme="light"] .ct-map-frame iframe,
[data-theme="light"] .mn-mega__map iframe {
    filter: saturate(0.6) brightness(0.95);
}

/* ── Skill bars in light mode ── */
[data-theme="light"] .ab-bar__track {
    background: rgba(0, 0, 0, 0.07);
}

/* ── Page header blobs — unchanged (always dark) ── */
[data-theme="light"] .mn-page-header__blobs {
    background: #1a1a2e;
}

/* ── Hero glow in light mode ── */
[data-theme="light"] .mn-hero__bg-glow {
    background: radial-gradient(circle, rgba(0, 168, 84, 0.08) 0%, transparent 70%);
}

/* ── Scroll reveal ── */
[data-theme="light"] .mn-hero {
    background: var(--clr-bg);
}

/* ── Stats strip in light mode ── */
[data-theme="light"] .mn-stats {
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mn-stat + .mn-stat::before {
    background: rgba(0, 0, 0, 0.08);
}

/* ── Section borders in light mode ── */
[data-theme="light"] .mn-section-header,
[data-theme="light"] .mn-about__text h2,
[data-theme="light"] .mn-hero__bottom {
    border-color: rgba(0, 0, 0, 0.08);
}

/* ── CTA section in light mode ── */
[data-theme="light"] .ct-cta {
    background: var(--clr-bg-alt);
    border-top-color: rgba(0, 0, 0, 0.08);
}

/* ── ab-chip in light mode ── */
[data-theme="light"] .ab-chip {
    background: var(--clr-surface);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--clr-text-muted);
}

[data-theme="light"] .ab-chip:hover {
    border-color: var(--clr-border-accent);
    color: var(--clr-text);
}

/* ── Portfolio sidebar in light mode ── */
[data-theme="light"] .pf-filter-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--clr-text);
}

[data-theme="light"] .pf-filter-btn.active {
    background: rgba(0, 168, 84, 0.08);
    color: var(--clr-text);
}

[data-theme="light"] .pf-count {
    background: var(--clr-surface);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--clr-text-muted);
}

[data-theme="light"] .pf-filter-btn.active .pf-count {
    background: var(--clr-accent-dim);
    color: var(--clr-accent);
    border-color: var(--clr-border-accent);
}

/* ── Timeline in light mode ── */
[data-theme="light"] .ab-tl-item__icon {
    background: #ffffff;
    border-color: var(--clr-border-accent);
}

[data-theme="light"] .ab-tl-item__dot {
    border-color: var(--clr-bg);
}

/* ── Just Slick world always stays dark ── */
[data-theme="light"] .js-world {
    background: #080808;
    color: #f0ede8;
}
/* ── 2. MOBILE DRAWER ───────────────────────────────────────── */

.mn-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;          /* always flex — visibility via `hidden` attr & transitions */
}

.mn-drawer[hidden] {
    display: flex !important; /* override browser hidden so transition can play */
    pointer-events: none;
}

.mn-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mn-drawer.is-open .mn-drawer__overlay {
    opacity: 1;
    pointer-events: all;
}

.mn-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: #111111;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.32, 0, 0.17, 1);
    overflow-y: auto;
}

.mn-drawer.is-open .mn-drawer__panel {
    transform: translateX(0);
}

.mn-drawer__close {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.mn-drawer__close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--clr-text);
}

.mn-drawer__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    flex: 1;
}

.mn-drawer__link {
    display: block;
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    padding: 1rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s, padding-left 0.2s, background 0.2s;
    border-radius: 8px;
    text-decoration: none;
}

.mn-drawer__link:hover {
    color: var(--clr-text);
    padding-left: 1rem;
    background: rgba(255, 255, 255, 0.04);
}

.mn-drawer__link.active {
    color: var(--clr-accent);
}

.mn-drawer__footer {
    padding-top: 2rem;
}

/* Search overlay (matching existing pattern) */
.mn-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mn-search-overlay[hidden] { display: none; }

.mn-search-overlay__inner {
    width: min(600px, 90vw);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mn-search-overlay__close {
    position: absolute;
    top: -3rem;
    right: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.mn-search-overlay__close:hover { color: var(--clr-text); background: rgba(255,255,255,0.14); }

.mn-search-overlay__input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border-accent);
    border-radius: 50px;
    color: var(--clr-text);
    font-family: var(--font-sans);
    font-size: 1.1rem;
    outline: none;
}

.mn-search-overlay__hint {
    font-size: 0.75rem;
    color: var(--clr-text-dim);
}

.mn-search-overlay__hint kbd {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 4px;
    padding: 0.1rem 0.4rem;
    font-size: 0.7rem;
}

/* ── 3. RESPONSIVE NAV CONFLICT FIXES ───────────────────────── */

/* Ensure icon-btns that should stay visible do */
@media (max-width: 900px) {
    .mn-nav__icon-btn { display: none; }
    /* Keep theme toggle always visible */
    .mn-nav__theme-toggle { display: inline-flex !important; }
    .mn-nav__burger { display: flex !important; }
    .mn-nav__cta { display: none; }
}

@media (max-width: 600px) {
    .mn-nav__theme-toggle { display: inline-flex !important; }
}

/* Fix hero padding on mobile so it doesn't go under fixed nav */
@media (max-width: 768px) {
    .mn-hero {
        padding-top: 90px;
        min-height: 100svh;
    }
}

/* Fix hero tag position on small screens */
@media (max-width: 600px) {
    .mn-hero__tag { display: none; }
    .mn-hero { padding: 0 1.25rem 3rem; padding-top: 90px; }
}

/* Stats strip on mobile */
@media (max-width: 480px) {
    .mn-stats {
        grid-template-columns: 1fr;
        padding: 1.5rem 1.25rem;
    }
    .mn-stat + .mn-stat::before { display: none; }
    .mn-stat { padding: 1rem; }
}

/* Bento on mobile */
@media (max-width: 900px) {
    .ab-bento {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
    }
    .ab-bento__card--large { grid-column: span 2; }
    .ab-bento__card--small { grid-column: span 1; }
}

@media (max-width: 600px) {
    .ab-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .ab-bento__card--large,
    .ab-bento__card--small { grid-column: span 1; }
    .ab-bento__card { min-height: 160px; }
}

/* Portfolio grid on mobile */
@media (max-width: 1024px) {
    .pf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .pf-grid { grid-template-columns: 1fr; }
    .pf-layout { grid-template-columns: 1fr; }
    .pf-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* Contact strip on mobile */
@media (max-width: 768px) {
    .ct-strip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .ct-strip-grid { grid-template-columns: 1fr; }
    .ct-cta__meta { grid-template-columns: 1fr; gap: 1rem; }
}

/* Footer nav on small screens */
@media (max-width: 480px) {
    .mn-footer__nav { grid-template-columns: 1fr; }
    .mn-footer__bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* Page header margin on mobile */
@media (max-width: 768px) {
    .mn-page-header { margin-top: 76px; }
}
@media (max-width: 480px) {
    .mn-page-header { margin-top: 68px; }
}

/* ═══════════════════════════════════════════════════════════════
   JUST SLICK WORLD — scoped to .js-world
   Override the main site's CSS variables locally so both
   identities can live under the same layout shell.
═══════════════════════════════════════════════════════════════ */
.js-world {
    --js-bg:           #080808;
    --js-bg-alt:       #0e0e0e;
    --js-bg-card:      #121212;
    --js-border:       rgba(255,255,255,0.07);
    --js-border-hi:    rgba(255,255,255,0.13);
    --js-red:          #e8261a;
    --js-orange:       #f07028;
    --js-text:         #f0ede8;
    --js-text-mid:     #888880;
    --js-text-dim:     #3e3e3c;
    --js-display:      'Bebas Neue', sans-serif;
    --js-mono:         'Space Mono', monospace;

    background: var(--js-bg);
    color: var(--js-text);
}

/* Force dark look even when site is in light mode */
[data-theme="light"] .js-world { background: var(--js-bg); color: var(--js-text); }

/* ── Grain overlay ──────────────────────────────────── */
.js-grain {
    position: relative;
}
.js-grain::after {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 180px;
    pointer-events: none;
    z-index: 0;
}
.js-grain > * { position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════
   BRIDGE BANNER — thin top bar linking to dev identity
══════════════════════════════════════════════════════ */
.js-bridge {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; flex-wrap: wrap;
    padding: 0.85rem clamp(1.5rem, 6vw, 4rem);
    background: var(--js-bg-card);
    border-bottom: 1px solid var(--js-border);
}
.js-bridge__left {
    display: flex; align-items: center; gap: 0.85rem;
}
.js-bridge__mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px;
    background: var(--clr-accent, #00e676);
    border-radius: 7px;
    font-family: var(--font-sans); font-size: 0.65rem; font-weight: 700;
    color: #080808;
    flex-shrink: 0;
}
.js-bridge__sep { width: 1px; height: 20px; background: var(--js-border-hi); }
.js-bridge__label {
    font-family: var(--js-mono); font-size: 0.65rem;
    letter-spacing: 0.08em; color: var(--js-text-dim);
}
.js-bridge__link {
    font-family: var(--js-mono); font-size: 0.65rem;
    letter-spacing: 0.08em; color: var(--clr-accent, #00e676);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,230,118,0.3);
    padding-bottom: 1px;
    transition: border-color 0.2s;
}
.js-bridge__link:hover { border-color: var(--clr-accent, #00e676); }

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.js-hero {
    min-height: calc(100svh - 56px);
    position: relative;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0 clamp(1.5rem, 6vw, 4rem) 4.5rem;
    border-bottom: 1px solid var(--js-border);
    overflow: hidden;
}

.js-hero__bg { position: absolute; inset: 0; z-index: 0; }

/* Vertical grid lines */
.js-hero__lines {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent calc(100% / 6 - 0.5px),
        rgba(255,255,255,0.022) calc(100% / 6 - 0.5px),
        rgba(255,255,255,0.022) calc(100% / 6)
    );
}
/* Red accent bar along top */
.js-hero__topbar {
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--js-red);
}
/* Red glow from bottom */
.js-hero__glow {
    position: absolute; bottom: 0; left: 0; right: 0; height: 40vh;
    background: linear-gradient(to top, rgba(232,38,26,0.05) 0%, transparent 100%);
}

.js-hero__inner {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-end;
    gap: 3rem;
}

/* Kicker */
.js-kicker {
    display: inline-flex; align-items: center; gap: 0.65rem;
    font-family: var(--js-mono); font-size: 0.68rem;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--js-red);
    margin-bottom: 1.5rem;
}
.js-kicker__dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--js-red);
    animation: jsPulse 2s ease-in-out infinite;
}
@keyframes jsPulse {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:0.35; transform:scale(0.65); }
}

/* Display name */
.js-hero__name {
    font-family: var(--js-display);
    font-size: clamp(5.5rem, 18vw, 15rem);
    line-height: 0.86;
    letter-spacing: 0.01em;
    color: var(--js-text);
    margin-bottom: 2.5rem;
}
.js-hero__name em { color: var(--js-red); font-style: normal; }

/* Tagline */
.js-hero__desc {
    font-family: var(--js-mono); font-size: 0.74rem; line-height: 1.85;
    color: var(--js-text-mid);
    border-left: 2px solid var(--js-red);
    padding-left: 1rem;
    margin-bottom: 2.5rem;
    max-width: 38ch;
}
.js-hero__desc strong { color: var(--js-text); font-weight: 400; }

/* Hero actions */
.js-hero__actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* Right: hero stat stack */
.js-hero__stats { display: flex; flex-direction: column; gap: 2px; }
.js-stat {
    padding: 1rem 1.35rem;
    border: 1px solid var(--js-border);
    background: rgba(255,255,255,0.018);
    text-align: right;
}
.js-stat__num {
    font-family: var(--js-display); font-size: 2rem; line-height: 1;
    color: var(--js-text);
}
.js-stat__lbl {
    font-family: var(--js-mono); font-size: 0.58rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--js-text-dim); margin-top: 0.2rem;
}

/* ── JS Buttons ── */
.js-btn {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: var(--js-mono); font-size: 0.68rem;
    font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 0.85rem 1.65rem;
    border-radius: 0;
    transition: all 0.2s ease;
    cursor: pointer; text-decoration: none;
}
.js-btn--primary { background: var(--js-red); color: #fff; border: 1px solid var(--js-red); }
.js-btn--primary:hover { background: #c01e14; border-color: #c01e14; }
.js-btn--ghost { background: transparent; color: var(--js-text); border: 1px solid var(--js-border-hi); }
.js-btn--ghost:hover { border-color: var(--js-text-mid); }

/* ══════════════════════════════════════════════════════
   TICKER
══════════════════════════════════════════════════════ */
.js-ticker {
    overflow: hidden;
    background: var(--js-bg-alt);
    border-bottom: 1px solid var(--js-border);
    padding: 0.72rem 0;
    white-space: nowrap;
}
.js-ticker__track {
    display: inline-flex;
    animation: jsTicker 30s linear infinite;
}
@keyframes jsTicker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.js-ticker__item {
    display: inline-flex; align-items: center; gap: 0.85rem;
    font-family: var(--js-display); font-size: 0.85rem;
    letter-spacing: 0.12em; color: var(--js-text-dim);
    padding: 0 2rem;
}
.js-ticker__item span { color: var(--js-red); font-size: 0.7rem; }

/* ══════════════════════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════════════════════ */
.js-section {
    padding: 5.5rem clamp(1.5rem, 6vw, 4rem);
    border-bottom: 1px solid var(--js-border);
}
.js-section--alt { background: var(--js-bg-alt); }

.js-section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 2rem; flex-wrap: wrap;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--js-border);
    margin-bottom: 3.5rem;
}
.js-section-label {
    font-family: var(--js-mono); font-size: 0.62rem;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--js-red); margin-bottom: 0.45rem;
}
.js-section-title {
    font-family: var(--js-display);
    font-size: clamp(3rem, 7.5vw, 6.5rem);
    line-height: 0.88; letter-spacing: 0.02em;
    color: var(--js-text);
}
.js-section-num {
    font-family: var(--js-display); font-size: 0.72rem;
    letter-spacing: 0.18em; color: var(--js-text-dim);
}

/* ══════════════════════════════════════════════════════
   BIO
══════════════════════════════════════════════════════ */
.js-bio { display: grid; grid-template-columns: 300px 1fr; gap: 5rem; align-items: start; }

.js-bio__card {
    background: var(--js-bg-card);
    border: 1px solid var(--js-border);
}
.js-bio__card-top {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.75rem 1.5rem;
    border-bottom: 1px solid var(--js-border);
}
.js-bio__avatar {
    width: 56px; height: 56px;
    background: var(--js-red); flex-shrink: 0;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
    font-family: var(--js-display); font-size: 1.5rem; color: #fff;
}
.js-bio__avatar img { width: 100%; height: 100%; object-fit: cover; }
.js-bio__alias {
    font-family: var(--js-display); font-size: 1.45rem; line-height: 1;
    color: var(--js-text);
}
.js-bio__real {
    font-family: var(--js-mono); font-size: 0.6rem;
    color: var(--js-text-dim); margin-top: 0.2rem;
    letter-spacing: 0.08em;
}
.js-bio__row {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--js-mono); font-size: 0.68rem;
    padding: 0.7rem 1.5rem;
    border-bottom: 1px solid var(--js-border);
}
.js-bio__row:last-child { border-bottom: none; }
.js-bio__row-key { color: var(--js-text-dim); letter-spacing: 0.08em; }
.js-bio__row-val { color: var(--js-text); text-align: right; }
.js-bio__row-val--red { color: var(--js-red); }

.js-bio__text { display: flex; flex-direction: column; gap: 1.1rem; }
.js-bio__text p {
    font-family: var(--font-sans); font-size: 0.92rem; line-height: 1.85;
    color: var(--js-text-mid); font-weight: 300;
}
.js-bio__text p strong { color: var(--js-text); font-weight: 500; }

.js-award {
    display: flex; align-items: flex-start; gap: 1rem;
    border: 1px solid rgba(232,38,26,0.25);
    background: rgba(232,38,26,0.04);
    padding: 1.25rem 1.5rem;
    margin-top: 0.5rem;
}
.js-award__icon { color: var(--js-red); font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.js-award__label {
    font-family: var(--js-mono); font-size: 0.65rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--js-red); margin-bottom: 0.3rem;
}
.js-award__body {
    font-family: var(--js-mono); font-size: 0.68rem;
    color: var(--js-text-mid); line-height: 1.65;
}

/* ══════════════════════════════════════════════════════
   DISCOGRAPHY
══════════════════════════════════════════════════════ */
.js-disco {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1px;
    background: var(--js-border);
    border: 1px solid var(--js-border);
}
.js-record {
    background: var(--js-bg-card);
    transition: background 0.22s;
}
.js-record:hover { background: #181818; }

.js-record__art {
    aspect-ratio: 1; position: relative;
    background: #1a1a1a;
    border-bottom: 1px solid var(--js-border);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.js-record__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.js-record__initial {
    font-family: var(--js-display); font-size: 5.5rem; line-height: 1;
    color: rgba(255,255,255,0.05);
}
.js-record__initial--red { color: rgba(232,38,26,0.12); }
.js-record__type {
    position: absolute; top: 0.75rem; left: 0.75rem;
    font-family: var(--js-mono); font-size: 0.58rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--js-red);
    background: rgba(8,8,8,0.75);
    padding: 0.25rem 0.6rem;
}
.js-record__body { padding: 1.1rem 1.35rem; }
.js-record__title {
    font-family: var(--js-display); font-size: 1.25rem;
    letter-spacing: 0.04em; color: var(--js-text);
    line-height: 1.1; margin-bottom: 0.35rem;
}
.js-record__meta {
    font-family: var(--js-mono); font-size: 0.62rem;
    color: var(--js-text-dim); letter-spacing: 0.06em;
}
.js-record__meta em { color: var(--js-red); font-style: normal; }

/* Streaming strip */
.js-stream {
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
    margin-top: 1.5rem;
    border: 1px solid var(--js-border);
    background: var(--js-bg-card);
    padding: 1.5rem 2rem;
}
.js-stream__icon { color: var(--js-red); font-size: 1.75rem; flex-shrink: 0; }
.js-stream__label {
    font-family: var(--js-mono); font-size: 0.65rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--js-text-mid); margin-bottom: 0.2rem;
}
.js-stream__name {
    font-family: var(--js-display); font-size: 1.05rem;
    color: var(--js-text); letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════ */
.js-services {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--js-border);
    border: 1px solid var(--js-border);
}
.js-service {
    background: var(--js-bg-card); padding: 2.5rem 2rem;
    transition: background 0.22s;
}
.js-service:hover { background: #181818; }
.js-service__num {
    font-family: var(--js-display); font-size: 3rem; line-height: 1;
    color: var(--js-text-dim); margin-bottom: 1.5rem;
}
.js-service__title {
    font-family: var(--js-display); font-size: 1.55rem;
    letter-spacing: 0.04em; color: var(--js-text); margin-bottom: 0.75rem;
}
.js-service__desc {
    font-family: var(--js-mono); font-size: 0.68rem;
    line-height: 1.85; color: var(--js-text-mid);
}
.js-service__tag {
    display: inline-block; margin-top: 1.25rem;
    font-family: var(--js-mono); font-size: 0.6rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--js-red);
    border: 1px solid rgba(232,38,26,0.3);
    padding: 0.28rem 0.65rem;
}

/* ══════════════════════════════════════════════════════
   CTA
══════════════════════════════════════════════════════ */
.js-cta {
    padding: 7rem clamp(1.5rem, 6vw, 4rem);
    text-align: center;
}
.js-cta__pre {
    font-family: var(--js-mono); font-size: 0.65rem;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--js-text-dim); margin-bottom: 1.25rem;
}
.js-cta__headline {
    font-family: var(--js-display);
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 0.86; letter-spacing: 0.01em;
    color: var(--js-text); margin-bottom: 1rem;
}
.js-cta__headline em { color: var(--js-red); font-style: normal; }
.js-cta__sub {
    font-family: var(--js-mono); font-size: 0.74rem;
    line-height: 1.85; color: var(--js-text-mid);
    max-width: 42ch; margin: 0 auto 3rem;
}
.js-cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .js-hero__inner { grid-template-columns: 1fr; }
    .js-hero__stats { flex-direction: row; flex-wrap: wrap; }
    .js-stat { flex: 1 1 110px; text-align: left; }
    .js-bio { grid-template-columns: 1fr; gap: 2.5rem; }
    .js-services { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .js-disco { grid-template-columns: 1fr 1fr; }
    .js-section { padding: 4rem 1.5rem; }
    .js-cta { padding: 5rem 1.5rem; }
    .js-hero__name { letter-spacing: 0; }
}

.mn-portfolio-card__lightbox-trigger {
    display: block;
    position: relative;
    overflow: hidden;
}

.mn-portfolio-card__zoom {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .75rem;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--clr-accent);
}

.mn-portfolio-card__ext-link {
    display: block;
    padding: .5rem 1rem;
    font-size: .75rem;
    text-align: center;
    color: var(--clr-text-muted);
    text-decoration: none;
    border-top: 1px solid rgba(255,255,255,.06);
    transition: color .2s;
}

.mn-portfolio-card__ext-link:hover {
    color: var(--clr-accent);
}

/* ── Just Slick pages: bridge bar always dark ── */
.js-world .js-bridge {
    background: #121212;
    border-bottom-color: rgba(255,255,255,0.07);
}
.js-world .js-bridge__label,
.js-world .js-bridge__sep { color: #3e3e3c; background: rgba(255,255,255,0.13); }