:root {
    --bg: #f6f9ff;
    --surface: rgba(255, 255, 255, .78);
    --surface-strong: rgba(255, 255, 255, .96);
    --text: #0f172a;
    --muted: #526173;
    --blue: #1267ff;
    --sky: #16a3ff;
    --navy: #0b1736;
    --border: rgba(15, 23, 42, .10);
    --shadow: 0 24px 70px rgba(15, 23, 42, .12);
    --radius: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
    background:
        radial-gradient(circle at 10% 12%, rgba(18, 103, 255, .14), transparent 28%),
        radial-gradient(circle at 92% 8%, rgba(22, 163, 255, .16), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 45%, #ffffff 100%);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}
body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(15, 23, 42, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 80%);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: auto; }

.glass {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    border-radius: var(--radius);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px clamp(18px, 4vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    background: rgba(255, 255, 255, .86);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; color: var(--navy); }
.brand-logo {
    width: 48px;
    height: 48px;
    display: block;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(18, 103, 255, .18);
    box-shadow: 0 12px 30px rgba(18, 103, 255, .18);
    flex: 0 0 48px;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.links { display: flex; gap: 30px; list-style: none; color: #263449; font-weight: 800; font-size: 15px; }
.links a { position: relative; transition: color .25s ease; }
.links a:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--sky));
    border-radius: 999px;
    transition: .3s;
}
.links a:hover { color: var(--blue); }
.links a:hover:after { width: 100%; }
.menu { display: none; background: var(--navy); border: 0; color: white; font-size: 24px; width: 44px; height: 44px; border-radius: 14px; cursor: pointer; }

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    align-items: center;
    gap: 56px;
    padding-top: 104px;
}
.eyebrow { color: var(--blue); letter-spacing: .22em; text-transform: uppercase; font-size: 1rem; font-weight: 900; margin-bottom: 10px; }
.hero h1 {
    font-size: clamp(34px, 5.2vw, 58px);
    line-height: 1.06;
    margin-bottom: 18px;
    letter-spacing: -0.055em;
    color: var(--navy);
}
.hero h1:after {
    content: "";
    display: block;
    width: 88px;
    height: 6px;
    margin-top: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--sky));
}
.typed { color: var(--blue); font-weight: 900; }
.hero p { max-width: 640px; color: var(--muted); font-size: 18px; }
.actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.btn {
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 900;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.72);
    transition: .3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
}
.primary { background: linear-gradient(135deg, var(--blue), var(--sky)); color: white; border: 0; }
.btn:hover { transform: translateY(-5px); box-shadow: 0 18px 35px rgba(18, 103, 255, .20); border-color: rgba(18, 103, 255, .28); }

.social { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.social a {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    color: var(--blue);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    transition: .3s;
}
.social a:hover { background: var(--blue); color: #fff; transform: translateY(-5px) scale(1.04); }
.social svg { width: 21px; height: 21px; fill: currentColor; }

.portrait { padding: 18px; position: relative; background: rgba(255,255,255,.68); }
.portrait:before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(18,103,255,.42), transparent 45%, rgba(22,163,255,.34));
    z-index: -1;
    filter: blur(16px);
    opacity: .88;
}
.portrait:after {
    content: "Available for freelance work";
    position: absolute;
    left: -24px;
    bottom: 34px;
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 900;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--border);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .13);
}
.portrait img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 24px; border: 1px solid rgba(18,103,255,.16); box-shadow: 0 24px 54px rgba(15, 23, 42, .16); }

section { padding: 92px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4.8vw, 52px); line-height: 1.08; letter-spacing: -.045em; color: var(--navy); }
.section-head p { color: var(--muted); max-width: 650px; margin: 12px auto 0; }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; }
.panel { padding: 32px; }
.panel p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.stat { padding: 18px; border-radius: 20px; background: linear-gradient(180deg, rgba(18,103,255,.08), rgba(22,163,255,.05)); text-align: center; border: 1px solid rgba(18,103,255,.10); }
.stat strong { display: block; color: var(--blue); font-size: 34px; line-height: 1.1; }

