/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #080b12;
    color: #f3f5f8;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
a {
    font: inherit;
}

button {
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
h1,
h2,
h3,
h4 {
    margin-top: 0;
}


/* =========================================================
   CSS VARIABLES
========================================================= */

:root {
    --bg: #080b12;
    --bg-soft: #0b0f17;
    --bg-card: rgba(17, 22, 32, 0.72);
    --surface: #10151f;
    --surface-light: #151b27;
    --border: rgba(255, 255, 255, 0.09);
    --border-light: rgba(255, 255, 255, 0.14);
    --text: #f3f5f8;
    --text-secondary: #a6adba;
    --text-muted: #6f7887;
    --accent: #73a9ff;
    --accent-soft: #527ed1;
    --purple: #9475ff;
    --max-width: 1200px;
    --nav-height: 76px;
    --radius-small: 10px;
    --radius-medium: 18px;
    --radius-large: 28px;
    --transition-fast: 180ms ease;
    --transition: 300ms ease;
    --transition-slow: 700ms cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================================
   GLOBAL BACKGROUND
========================================================= */

.page-background {
    position: fixed;
    inset: 0;
    z-index: -10;
    pointer-events: none;
    overflow: hidden;
    background: var(--bg);
}

.background-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient( rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient( 90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient( to bottom, black 0%, rgba(0, 0, 0, 0.55) 35%, transparent 100%);
}

.background-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
}

.background-glow-one {
    top: -250px;
    right: -200px;
    background: #3977dc;
}

.background-glow-two {
    top: 35%;
    left: -350px;
    background: #7049db;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(var(--max-width), 92%);
    margin: 0 auto;
}


/* =========================================================
   SECTION
========================================================= */

.section {
    position: relative;
    width: 100%;
    padding: clamp(90px, 10vw, 150px) 0;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
    background: rgba(8, 11, 18, 0.78);
    border-bottom-color: var(--border);
    backdrop-filter: blur(20px);
}

.nav-container {
    width: min(1380px, 94%);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    flex-shrink: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: linear-gradient( 145deg, rgba(115, 169, 255, 0.16), rgba(148, 117, 255, 0.05));
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    transition: var(--transition);
}

.brand:hover .brand-mark {
    border-color: rgba(115, 169, 255, 0.45);
    transform: translateY(-2px);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.4vw, 38px);
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-social {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    transition: var(--transition);
}

.nav-social:hover {
    color: var(--text);
    border-color: var(--border-light);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    margin: 6px 0;
    background: var(--text);
    transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
    display: none;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-height) + 50px);
    padding-bottom: 70px;
}

