/* ============================================================
   MORTOTI.ME — MAIN STYLESHEET
   Design: Product-launch personal brand
   Colors: #FFFFFF / #F5F5F5 / #0D0D0D / #2B2DCA / #555555
   Fonts: Azonix (display) + Montserrat (body)
   ============================================================ */

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

:root {
    --white: #FFFFFF;
    --light: #F5F5F5;
    --dark: #0D0D0D;
    --accent: #2B2DCA;
    --accent-dark: #1f21a0;
    --accent-light: rgba(43, 45, 202, 0.08);
    --text: #0D0D0D;
    --text-muted: #555555;
    --text-light: #888888;
    --border: #E8E8E8;
    --font-display: 'Azonix', 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --radius: 4px;
    --radius-lg: 12px;
    --radius-full: 50px;
    --shadow: 0 8px 40px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 1px 0 var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }

.logo-text {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--dark);
    letter-spacing: 0.05em;
}

.nav-pill-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--light);
    border-radius: var(--radius-full);
    padding: 4px;
    border: 1px solid var(--border);
}

.nav-link {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.nav-link:hover { color: var(--dark); background: var(--white); }

.nav-link.active {
    color: var(--white);
    background: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav-social {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.nav-social:hover { color: var(--accent); }

.nav-cta {
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 9px 22px;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(43,45,202,0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 2001;
    position: relative;
    border-radius: var(--radius);
    transition: var(--transition);
}

.hamburger:hover { background: var(--light); }

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   MOBILE BOTTOM SHEET NAV
   ============================================================ */
.nav-sheet-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1998;
}

.nav-sheet-overlay.open {
    display: block;
}

.nav-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    z-index: 1999;
    padding: 0 0 40px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.nav-sheet.open {
    transform: translateY(0);
}

.nav-sheet-handle {
    width: 40px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 12px auto 0;
}

.nav-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
}

.nav-sheet-logo {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--dark);
    letter-spacing: 0.05em;
}

.nav-sheet-close {
    background: var(--light);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-sheet-close:hover { background: var(--border); color: var(--dark); }

.nav-sheet-links { padding: 8px 0; }

.nav-sheet-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.nav-sheet-link:hover {
    color: var(--dark);
    background: var(--light);
}

.nav-sheet-link.active {
    color: var(--accent);
    background: var(--accent-light);
    border-left-color: var(--accent);
}

.nav-sheet-link-num {
    font-size: 10px;
    font-weight: 700;
    color: var(--border);
    letter-spacing: 0.1em;
    width: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.nav-sheet-link.active .nav-sheet-link-num,
.nav-sheet-link:hover .nav-sheet-link-num { color: var(--accent); }

.nav-sheet-footer {
    padding: 16px 24px 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}

.nav-sheet-cta {
    background: var(--accent);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.nav-sheet-cta:hover { background: var(--accent-dark); }

.nav-sheet-socials { display: flex; gap: 12px; }

.nav-sheet-socials a {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.nav-sheet-socials a:hover { color: var(--accent); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    min-height: 100vh;
    background: var(--white);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.hero-dots {
    position: absolute;
    right: 40px;
    top: 120px;
    width: 180px;
    height: 180px;
    background-image: radial-gradient(circle, #2B2DCA 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    opacity: 0.15;
    pointer-events: none;
}

.hero-dots-2 {
    position: absolute;
    left: 20px;
    bottom: 120px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, #2B2DCA 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    opacity: 0.1;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(43,45,202,0.12);
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-1 { width: 60px; height: 60px; top: 15%; right: 48%; animation-delay: 0s; }
.hero-shape-2 { width: 30px; height: 30px; top: 25%; right: 42%; animation-delay: 1s; }
.hero-shape-3 { width: 80px; height: 80px; bottom: 20%; left: 45%; animation-delay: 2s; border-style: dashed; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.hero-content { position: relative; z-index: 2; }

.hero-hello {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.05;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    font-family: var(--font-body);
}

.hero-title-role {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--accent);
    display: block;
    line-height: 1.4;
    letter-spacing: 0.02em;
    margin-top: 6px;
    font-weight: normal;
}

.hero-bio {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 420px;
    margin-top: 16px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.hero-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(43,45,202,0.3);
}

.hero-btn svg { transition: transform 0.3s; }
.hero-btn:hover svg { transform: translateX(4px); }

.hero-scroll-hint {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.hero-scroll-hint span {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

.hero-photo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 2;
    height: 520px;
}

.hero-photo-bg-circle {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 440px;
    height: 440px;
    background: var(--accent);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.06;
}

.hero-photo-frame {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
    height: 460px;
    border-radius: 180px 180px 0 0;
    background: var(--light);
    z-index: 1;
}

.hero-photo {
    position: relative;
    z-index: 2;
    width: 340px;
    height: 460px;
    object-fit: cover;
    object-position: top center;
    border-radius: 160px 160px 0 0;
    display: block;
}

.hero-photo-placeholder {
    position: relative;
    z-index: 2;
    width: 340px;
    height: 460px;
    background: var(--light);
    border-radius: 160px 160px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.1em;
}

.wave-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 3;
}

.wave-divider svg { display: block; width: 100%; }

/* ============================================================
   PAGE HERO — dedicated pages
   ============================================================ */
.page-hero-title {
    font-family: var(--font-display);
    font-size: 52px;
    color: var(--accent);
    line-height: 1.1;
    margin-top: 8px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
    background: var(--light);
    padding: 120px 0 100px;
    position: relative;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-photo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-photo-bg {
    position: absolute;
    top: 40px;
    left: 40px;
    right: -20px;
    bottom: -20px;
    background: var(--accent);
    border-radius: var(--radius-lg);
    opacity: 0.08;
    z-index: 0;
}

.about-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    height: 460px;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-photo-placeholder {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    height: 460px;
    background: #e0e0e0;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #aaa;
    letter-spacing: 0.1em;
}

.about-stat {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow);
    z-index: 2;
    text-align: center;
    animation: float 5s ease-in-out infinite;
}

.about-stat-1 { top: 10%; left: -20px; animation-delay: 0s; }
.about-stat-2 { bottom: 20%; left: -30px; animation-delay: 1.5s; }
.about-stat-3 { top: 40%; right: -20px; animation-delay: 0.8s; }

.about-stat-num {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--accent);
    line-height: 1;
    display: block;
}

.about-stat-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
    white-space: nowrap;
}

.about-content {}

.section-sublabel {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 24px;
    line-height: 1.1;
}

.about-story {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 28px;
}

.about-contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.about-contact-label {
    font-weight: 700;
    color: var(--dark);
    min-width: 60px;
}

.about-contact-val { color: var(--accent); }

.about-btns {
    display: flex;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(43,45,202,0.25);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: var(--radius-full);
    border: 2px solid var(--dark);
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================================
   FEATURED PROJECTS
   ============================================================ */
.featured {
    background: var(--white);
    padding: 100px 0;
    position: relative;
}

.featured-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-sublabel { justify-content: center; display: block; }

.section-heading {
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--accent);
    margin-top: 8px;
}

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

.feat-card {
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feat-card.featured-card {
    background: var(--accent);
    color: var(--white);
}

.feat-card.plain-card {
    background: var(--white);
    border: 1.5px solid var(--border);
}

.feat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feat-card-count {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0.6;
}

.feat-card.featured-card .feat-card-count { color: rgba(255,255,255,0.7); }
.feat-card.plain-card .feat-card-count { color: var(--accent); }

.feat-card-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.feat-card.featured-card .feat-card-cat { color: rgba(255,255,255,0.8); }
.feat-card.plain-card .feat-card-cat { color: var(--text-muted); }

.feat-card-title {
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.feat-card.featured-card .feat-card-title { color: var(--white); }
.feat-card.plain-card .feat-card-title { color: var(--dark); }

.feat-card-desc {
    font-size: 13px;
    line-height: 1.75;
}

.feat-card.featured-card .feat-card-desc { color: rgba(255,255,255,0.75); }
.feat-card.plain-card .feat-card-desc { color: var(--text-muted); }

.feat-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: gap 0.2s;
}

.feat-card.featured-card .feat-card-link { color: var(--white); }
.feat-card.plain-card .feat-card-link { color: var(--accent); }
.feat-card-link:hover { gap: 10px; }

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */
.portfolio {
    background: var(--light);
    padding: 100px 0;
    position: relative;
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.portfolio-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    font-size: 12px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.03em;
    text-decoration: none;
    display: inline-block;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

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

.port-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.port-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.port-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #e8e8e8;
    display: block;
}

.port-card-img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e8e8e8, #d5d5d5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #bbb;
    letter-spacing: 0.1em;
}

.port-card-body { padding: 20px; }

.port-card-cat {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.port-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.port-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.port-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.port-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 10px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: var(--radius-full);
    letter-spacing: 0.04em;
}

/* ============================================================
   SKILLS SNAPSHOT
   ============================================================ */
.skills-snap {
    background: var(--white);
    padding: 100px 0;
}

.skills-snap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.skill-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
    border: 1.5px solid transparent;
}

.skill-card:hover {
    border-color: var(--accent);
    background: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.skill-card-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.skill-card-cat {
    font-size: 10px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.skill-card-bar {
    width: 100%;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.skill-card-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ============================================================
   GENERIC RESPONSIVE GRIDS
   ============================================================ */
.responsive-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.responsive-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ============================================================
   PROJECT DETAIL
   ============================================================ */
.project-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.project-detail-sidebar {
    position: sticky;
    top: 100px;
}

/* ============================================================
   ACHIEVEMENTS
   ============================================================ */
.ach-highlight {
    background: var(--light);
    padding: 100px 0;
}

.ach-highlight-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.ach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.ach-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    border: 1.5px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.ach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent);
    transition: height 0.4s ease;
}

.ach-card:hover::before { height: 100%; }

.ach-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.ach-card-year {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ach-card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.ach-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
    background: var(--accent);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-strip::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.cta-strip-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-strip-title {
    font-family: var(--font-display);
    font-size: 38px;
    color: var(--white);
    line-height: 1.15;
}

.cta-strip-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 10px;
    max-width: 480px;
    line-height: 1.7;
}

.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--light);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--dark);
    transition: border-color 0.2s;
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent);
    background: var(--white);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-body);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.form-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(43,45,202,0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--dark);
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    max-width: 340px;
    line-height: 1.7;
}

.footer-links-group {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(255,255,255,0.25);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-photo-wrap {
        display: flex;
        justify-content: center;
        order: -1;
        height: 380px;
    }

    .hero-photo,
    .hero-photo-placeholder {
        width: 260px;
        height: 340px;
        border-radius: 130px 130px 0 0;
    }

    .hero-photo-frame {
        width: 280px;
        height: 340px;
        border-radius: 140px 140px 0 0;
    }

    .hero-photo-bg-circle { width: 300px; height: 300px; }
    .hero-bio { max-width: 100%; }
    .hero-scroll-hint { align-items: center; }
    .hero-btn { margin: 0 auto; }

    .about-container { grid-template-columns: 1fr; gap: 40px; }

    .about-photo-wrap {
        display: flex;
        justify-content: center;
        margin: 0 auto;
        max-width: 400px;
        width: 100%;
    }

    .about-photo,
    .about-photo-placeholder {
        max-width: 100%;
        height: 360px;
        width: 100%;
    }

    .about-stat-1 { left: -10px; }
    .about-stat-2 { left: -10px; }
    .about-stat-3 { right: -10px; }

    .featured-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .ach-grid { grid-template-columns: repeat(2, 1fr); }
    .responsive-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .responsive-grid-2 { grid-template-columns: 1fr; }
    .project-detail-grid { grid-template-columns: 1fr; }
    .project-detail-sidebar { position: relative; top: auto; }

    .cta-strip-container { flex-direction: column; text-align: center; }
    .contact-container { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    /* ── Nav ── */
    .nav-pill-wrap { display: none !important; }
    .nav-right { display: none; }
    .hamburger { display: flex; }
    .nav-container { padding: 0 20px; }

    /* ── Page hero ── */
    .page-hero-title { font-size: 32px; }

    /* ── Hero ── */
    .hero { padding-top: 100px; padding-bottom: 60px; }
    .hero-container { padding: 0 20px; }
    .hero-photo-wrap { display: flex; height: 340px; }

    .hero-photo,
    .hero-photo-placeholder {
        width: 220px;
        height: 300px;
        border-radius: 110px 110px 0 0;
    }

    .hero-photo-frame {
        width: 240px;
        height: 300px;
        border-radius: 120px 120px 0 0;
    }

    .hero-title { font-size: 32px; }
    .hero-title-role { font-size: 15px; }
    .section-title { font-size: 28px; }
    .section-heading { font-size: 30px; }
    .cta-strip-title { font-size: 28px; }

    /* ── About ── */
    .about-photo-wrap { display: flex; width: 100%; max-width: 100%; }
    .about-photo,
    .about-photo-placeholder { height: 300px; width: 100%; max-width: 100%; }
    .about-stat { display: none; }
    .about-btns { flex-direction: column; }

    /* ── Grids ── */
    .portfolio-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .ach-grid { grid-template-columns: 1fr; }
    .featured-grid { grid-template-columns: 1fr; max-width: 100%; }
    .responsive-grid-3 { grid-template-columns: 1fr; }
    .responsive-grid-2 { grid-template-columns: 1fr; }
    .project-detail-grid > div { padding: 0 20px; }
    .project-detail-sidebar { position: relative !important; top: auto !important; }

    /* ── Footer ── */
    .footer-links-group { flex-direction: column; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    /* ── Padding ── */
    .about-container,
    .featured-container,
    .portfolio-container,
    .skills-snap-container,
    .ach-highlight-container,
    .cta-strip-container,
    .contact-container,
    .footer-container { padding: 0 20px; }

    .contact-form-wrap { padding: 28px 20px; }
    .portfolio-filters { gap: 6px; }
    .filter-btn { font-size: 11px; padding: 7px 14px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .hero-title-role { font-size: 13px; }
    .skills-grid { grid-template-columns: 1fr 1fr; }
    .page-hero-title { font-size: 26px; }

    .hero-photo-wrap { height: 300px; }

    .hero-photo,
    .hero-photo-placeholder {
        width: 190px;
        height: 260px;
        border-radius: 95px 95px 0 0;
    }

    .hero-photo-frame {
        width: 210px;
        height: 260px;
        border-radius: 105px 105px 0 0;
    }
}