.skill-categories { display: grid; gap: 16px; margin-top: 18px; }
.skill-category { padding: 18px; border-radius: 22px; background: rgba(255,255,255,.62); border: 1px solid var(--border); transition: .3s; }
.skill-category:hover { transform: translateY(-4px); border-color: rgba(18,103,255,.25); box-shadow: 0 16px 35px rgba(15,23,42,.08); }
.skill-category h4 { color: var(--navy); font-size: 16px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.skill-category .chips { margin-top: 0; }
.chip { padding: 9px 13px; border-radius: 999px; background: rgba(18,103,255,.07); border: 1px solid rgba(18,103,255,.12); color: #16407c; font-weight: 800; font-size: 13px; transition: .25s; }
.chip:hover { background: var(--blue); color: white; transform: translateY(-2px); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { padding: 30px; transition: .35s; min-height: 260px; background: rgba(255,255,255,.72); position: relative; overflow: hidden; }
.card:before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(18,103,255,.08), transparent 48%); opacity: 0; transition: .35s; }
.card:hover:before { opacity: 1; }
.card:hover { transform: translateY(-9px); border-color: rgba(18,103,255,.25); box-shadow: 0 30px 80px rgba(15, 23, 42, .14); }
.icon { font-size: 40px; margin-bottom: 18px; }
.card h3 { font-size: 23px; margin-bottom: 8px; color: var(--navy); position: relative; }
.card p { color: var(--muted); position: relative; }
.status { float: right; color: var(--blue); border: 1px solid rgba(18,103,255,.25); background: rgba(18,103,255,.06); padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 900; text-transform: uppercase; position: relative; }
.project-link { display: block; margin-top: 22px; text-align: center; padding: 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--blue); background: #fff; font-weight: 900; position: relative; transition: .3s; }
.project-link:hover { color: #fff; background: var(--blue); transform: translateY(-3px); }

.contact-box { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; align-items: start; }
.contact-list { margin-top: 18px; color: var(--muted); }
.form { display: grid; gap: 14px; }
.form input, .form textarea { width: 100%; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--border); background: rgba(255,255,255,.9); color: var(--text); font: inherit; outline: none; transition: .25s; }
.form input:focus, .form textarea:focus { border-color: rgba(18,103,255,.45); box-shadow: 0 0 0 5px rgba(18,103,255,.10); }
.form textarea { min-height: 150px; resize: vertical; }
.notice { padding: 15px 18px; border-radius: 16px; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.25); color: #15803d; font-weight: 800; }
footer { padding: 34px; text-align: center; color: var(--muted); border-top: 1px solid var(--border); background: rgba(255,255,255,.72); }

.reveal { opacity: 0; transform: translateY(24px); transition: .7s; }
.reveal.show { opacity: 1; transform: none; }

@media (max-width: 980px) {
    .hero, .about-grid, .contact-box { grid-template-columns: 1fr; }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .portrait { max-width: 430px; margin: 10px auto 0; }
}
@media (max-width: 760px) {
    .nav { padding: 12px 18px; }
    .menu { display: grid; place-items: center; }
    .links { display: none; position: absolute; top: 74px; right: 18px; left: 18px; padding: 22px; flex-direction: column; background: rgba(255,255,255,.96); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); }
    .links.open { display: flex; }
    .hero { padding-top: 128px; min-height: auto; padding-bottom: 56px; }
    .hero h1 { font-size: clamp(32px, 12vw, 46px); }
    .grid, .stats { grid-template-columns: 1fr; }
    .portrait:after { left: 18px; bottom: 24px; }
    section { padding: 72px 0; }
}
@media (max-width: 420px) {
    .brand span:last-child { font-size: 14px; }
    .brand-logo { width: 42px; height: 42px; flex-basis: 42px; }
    .actions .btn { width: 100%; justify-content: center; }
    .panel, .card { padding: 24px; }
}


/* ===== Layout Fix: Hero image size and responsive behaviour ===== */
.hero {
    width: min(1180px, 92%) !important;
    margin: 0 auto !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 430px) !important;
    overflow: visible !important;
}

.hero .portrait {
    width: 100% !important;
    max-width: 430px !important;
    justify-self: end !important;
    align-self: center !important;
    overflow: hidden !important;
}

.hero .portrait img {
    width: 100% !important;
    height: auto !important;
    max-height: 520px !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
}