.hero-container {
    min-height: calc(100vh - var(--nav-height));
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: clamp(40px, 7vw, 110px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border: 1px solid rgba(115, 169, 255, 0.16);
    border-radius: 999px;
    background: rgba(115, 169, 255, 0.045);
    color: #a9c8ff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.status-dot {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6dd69b;
    box-shadow: 0 0 12px rgba(109, 214, 155, 0.65);
}

.status-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(109, 214, 155, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-eyebrow {
    margin: 34px 0 13px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.24em;
}

.hero-title {
    max-width: 850px;
    margin-bottom: 22px;
    color: var(--text);
    font-size: clamp(3rem, 5.2vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
    font-weight: 600;
}

.hero-title span {
    display: block;
    background: linear-gradient( 100deg, #ffffff 10%, #a9b8d2 48%, #729ef1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-role {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
}

.hero-role strong {
    color: var(--text);
    font-weight: 650;
}

.hero-description {
    max-width: 650px;
    margin-bottom: 34px;
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 55px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 21px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.button-primary {
    background: var(--text);
    color: #080b12;
}

.button-primary:hover {
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.button-arrow {
    font-size: 1rem;
}

.button-secondary {
    border: 1px solid var(--border-light);
    color: var(--text);
    background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover {
    transform: translateY(-3px);
    border-color: rgba(115, 169, 255, 0.4);
    background: rgba(115, 169, 255, 0.06);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
}

.hero-meta>div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    color: var(--text-muted);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-meta strong {
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;
    min-height: 600px;
    display: grid;
    place-items: center;
}

.profile-card {
    position: relative;
    width: min(430px, 80%);
    aspect-ratio: 0.82;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-light);
    border-radius: 35% 35% 35% 35% / 26% 26% 26% 26%;
    background: linear-gradient( 145deg, rgba(30, 39, 55, 0.8), rgba(10, 14, 23, 0.88));
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.05);
    transform: rotate(1.5deg);
    overflow: visible;
}

.profile-card::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: inherit;
    pointer-events: none;
}

.profile-image-wrapper {
    position: relative;
    width: 78%;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    isolation: isolate;
    transform: rotate(-1.5deg);
}

.profile-image-wrapper::before {
    content: "";
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: linear-gradient( 135deg, rgba(115, 169, 255, 0.35), rgba(148, 117, 255, 0.08), transparent 70%);
    filter: blur(15px);
    z-index: -1;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 50px rgba(82, 126, 209, 0.12);
}

.profile-ring {
    margin-left: 6%;
    position: absolute;
    inset: -23px;
    border: 1px solid rgba(115, 169, 255, 0.17);
    border-radius: 50%;
    border-right-color: rgba(148, 117, 255, 0.55);
    animation: rotateSlow 18s linear infinite;
}

.profile-ring::after {
    content: "";
    position: absolute;
    top: 12%;
    right: 7%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 15px rgba(115, 169, 255, 0.9);
}

.profile-decoration {
    position: absolute;
    border: 1px solid rgba(115, 169, 255, 0.12);
    pointer-events: none;
}

.decoration-one {
    width: 80px;
    height: 80px;
    top: 9%;
    left: 3%;
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
}

.decoration-two {
    width: 42px;
    height: 42px;
    right: 2%;
    bottom: 16%;
    border-radius: 50%;
    background: rgba(148, 117, 255, 0.08);
    animation: float 6s ease-in-out infinite reverse;
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(115, 169, 255, 0.07);
    border-radius: 50%;
}

.orbit-one {
    width: 550px;
    height: 550px;
    animation: rotateSlow 30s linear infinite;
}

.orbit-two {
    width: 680px;
    height: 680px;
    border-color: rgba(148, 117, 255, 0.045);
    animation: rotateSlow 45s linear infinite reverse;
}

.profile-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 15px;
    border: 1px solid var(--border-light);
    border-radius: 13px;
    background: rgba(13, 18, 28, 0.82);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(15px);
    transform: rotate(-1.5deg);
    z-index: 3;
}

.profile-location {
    top: 16%;
    right: -12%;
}

.profile-stack {
    bottom: 17%;
    left: -12%;
}

.floating-icon {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 8px;
    background: rgba(115, 169, 255, 0.1);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 800;
}

.profile-floating-card div {
    display: flex;
    flex-direction: column;
}

.profile-floating-card span:not(.floating-icon) {
    color: var(--text-muted);
    font-size: 0.58rem;
}

.profile-floating-card strong {
    color: var(--text-secondary);
    font-size: 0.72rem;
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 27px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    transition: color var(--transition);
}

.scroll-indicator:hover {
    color: var(--text-secondary);
}

.scroll-line {
    position: relative;
    width: 1px;
    height: 38px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.scroll-line::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--accent);
    animation: scrollDown 2s ease-in-out infinite;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 70px;
}

.section-number {
    color: var(--accent);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.section-kicker {
    margin-bottom: 9px;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.section-heading h2 {
    margin-bottom: 0;
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.section-description {
    max-width: 500px;
    margin: 22px 0 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}


/* =========================================================
   ABOUT
========================================================= */

.about-section {
    border-top: 1px solid rgba(255, 255, 255, 0.035);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: clamp(50px, 9vw, 130px);
}

.about-main {
    max-width: 760px;
}

.about-main .large-text {
    margin-bottom: 28px;
    color: var(--text);
    font-size: clamp(1.25rem, 2.1vw, 1.7rem);
    line-height: 1.55;
    letter-spacing: -0.02em;
}

.about-main p:not(.large-text) {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.9;
}

.professional-info {
    border-top: 1px solid var(--border);
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.info-label {
    color: var(--text-muted);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.info-value {
    color: var(--text-secondary);
    font-size: 0.86rem;
    font-weight: 600;
}


/* =========================================================
   SKILLS
========================================================= */

.skills-section {
    background: linear-gradient( 180deg, transparent, rgba(255, 255, 255, 0.012));
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.skill-card {
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background: linear-gradient( 145deg, rgba(19, 25, 36, 0.8), rgba(11, 15, 23, 0.8));
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: rgba(115, 169, 255, 0.25);
    background: linear-gradient( 145deg, rgba(25, 33, 47, 0.88), rgba(12, 17, 26, 0.88));
}

.skill-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 45px;
}

.skill-index {
    color: var(--text-muted);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.skill-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(115, 169, 255, 0.055);
    color: var(--accent);
    font-size: 0.62rem;
    font-weight: 800;
}

.skill-card h3 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.skill-card p {
    min-height: 110px;
    margin-bottom: 23px;
    color: var(--text-secondary);
    font-size: 0.79rem;
    line-height: 1.75;
}

.skill-tags,
.project-tags,
.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tags span,
.project-tags span,
.experience-tags span {
    padding: 6px 9px;
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--text-muted);
    font-size: 0.59rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.02);
}


/* =========================================================
   PROJECTS
========================================================= */

.projects-section {
    overflow: hidden;
}

.heading-topline {
    display: flex;
    align-items: center;
    gap: 23px;
}

.projects-heading {
    margin-bottom: 55px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.project-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    background: #0c1119;
    transition: transform var(--transition), border-color var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(115, 169, 255, 0.26);
}

.project-visual {
    position: relative;
    min-height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
    overflow: hidden;
    background: radial-gradient( circle at 50% 50%, rgba(73, 110, 177, 0.13), transparent 60%);
}

.project-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient( rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient( 90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.5;
}

.project-number {
    position: absolute;
    top: 19px;
    left: 21px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.mockup-window {
    position: relative;
    width: 88%;
    min-height: 175px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: #0f141d;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35), 0 0 40px rgba(82, 126, 209, 0.08);
    overflow: hidden;
    transform: perspective(900px) rotateX(3deg) rotateY(-2deg);
    transition: transform var(--transition);
}

.project-card:hover .mockup-window {
    transform: perspective(900px) rotateX(0deg) rotateY(0deg) translateY(-3px);
}

.mockup-header {
    height: 25px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-header span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.invoice-mockup {
    padding: 17px;
}

.mockup-title {
    margin-bottom: 13px;
    color: #d8dee8;
    font-size: 0.57rem;
    font-weight: 700;
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-bottom: 12px;
}

.mockup-stats div {
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.02);
}

.mockup-stats span {
    display: block;
    margin-bottom: 3px;
    color: #6d7684;
    font-size: 0.42rem;
}

.mockup-stats strong {
    color: #b7c9e8;
    font-size: 0.68rem;
}

.mockup-table {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.7fr 0.4fr;
    gap: 5px;
    margin-top: 6px;
}

.mockup-table span {
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.07);
}

.vendor-mockup {
    display: grid;
    grid-template-columns: 35px 1fr;
    height: 150px;
}

.vendor-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.vendor-sidebar span {
    width: 13px;
    height: 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
}

.vendor-sidebar .sidebar-active {
    background: rgba(115, 169, 255, 0.65);
}

.vendor-content {
    padding: 18px;
}

.vendor-heading {
    margin-bottom: 14px;
    color: #d8dee8;
    font-size: 0.57rem;
    font-weight: 700;
}

.vendor-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.vendor-boxes div {
    height: 33px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.025);
}

.vendor-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.vendor-list span {
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.07);
}

.vendor-list span:nth-child(2) {
    width: 85%;
}

.vendor-list span:nth-child(3) {
    width: 70%;
}

.vendor-list span:nth-child(4) {
    width: 92%;
}

.document-mockup {
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.document-icon {
    width: 44px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border: 1px solid rgba(115, 169, 255, 0.18);
    border-radius: 6px;
    color: #82aef5;
    font-size: 0.55rem;
    font-weight: 800;
    background: rgba(115, 169, 255, 0.06);
}

.document-lines {
    width: 65%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.document-lines span {
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.07);
}

.document-lines span:nth-child(2) {
    width: 85%;
}

.document-lines span:nth-child(3) {
    width: 92%;
}

.document-lines span:nth-child(4) {
    width: 60%;
}

.document-lines span:nth-child(5) {
    width: 76%;
}

.document-status {
    margin-top: 10px;
    color: #6cce9a;
    font-size: 0.42rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.project-content {
    padding: 28px 27px 30px;
}

.project-meta {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.project-content h3 {
    min-height: 54px;
    margin-bottom: 14px;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.35;
    letter-spacing: -0.025em;
}

.project-content p {
    min-height: 125px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.75;
}

.project-tags {
    min-height: 65px;
    margin-bottom: 25px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: transparent;
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: color var(--transition);
}

.project-link span:last-child {
    color: var(--accent);
    transition: transform var(--transition);
}

.project-link:hover {
    color: var(--accent);
}

.project-link:hover span:last-child {
    transform: translate(3px, -3px);
}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience-section {
    background: linear-gradient( 180deg, rgba(255, 255, 255, 0.01), transparent);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 145px;
    width: 1px;
    background: linear-gradient( to bottom, transparent, var(--border-light) 8%, var(--border-light) 92%, transparent);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 50px;
    padding-bottom: 85px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 140px;
    top: 2px;
    width: 11px;
    height: 11px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(115, 169, 255, 0.4);
    border-radius: 50%;
    background: var(--bg);
    z-index: 2;
}

.timeline-marker span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(115, 169, 255, 0.6);
}

.timeline-date {
    padding-top: 0;
    color: var(--text-muted);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

.timeline-content {
    padding-left: 28px;
}

.timeline-type {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.timeline-content h3 {
    margin-bottom: 6px;
    color: var(--text);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    letter-spacing: -0.04em;
}

.timeline-content h4 {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.timeline-content p {
    max-width: 680px;
    margin-bottom: 22px;
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.85;
}


/* =========================================================
   APPROACH
========================================================= */

.approach-section {
    border-top: 1px solid var(--border);
}

.approach-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
    align-items: end;
    gap: 70px;
    margin-bottom: 60px;
}

.approach-intro h2 {
    max-width: 700px;
    margin-bottom: 0;
    color: var(--text);
    font-size: clamp(2rem, 4.5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.approach-intro h2 span {
    display: block;
    color: var(--text-muted);
}

.approach-intro>p {
    max-width: 410px;
    margin-bottom: 3px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.approach-card {
    min-height: 270px;
    padding: 30px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), transform var(--transition);
}

.approach-card:hover {
    background: rgba(255, 255, 255, 0.018);
}

.approach-number {
    display: block;
    margin-bottom: 100px;
    color: var(--accent);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.approach-card h3 {
    margin-bottom: 11px;
    color: var(--text);
    font-size: 1.05rem;
}

.approach-card p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.77rem;
    line-height: 1.75;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding-top: 110px;
}

.contact-wrapper {
    position: relative;
    overflow: hidden;
    padding: clamp(45px, 7vw, 90px);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    background: radial-gradient( circle at 15% 15%, rgba(115, 169, 255, 0.09), transparent 35%), radial-gradient( circle at 85% 90%, rgba(148, 117, 255, 0.07), transparent 35%), rgba(14, 19, 28, 0.8);
}

.contact-glow {
    position: absolute;
    top: -180px;
    right: -180px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(115, 169, 255, 0.07);
    filter: blur(80px);
    pointer-events: none;
}

.contact-heading {
    position: relative;
    max-width: 720px;
    margin-bottom: 60px;
}

.contact-heading h2 {
    margin-bottom: 24px;
    color: var(--text);
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.contact-heading h2 span {
    display: block;
    color: var(--text-muted);
}

.contact-heading>p:last-child {
    max-width: 570px;
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.contact-card {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.025);
    transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(115, 169, 255, 0.3);
    background: rgba(255, 255, 255, 0.045);
}

.contact-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 11px;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 800;
}

.contact-card-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-card-content span {
    color: var(--text-muted);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-card-content strong {
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 0.73rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-arrow {
    margin-left: auto;
    color: var(--text-muted);
    transition: transform var(--transition), color var(--transition);
}

.contact-card:hover .contact-arrow {
    color: var(--accent);
    transform: translate(3px, -3px);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    width: 100%;
    padding: 45px 0 30px;
    border-top: 1px solid var(--border);
    background: rgba(5, 8, 13, 0.55);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 35px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-logo {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-light);
    border-radius: 11px;
    color: var(--text);
    font-size: 0.73rem;
    font-weight: 800;
}

.footer-brand>div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-brand strong {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.footer-brand span {
    color: var(--text-muted);
    font-size: 0.64rem;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-socials a {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 0.67rem;
    font-weight: 800;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--text);
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.62rem;
}

.footer-bottom a {
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--text-secondary);
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 800ms ease, transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes pulse {
    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-13px) rotate(45deg);
    }
}

@keyframes scrollDown {
    0% {
        top: -50%;
    }
    100% {
        top: 120%;
    }
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1600px) {
    .container {
        width: min(1320px, 88%);
    }
    .hero-container {
        gap: 130px;
    }
    .profile-card {
        width: 480px;
    }
    .hero-visual {
        min-height: 700px;
    }
}


/* =========================================================
   TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 1100px) {
    .desktop-nav {
        gap: 18px;
    }
    .nav-socials {
        display: none;
    }
    .hero-container {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
        gap: 45px;
    }
    .hero-title {
        font-size: clamp(3rem, 6vw, 4.7rem);
    }
    .hero-visual {
        min-height: 500px;
    }
    .profile-card {
        width: min(360px, 85%);
    }
    .profile-location {
        right: -8%;
    }
    .profile-stack {
        left: -8%;
    }
    .orbit-one {
        width: 440px;
        height: 440px;
    }
    .orbit-two {
        width: 540px;
        height: 540px;
    }
    .skills-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .skill-card p {
        min-height: auto;
    }
    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .project-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 9px);
    }
    .approach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   MOBILE NAV + TABLET
========================================================= */

@media (max-width: 820px) {
     :root {
        --nav-height: 68px;
    }
    .desktop-nav {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .mobile-menu {
        display: block;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: rgba(8, 11, 18, 0.96);
        border-bottom: 1px solid transparent;
        backdrop-filter: blur(20px);
        transition: max-height 450ms ease, border-color 450ms ease;
    }
    .mobile-menu.open {
        max-height: 500px;
        border-bottom-color: var(--border);
    }
    .mobile-menu nav {
        display: flex;
        flex-direction: column;
        padding: 15px 4%;
    }
    .mobile-nav-link {
        padding: 15px 5px;
        border-bottom: 1px solid var(--border);
        color: var(--text-secondary);
        font-size: 0.85rem;
        font-weight: 600;
    }
    .mobile-nav-link:last-child {
        border-bottom: 0;
    }
    .mobile-nav-link:hover {
        color: var(--text);
    }
    .mobile-socials {
        display: flex;
        gap: 10px;
        padding: 5px 4% 20px;
    }
    .mobile-socials a {
        padding: 8px 12px;
        border: 1px solid var(--border);
        border-radius: 8px;
        color: var(--text-muted);
        font-size: 0.65rem;
        font-weight: 700;
    }
    .hero {
        padding-top: calc(var(--nav-height) + 50px);
    }
    .hero-container {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 70px;
    }
    .hero-content {
        order: 2;
        text-align: center;
    }
    .hero-visual {
        order: 1;
        min-height: 460px;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-role {
        justify-content: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-meta {
        justify-content: center;
    }
    .profile-card {
        width: min(360px, 70vw);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .timeline-line {
        left: 5px;
    }
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-left: 30px;
    }
    .timeline-marker {
        left: 0;
    }
    .timeline-date {
        padding-left: 0;
    }
    .timeline-content {
        padding-left: 0;
    }
    .approach-intro {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .contact-wrapper {
        border-radius: 24px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
    .container {
        width: min(92%, 520px);
    }
    .section {
        padding: 80px 0;
    }
    .section-heading {
        margin-bottom: 45px;
        gap: 15px;
    }
    .section-heading h2 {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
    }
    .section-number {
        padding-top: 3px;
    }
    .hero {
        min-height: auto;
        padding-top: 105px;
        padding-bottom: 80px;
    }
    .hero-container {
        gap: 55px;
    }
    .hero-visual {
        min-height: 330px;
    }
    .profile-card {
        width: min(285px, 76vw);
    }
    .profile-floating-card {
        padding: 9px 11px;
    }
    .profile-location {
        top: 10%;
        right: -4%;
    }
    .profile-stack {
        bottom: 9%;
        left: -4%;
    }
    .floating-icon {
        width: 25px;
        height: 25px;
    }
    .profile-floating-card span:not(.floating-icon) {
        font-size: 0.5rem;
    }
    .profile-floating-card strong {
        font-size: 0.62rem;
    }
    .orbit-one {
        width: 320px;
        height: 320px;
    }
    .orbit-two {
        width: 390px;
        height: 390px;
    }
    .hero-eyebrow {
        margin-top: 26px;
        font-size: 0.62rem;
        letter-spacing: 0.17em;
    }
    .hero-title {
        margin-bottom: 20px;
        font-size: clamp(2.65rem, 14vw, 4rem);
        line-height: 0.98;
    }
    .hero-role {
        font-size: 0.84rem;
    }
    .hero-description {
        font-size: 0.88rem;
        line-height: 1.75;
    }
    .hero-actions {
        width: 100%;
        flex-direction: column;
        margin-bottom: 40px;
    }
    .button {
        width: 100%;
    }
    .hero-meta {
        flex-direction: column;
        gap: 20px;
    }
    .hero-meta>div {
        align-items: center;
    }
    .scroll-indicator {
        display: none;
    }
    .about-main .large-text {
        font-size: 1.2rem;
    }
    .about-main p:not(.large-text) {
        font-size: 0.86rem;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .skill-card {
        padding: 23px;
    }
    .skill-header {
        margin-bottom: 32px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .project-card:last-child {
        grid-column: auto;
        width: auto;
    }
    .project-visual {
        min-height: 235px;
        padding: 25px;
    }
    .project-content {
        padding: 25px 22px 27px;
    }
    .project-content h3 {
        min-height: auto;
    }
    .project-content p {
        min-height: auto;
    }
    .project-tags {
        min-height: auto;
    }
    .timeline-item {
        padding-bottom: 60px;
    }
    .timeline-content h3 {
        font-size: 1.45rem;
    }
    .timeline-content p {
        font-size: 0.8rem;
    }
    .approach-grid {
        grid-template-columns: 1fr;
    }
    .approach-card {
        min-height: 220px;
    }
    .approach-number {
        margin-bottom: 65px;
    }
    .contact-section {
        padding-top: 80px;
    }
    .contact-wrapper {
        padding: 35px 20px;
    }
    .contact-heading {
        margin-bottom: 40px;
    }
    .contact-heading h2 {
        font-size: clamp(2.3rem, 12vw, 3.5rem);
    }
    .contact-heading>p:last-child {
        font-size: 0.84rem;
    }
    .contact-card {
        padding: 14px;
    }
    .contact-card-content strong {
        font-size: 0.68rem;
    }
    .footer {
        padding-top: 35px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
    .footer-brand {
        justify-content: center;
    }
    .footer-bottom {
        grid-column: auto;
        flex-direction: column;
        gap: 13px;
        width: 100%;
        text-align: center;
    }
}


/* =========================================================
   SMALL MOBILE — 480px
========================================================= */

@media (max-width: 480px) {
    .container {
        width: calc(100% - 32px);
    }
    .hero {
        padding-top: 95px;
    }
    .hero-visual {
        min-height: 295px;
    }
    .profile-card {
        width: min(255px, 73vw);
    }
    .profile-location {
        right: -7%;
    }
    .profile-stack {
        left: -7%;
    }
    .profile-floating-card {
        transform: scale(0.9);
    }
    .hero-title {
        font-size: clamp(2.45rem, 13vw, 3.4rem);
    }
    .availability {
        max-width: 100%;
        font-size: 0.55rem;
        letter-spacing: 0.09em;
    }
    .hero-meta strong {
        font-size: 0.72rem;
    }
    .section {
        padding: 70px 0;
    }
    .section-heading {
        margin-bottom: 38px;
    }
    .skill-tags span,
    .project-tags span {
        font-size: 0.55rem;
    }
    .project-visual {
        min-height: 215px;
    }
    .mockup-window {
        width: 95%;
    }
    .timeline-item {
        padding-left: 25px;
    }
    .contact-card-content {
        overflow: hidden;
    }
    .contact-card-content strong {
        max-width: 180px;
    }
}


/* =========================================================
   VERY SMALL DEVICES — 320px
========================================================= */

@media (max-width: 360px) {
    .container {
        width: calc(100% - 26px);
    }
    .nav-container {
        width: calc(100% - 26px);
    }
    .brand-mark {
        width: 39px;
        height: 39px;
    }
    .hero {
        padding-top: 90px;
    }
    .hero-visual {
        min-height: 265px;
    }
    .profile-card {
        width: 220px;
    }
    .profile-location {
        right: -12%;
    }
    .profile-stack {
        left: -12%;
    }
    .profile-floating-card {
        padding: 7px 9px;
        transform: scale(0.78);
    }
    .hero-title {
        font-size: 2.35rem;
    }
    .hero-role {
        font-size: 0.76rem;
    }
    .hero-description {
        font-size: 0.82rem;
    }
    .availability {
        padding: 7px 10px;
        font-size: 0.49rem;
    }
    .section-heading {
        gap: 10px;
    }
    .section-number {
        font-size: 0.56rem;
    }
    .section-kicker {
        font-size: 0.56rem;
    }
    .section-heading h2 {
        font-size: 1.85rem;
    }
    .skill-card {
        padding: 20px;
    }
    .project-content {
        padding: 22px 18px 24px;
    }
    .contact-wrapper {
        padding: 30px 15px;
    }
    .contact-heading h2 {
        font-size: 2.2rem;
    }
    .contact-card {
        gap: 10px;
        padding: 11px;
    }
    .contact-icon {
        width: 37px;
        height: 37px;
    }
    .contact-card-content strong {
        max-width: 145px;
        font-size: 0.61rem;
    }
    .footer-brand strong {
        font-size: 0.68rem;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}


/* =========================================================
   MOBILE OVERFLOW FIX
   ========================================================= */

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    max-width: 100%;
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1200px, 92%);
    max-width: 100%;
    margin-inline: auto;
}


/* Prevent flex/grid children from forcing width */

section,
header,
footer,
main,
nav,
.container,
.hero,
.hero-container,
.hero-content,
.hero-image,
.project-card,
.skills-grid,
.contact-grid {
    min-width: 0;
}


/* Text must be allowed to wrap */

h1,
h2,
h3,
h4,
p,
a,
span {
    overflow-wrap: anywhere;
    word-break: normal;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    .container {
        width: calc(100% - 32px);
        max-width: calc(100% - 32px);
        margin-inline: auto;
    }
    .section {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    /* Hero */
    .hero {
        width: 100%;
        max-width: 100%;
        min-height: 100svh;
        overflow: hidden;
    }
    .hero-container {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-content {
        width: 100%;
        max-width: 100%;
    }
    .hero-image {
        width: min(75vw, 300px);
        max-width: 300px;
        margin-inline: auto;
    }
    .hero-image img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    /* Typography */
    .hero-title {
        max-width: 100%;
        font-size: clamp(2.2rem, 11vw, 4rem);
        line-height: 1.05;
        overflow-wrap: break-word;
    }
    .hero-description {
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.7;
    }
    /* Buttons */
    .hero-actions {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .hero-actions .btn {
        max-width: 100%;
    }
    /* Grid */
    .projects-grid,
    .skills-grid,
    .contact-grid,
    .about-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr);
    }
    /* Cards */
    .project-card,
    .skill-card,
    .contact-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    /* Project mockups / decorative elements */
    .project-card *,
    .hero *,
    .about-section *,
    .experience-section *,
    .contact-section * {
        max-width: 100%;
    }
    /* Timeline */
    .timeline {
        width: 100%;
        max-width: 100%;
    }
    .timeline-item {
        width: 100%;
        max-width: 100%;
    }
    /* Contact */
    .contact-card a {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    /* Footer */
    footer {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {
    .container {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
    }
    .hero {
        min-height: 100svh;
    }
    .hero-title {
        font-size: clamp(2rem, 12vw, 3rem);
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
    }
    .hero-image {
        width: min(70vw, 240px);
        max-width: 240px;
    }
}


/* =========================================================
   VERY SMALL SCREEN — 320px
   ========================================================= */

@media (max-width: 340px) {
    .container {
        width: calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-description {
        font-size: 0.9rem;
    }
    .hero-image {
        width: 210px;
        max-width: 70vw;
    }
}