.nav {
    top: 0 !important;
    margin-top: 0 !important;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    .hero .portrait {
        justify-self: center !important;
        max-width: 360px !important;
        margin-top: 20px !important;
    }
    .actions,
    .social {
        justify-content: center !important;
    }
}

@media (max-width: 520px) {
    .hero .portrait {
        max-width: 300px !important;
    }
    .hero .portrait img {
        max-height: 390px !important;
    }
}


/* ===== Final polish: circular photo frame, social links and smoother hover animation ===== */
.hero .portrait {
    aspect-ratio: 1 / 1 !important;
    max-width: 410px !important;
    border-radius: 50% !important;
    padding: 14px !important;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, var(--blue), var(--sky), #7c3aed) border-box !important;
    border: 6px solid transparent !important;
    box-shadow: 0 30px 80px rgba(18, 103, 255, .22), 0 12px 35px rgba(15, 23, 42, .12) !important;
    transition: transform .45s ease, box-shadow .45s ease, filter .45s ease !important;
}

.hero .portrait:hover {
    transform: translateY(-10px) scale(1.025) rotate(.5deg) !important;
    box-shadow: 0 42px 95px rgba(18, 103, 255, .30), 0 18px 45px rgba(15, 23, 42, .16) !important;
}

.hero .portrait:before {
    border-radius: 50% !important;
    inset: -12px !important;
}

.hero .portrait:after {
    left: 50% !important;
    bottom: -14px !important;
    transform: translateX(-50%) !important;
    white-space: nowrap !important;
}

.hero .portrait img {
    aspect-ratio: 1 / 1 !important;
    height: 100% !important;
    max-height: none !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border: 0 !important;
    box-shadow: none !important;
    transition: transform .55s ease, filter .55s ease !important;
}

.hero .portrait:hover img {
    transform: scale(1.06) !important;
    filter: saturate(1.08) contrast(1.04) !important;
}

.btn,
.card,
.panel,
.social a,
.links a,
.brand-logo,
.chip {
    transition: transform .32s ease, box-shadow .32s ease, background .32s ease, color .32s ease, border-color .32s ease !important;
}

.btn:hover {
    transform: translateY(-6px) scale(1.03) !important;
    box-shadow: 0 22px 42px rgba(18, 103, 255, .24) !important;
}

.card:hover,
.panel:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 32px 80px rgba(15, 23, 42, .16) !important;
    border-color: rgba(18, 103, 255, .24) !important;
}

.social a:hover {
    transform: translateY(-7px) scale(1.12) rotate(4deg) !important;
    box-shadow: 0 20px 44px rgba(18, 103, 255, .24) !important;
}

.brand-logo:hover {
    transform: scale(1.08) rotate(3deg) !important;
}

.chip:hover {
    transform: translateY(-3px) !important;
    background: rgba(18, 103, 255, .12) !important;
    color: var(--blue) !important;
    border-color: rgba(18, 103, 255, .25) !important;
}

@media (max-width: 520px) {
    .hero .portrait {
        max-width: 280px !important;
    }
    .hero .portrait:after {
        font-size: 11px !important;
        padding: 9px 12px !important;
    }
}


/* ==========================================================
   Video Reference CSS Upgrade: Dark neon glass portfolio UI
   Inspired by the uploaded reference video.
   ========================================================== */

:root {
    --bg: #08111f;
    --surface: rgba(16, 30, 52, .72);
    --surface-strong: rgba(19, 36, 62, .92);
    --text: #f8fbff;
    --muted: #b7c6dc;
    --blue: #4f8cff;
    --sky: #5cf4ff;
    --navy: #eaf4ff;
    --border: rgba(121, 220, 255, .26);
    --shadow: 0 24px 70px rgba(0, 0, 0, .42);
    --radius: 26px;
}

html {
    scroll-padding-top: 92px;
}

body {
    background:
        radial-gradient(circle at 12% 8%, rgba(87, 77, 255, .36), transparent 32%),
        radial-gradient(circle at 90% 10%, rgba(92, 244, 255, .20), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(32, 104, 255, .22), transparent 36%),
        linear-gradient(180deg, #08101e 0%, #0b1323 48%, #070b14 100%) !important;
    color: var(--text) !important;
}

body::before {
    opacity: .65;
    background-image:
        linear-gradient(rgba(92, 244, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(92, 244, 255, .055) 1px, transparent 1px) !important;
}

.glass,
.card,
.panel,
.skill-category,
.contact-box,
.portrait {
    background: linear-gradient(180deg, rgba(20, 37, 64, .82), rgba(11, 22, 41, .78)) !important;
    border: 1px solid rgba(126, 218, 255, .28) !important;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, .38),
        inset 0 1px 0 rgba(255, 255, 255, .08) !important;
    backdrop-filter: blur(18px) !important;
}

.nav {
    background: rgba(9, 17, 33, .86) !important;
    border-bottom: 1px solid rgba(126, 218, 255, .18) !important;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .26) !important;
}

.brand,
.links,
.links a {
    color: #f8fbff !important;
}

.links a:hover {
    color: var(--sky) !important;
    text-shadow: 0 0 18px rgba(92, 244, 255, .55);
}

.links a::after {
    background: linear-gradient(90deg, var(--blue), var(--sky)) !important;
    box-shadow: 0 0 14px rgba(92, 244, 255, .9);
}

.hero h1,
.section-head h2,
.card h3,
.panel h3,
.skill-category h3,
.contact-box h2 {
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(92, 244, 255, .14);
}

.hero p,
.section-head p,
.panel p,
.card p {
    color: var(--muted) !important;
}

.eyebrow {
    color: var(--sky) !important;
    text-shadow: 0 0 16px rgba(92, 244, 255, .65);
    letter-spacing: .20em !important;
    font-size: 1.08rem !important;
}

.hero h1::after {
    background: linear-gradient(90deg, var(--blue), var(--sky)) !important;
    box-shadow: 0 0 22px rgba(92, 244, 255, .75);
}

.typed {
    color: var(--sky) !important;
    text-shadow: 0 0 14px rgba(92, 244, 255, .55);
}

.btn {
    color: #f8fbff !important;
    border-color: rgba(126, 218, 255, .24) !important;
    background: rgba(16, 30, 52, .82) !important;
}

.btn.primary,
.primary {
    background: linear-gradient(135deg, #2563eb, #00d4ff) !important;
    color: #ffffff !important;
    box-shadow: 0 16px 36px rgba(0, 212, 255, .22) !important;
}

.btn:hover {
    transform: translateY(-7px) scale(1.035) !important;
    border-color: rgba(92, 244, 255, .65) !important;
    box-shadow:
        0 24px 46px rgba(0, 0, 0, .32),
        0 0 28px rgba(92, 244, 255, .24) !important;
}

.social a {
    background: rgba(17, 34, 58, .88) !important;
    border: 1px solid rgba(126, 218, 255, .28) !important;
    color: var(--sky) !important;
}

.social a svg {
    fill: currentColor !important;
}

.social a:hover {
    background: linear-gradient(135deg, #2563eb, #00d4ff) !important;
    color: #fff !important;
    box-shadow:
        0 18px 44px rgba(0, 212, 255, .30),
        0 0 22px rgba(92, 244, 255, .42) !important;
}

/* Tech Stack video style */
.skill-category {
    border-radius: 20px !important;
    padding: 26px !important;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(92,244,255,.85), rgba(79,140,255,.15), rgba(92,244,255,.42));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: .65;
}

.skill-category:hover {
    transform: translateY(-8px) scale(1.01) !important;
    border-color: rgba(92, 244, 255, .62) !important;
    box-shadow:
        0 32px 70px rgba(0, 0, 0, .40),
        0 0 34px rgba(92, 244, 255, .24) !important;
}

.chips {
    gap: 14px !important;
}

.chip {
    color: #eaffff !important;
    background:
        linear-gradient(180deg, rgba(92,244,255,.20), rgba(79,140,255,.12)) !important;
    border: 1px solid rgba(173, 246, 255, .46) !important;
    border-radius: 999px !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        0 10px 24px rgba(0,0,0,.22) !important;
}

.chip:hover {
    color: #05101f !important;
    background: linear-gradient(135deg, #a7fbff, #60a5fa) !important;
    transform: translateY(-4px) scale(1.06) !important;
    box-shadow:
        0 16px 28px rgba(0, 212, 255, .24),
        0 0 18px rgba(92, 244, 255, .45) !important;
}

.icon {
    background: linear-gradient(135deg, rgba(92,244,255,.18), rgba(79,140,255,.18)) !important;
    border: 1px solid rgba(92,244,255,.26) !important;
    color: var(--sky) !important;
    box-shadow: 0 0 20px rgba(92,244,255,.12);
}

.card:hover,
.panel:hover {
    transform: translateY(-9px) !important;
    border-color: rgba(92, 244, 255, .55) !important;
    box-shadow:
        0 34px 80px rgba(0, 0, 0, .38),
        0 0 32px rgba(92, 244, 255, .18) !important;
}

.hero .portrait {
    background:
        linear-gradient(#0c1728, #0c1728) padding-box,
        linear-gradient(135deg, #60a5fa, #67e8f9, #8b5cf6) border-box !important;
    box-shadow:
        0 32px 86px rgba(0, 0, 0, .36),
        0 0 45px rgba(92, 244, 255, .22) !important;
}

.hero .portrait::after {
    background: rgba(9, 17, 33, .88) !important;
    color: #dffcff !important;
    border-color: rgba(92, 244, 255, .35) !important;
    box-shadow: 0 0 24px rgba(92, 244, 255, .18) !important;
}

input,
textarea {
    background: rgba(10, 19, 34, .82) !important;
    color: #ffffff !important;
    border: 1px solid rgba(126, 218, 255, .26) !important;
}

input::placeholder,
textarea::placeholder {
    color: rgba(231, 246, 255, .60) !important;
}

input:focus,
textarea:focus {
    outline: none !important;
    border-color: rgba(92, 244, 255, .75) !important;
    box-shadow: 0 0 0 4px rgba(92, 244, 255, .12) !important;
}

@media (max-width: 760px) {
    .links {
        background: rgba(9, 17, 33, .96) !important;
        border-color: rgba(92, 244, 255, .28) !important;
    }
}


/* ===== Requested precise changes only ===== */

/* Title photo in circular frame */
.hero-title {
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
}

.title-photo-frame {
    width: clamp(64px, 8vw, 104px) !important;
    height: clamp(64px, 8vw, 104px) !important;
    border-radius: 50% !important;
    padding: 5px !important;
    flex: 0 0 auto !important;
    background:
        linear-gradient(var(--bg), var(--bg)) padding-box,
        linear-gradient(135deg, var(--blue), var(--sky)) border-box !important;
    border: 4px solid transparent !important;
    overflow: hidden !important;
    box-shadow: 0 16px 34px rgba(18, 103, 255, .22) !important;
}

.title-photo-frame img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center top !important;
}

/* h1 after element width according to Niraj Chaudhary text width */
.hero h1::after,
.hero-title::after {
    width: min(100%, 11.8em) !important;
    max-width: 390px !important;
    margin-left: calc(clamp(64px, 8vw, 104px) + 22px) !important;
}

/* Transparent menu button */
.menu {
    background: transparent !important;
    box-shadow: none !important;
}

/* Transparent background for icon class */
.icon {
    background: transparent !important;
}

/* Remove after element of photo */
.portrait::after,
.hero .portrait::after {
    content: none !important;
    display: none !important;
}

/* Footer colour */
footer {
    background: #07111f !important;
    color: #dbeafe !important;
    border-top: 1px solid rgba(92, 244, 255, .18) !important;
}

footer a,
footer p {
    color: #dbeafe !important;
}

@media (max-width: 760px) {
    .hero-title {
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
    }

    .hero h1::after,
    .hero-title::after {
        margin-left: auto !important;
        margin-right: auto !important;
        width: min(78vw, 300px) !important;
    }
}


/* ===== Requested cleanup changes ===== */

/* Keep previous H1 version; only adjust after element animation/width to match Niraj Chaudhary */
.hero h1::after {
    width: 0 !important;
    max-width: 11.8em !important;
    margin-left: 0 !important;
    animation: heroUnderlineGrow 1.15s ease .35s forwards !important;
}

@keyframes heroUnderlineGrow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: min(100%, 11.8em);
        opacity: 1;
    }
}

/* Increase eyebrow size */
.eyebrow {
    font-size: 1.22rem !important;
}

/* Remove border, box-shadow, and color of icon class */
.icon {
    border: none !important;
    box-shadow: none !important;
    color: inherit !important;
}
