/* SELF-HOSTED FONTS */
@font-face {
    font-family: 'Big Shoulders Display';
    src: url('/fonts/Big_Shoulders/BigShoulders-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'DM Sans';
    src: url('/fonts/DM_Sans/DMSans-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 1000;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: 'DM Sans';
    src: url('/fonts/DM_Sans/DMSans-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 1000;
    font-display: swap;
    font-style: italic;
}

/* RESET & VARIABLES */
:root {
    --bg-color: #121212;
    --card-bg: #121212;
    --text-primary: #F0F0F0;
    --text-secondary: #888888;
    --accent-color: #E0F11F;

    --font-display: 'Big Shoulders Display', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --container-width: 480px;
    /* Mobile-first width constraint as per screenshot strip */
}

/* LIGHT MODE OVERRIDES */
body.light-mode {
    --bg-color: #F0F0F0;
    --text-primary: #121212;
    /* Invert for contrast */
    --text-secondary: #666666;
    --accent-color: #1f67f1;
    /* Blue */
    --card-bg: #FFFFFF;
}

/* Update default card bg if not using var in all places yet or specific overrides */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Global transition for theme switch */
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    /* Remove flex center for desktop layout */
}

.container {
    width: 100%;
    max-width: 930px;
    /* User spec: 930px */
    margin: 0 auto;
    padding: 0 24px;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 800;
    line-height: 0.85;
}

h1 {
    font-size: 200px;
    /* User spec: 200px */
    font-family: var(--font-display);
    font-weight: 900;
    /* User spec: 900 */
    color: var(--accent-color);
    text-align: center;
    letter-spacing: -0.02em;
    /* User spec: -0.02em */
    line-height: 1.1;
    /* User spec: 110% */
    margin: 0;
    margin-bottom: 40px;
    /* User spec: Paragraph spacing 40px */
}

/* Responsive adjustment for massive text on mobile */
@media (max-width: 768px) {
    h1 {
        font-size: clamp(80px, 15vw, 150px);
        margin-bottom: 20px;
    }
}

h1.hero-subtitle {
    font-size: 200px;
    /* User spec: 200px */
}

@media (max-width: 768px) {
    h1.hero-subtitle {
        font-size: clamp(60px, 12vw, 120px);
        /* Slightly smaller scale for subtitle on mobile */
    }
}

h2 {
    font-size: 32px;
    /* User spec: 32px */
    color: var(--accent-color);
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h2::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: var(--accent-color);
    margin-left: 24px;
    opacity: 0.5;
}

p {
    font-size: clamp(14px, 1.2vw, 18px);
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.text-secondary {
    color: var(--text-secondary);
}

/* UTILITIES */
.spacer-20 {
    height: 20px;
}

.spacer-40 {
    height: 40px;
}

.spacer-60 {
    height: 60px;
}

.spacer-120 {
    height: 120px;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 64px 0 24px;
    /* Added 40px top spacing (24 original + 40 extra = 64) */
    margin-bottom: 60px;
    position: relative;
    /* For absolute centering of logo if needed, but flex is clean */
}

/* To ensure true center, we can make side items same width or use absolute centering. 
   Absolute centering is safer for disparate widths. */
.menu-icon,
.toggle-switch {
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.menu-icon {
    width: 42px;
    /* Increased by 30% from 32px */
    height: 31px;
    /* Increased by 30% from 24px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    align-items: flex-start;
    /* Left align */
    z-index: 100;
    position: relative;
}

/* Default State: Uneven lines (User said 'not equal') */
.menu-icon span {
    display: block;
    height: 2.6px;
    /* Increased by 30% from 2px */
    background: #888;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border-radius: 2px;
}

.menu-icon span:nth-child(1) {
    width: 42px;
}

/* Increased by 30% */

/* Top: Long */
.menu-icon span:nth-child(2) {
    width: 31px;
}

/* Increased by 30% */

/* Middle: Medium */
.menu-icon span:nth-child(3) {
    width: 21px;
}

/* Increased by 30% */

/* Bottom: Short */

/* Hover State */
/* Bottom: Shortest, Top: Next longest (Med), Middle: Longest */
.menu-icon:hover span:nth-child(1) {
    width: 31px;
}

/* Top becomes Medium */
.menu-icon:hover span:nth-child(2) {
    width: 42px;
}

/* Middle becomes Longest */
.menu-icon:hover span:nth-child(3) {
    width: 16px;
}

/* Bottom becomes Shortest (even shorter) */

/* Active State (The 'X') */
body.menu-open .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
    width: 42px;
    background: #F0F0F0;
}

body.menu-open .menu-icon span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

body.menu-open .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -10px);
    width: 42px;
    background: #F0F0F0;
}

/* MENU OVERLAY */
/* MENU OVERLAY */
.nav-overlay {
    position: absolute;
    top: 120px;
    /* Moved down 40px (was 80px) */
    left: 0;
    width: fit-content;
    height: fit-content;
    background: #121212;
    /* Match site background */
    border-radius: 12px;
    z-index: 90;
    transform: translateY(-100%);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s cubic-bezier(0.77, 0, 0.175, 1), transform 0s 0.4s;
    display: flex;
    align-items: flex-start;
    padding: 20px 80px 20px 0;
}

body.menu-open .nav-overlay {
    transform: translateY(0);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition: clip-path 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0px;
    /* Tight spacing like screenshot */
}

.nav-link {
    font-family: var(--font-display);
    font-size: 64px;
    /* Original size - 20% reduced from 80px */
    font-weight: 800;
    color: #F0F0F0;
    text-decoration: none;
    line-height: 1;
    text-transform: uppercase;
    transition: color 0.3s;
    opacity: 0;
    transform: translateY(-20px);
    /* Animate downward */
    padding-left: 20px;
    /* Left padding for menu items */
}

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

body.menu-open .nav-link {
    opacity: 1;
    transform: translateY(0);
    /* End at normal position */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Staggered transition delays for menu items */
body.menu-open .nav-link:nth-child(1) {
    transition-delay: 0.2s;
}

body.menu-open .nav-link:nth-child(2) {
    transition-delay: 0.3s;
}

body.menu-open .nav-link:nth-child(3) {
    transition-delay: 0.4s;
}

body.menu-open .nav-link:nth-child(4) {
    transition-delay: 0.5s;
}

body.menu-open .nav-link:nth-child(5) {
    transition-delay: 0.6s;
}

body.menu-open .nav-link:nth-child(6) {
    transition-delay: 0.7s;
}

body.menu-open .nav-link:nth-child(7) {
    transition-delay: 0.8s;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-link {
        font-size: 14vw;
    }
}

.toggle-switch {
    width: 70px;
    height: 36px;
    background: #333;
    border-radius: 18px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 4px;
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

body.light-mode .toggle-switch::after {
    transform: translateX(-34px);
}

/* LOGO ANIMATION */
.logo-anim {
    stroke-dasharray: 1;
    /* Whole path length since pathLength="1" */
    stroke-dashoffset: 0;
    /* Start full */
    animation: undo-draw 3s ease-in-out infinite alternate;
    /* "Undoes the white" -> animates offset. Infinite alternate makes it draw/undraw. */
}

@keyframes undo-draw {
    0% {
        stroke-dashoffset: 0;
        /* Fully visible */
    }

    40% {
        stroke-dashoffset: 0;
        /* Pause at full */
    }

    100% {
        stroke-dashoffset: 1;
        /* Fully invisible (undrawn) */
    }
}

/* Light Mode Logo Overrides */
body.light-mode .logo-bg {
    stroke: #121212;
}

body.light-mode .logo-anim {
    stroke: #121212;
}

/* HERO */
.hero {
    text-align: center;
    position: relative;
    margin-top: 100px;
    padding: 0 0 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    perspective: 1000px;
    /* Enhance 3D rotation effect */
}

.hero-top-text {
    font-size: 14px;
    /* User spec: 14px */
    font-family: var(--font-body);
    /* User spec: DM Sans */
    font-weight: 700;
    /* User spec: 700 */
    letter-spacing: 0.08em;
    /* User spec: 0.08em */
    line-height: 1.1;
    /* User spec: 110% */
    color: #F0F0F080;
    /* User spec: F0F0F080 */
    text-transform: uppercase;
    margin-bottom: 20px;
    /* User spec: Paragraph spacing 20px */
    margin-top: -40px;
}

.hero-title-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    /* Constrain width to keep text packed */
    margin: 0 auto;
}

.hero-img-container {
    width: clamp(75px, 12.5vw, 150px);
    aspect-ratio: 3 / 4;
    /* Maintain portrait ratio */
    border-radius: 75px;
    /* Pill shape/Oval */
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    /* Fine tune centering */
    z-index: 2;
    background: #222;
}

.hero-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%);
    /* User spec: Grayscale */
}

/* Adjust stacking: Title parts needs to be selectable or layout properly */
.hero-line {
    display: block;
    line-height: 0.8;
}

.star-icon {
    color: var(--accent-color);
    width: 48px;
    height: 48px;
    margin: 40px auto 0;
    /* Center horizontally with auto, 40px top margin */
}

.star-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* INTRO (Formerly About) */
.intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 30px;
}

.intro p {
    font-size: 22px;
    font-family: var(--font-body);
    color: var(--text-primary);
    /* Use var for theme switching */
    font-weight: 400;
    letter-spacing: 0em;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-button {
    display: inline-block;
    background: var(--accent-color);
    color: #000;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px 48px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.9s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.scroll-line {
    width: 2px;
    height: 24px;
    background: var(--accent-color);
}

.scroll-text {
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: #666;
    text-transform: uppercase;
}

/* NEW ABOUT SECTION */
.about-section {
    padding-bottom: 120px;
}

.section-header h2 {
    font-size: 32px;
    /* User spec: 32px for section headings */
    color: var(--accent-color);
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.section-header h2::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: #333;
    /* Darker line per screenshot */
    margin-left: 24px;
}

.section-header h2::before {
    /* Optional: If there's a thicker start line or accent block later */
    content: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-col-left p {
    font-family: var(--font-body);
    font-size: 20px;
    /* User spec: 20px */
    color: #AAAAAA;
    /* Grey text */
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-col-right p {
    font-family: var(--font-body);
    font-size: 16px;
    /* User spec: 16px */
    color: #AAAAAA;
    /* Grey text */
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Override for Light Mode explicitly to requested 121212 if secondary var is different */
body.light-mode .intro p,
body.light-mode .about-col-left p,
body.light-mode .about-col-right p {
    color: #121212;
}

/* Yellow Cards */
.yellow-cards-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.yellow-card {
    background: var(--accent-color);
    border-radius: 12px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    /* Black text on yellow */
}

.card-content h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 24px;
    color: #000;
    margin-bottom: 8px;
    text-transform: none;
    /* Reset uppercase if inherited */
}

.card-content p {
    font-family: var(--font-body);
    font-size: 14px;
    color: #333;
    margin: 0;
    font-weight: 500;
    line-height: 1.2;
}

.card-percent {
    font-family: var(--font-body);
    /* Looks like DM Sans or similar in screenshot, not Big Shoulders? Or is it? Screenshot looks clean санс. */
    font-weight: 700;
    font-size: 64px;
    color: #000;
    opacity: 0.3;
    /* Distinctive faded look */
    line-height: 1;
}

.progress-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.progress-card {
    background: var(--accent-color);
    color: #000;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

.progress-card span:last-child {
    font-size: 24px;
    font-weight: 800;
}

/* PROJECTS */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.project-card {
    background: #1C1C1C;
    /* Fallback */
    aspect-ratio: 353 / 240;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSIjMUMxQzFDIi8+CjxyZWN0IHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9IiMyMzIzMjMiLz4KPC9zdmc+');
    background-size: cover;
    /* Ensure it covers area for zoom */
    transition: transform 0.4s ease-out;
    z-index: 1;
}

.project-card:hover .project-bg {
    transform: scale(1.1);
    /* Zoom in 10% */
}

.project-icon {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 24px;
    /* Center it */
}

.project-label {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--accent-color);
    color: #000;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    padding: 12px 24px;
    border-top-right-radius: 8px;
    /* Subtle styling detail */
    z-index: 3;
    transform: translateY(100%);
    /* Start hidden (slide down) or translate(-100%, 100%) for diagonal? User said 'from bottom left' which usually means appearing there. */
    /* Let's try simple slide up from bottom since it's anchored left */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-label {
    transform: translateY(0);
}

/* EXPERIENCE */
.experience {
    padding-bottom: 80px;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }
}

.exp-role {
    font-family: var(--font-body);
    font-size: 20px;
    /* User spec: 20px */
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: none;
    line-height: 1.3;
}

.exp-company {
    font-family: var(--font-body);
    font-size: 14px;
    /* User spec: 14px */
    color: #AAAAAA80;
    /* User spec: Usual gray (#AAAAAA) + 80 hex alpha */
    line-height: 1.6;
    margin-bottom: 24px;
}

.exp-desc {
    font-family: var(--font-body);
    font-size: 16px;
    /* User spec: 16px */
    color: #AAAAAA;
    /* Usual gray */
    line-height: 1.6;
}

/* Light Mode Overrides for Experience */
body.light-mode .exp-role {
    color: #121212;
}

body.light-mode .exp-company {
    color: #66666680;
    /* Adjust gray for light mode + alpha, or just #666666 */
    /* The user didn't specify light mode behavior for this transparency, but let's make it legible. */
    color: #12121280;
    /* Matches the text-primary shift logic */
}

body.light-mode .exp-desc {
    color: #121212;
}

.education {
    padding-bottom: 80px;
}

/* STATS ROW */
.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Screenshot shows alignment */
    border-top: 1px solid #333;
    /* "Lightly attached"? Or just the look */
    border-bottom: 1px solid #333;
    /* Optional structure */
    padding: 60px 0;
}

.stat-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #333;
    /* Border in between */
    padding-left: 40px;
    /* Spacing */
}

.stat-box:last-child {
    border-right: none;
    /* No border on last item */
}

/* First item special alginment if needed, but flex:1 distributes evenly. 
   Screenshot shows centered text or left? User said "text underneath".
   Let's align them somewhat centrally or consistent with screenshot style.
*/

.stat-num {
    font-family: var(--font-display);
    font-size: 46px;
    /* User spec: 46px */
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-desc {
    font-family: var(--font-body);
    font-size: 14px;
    /* User spec: 14px */
    color: var(--accent-color);
    /* Updated to yellow based on screenshot/user intent? 
    Wait, user said "text underneath should be 14". 
    Screenshot shows yellow text for labels? 
    "Projects Completed" is yellow in screenshot provided. 
    Okay, I will make it accent color. */
    line-height: 1.4;
}

/* DUAL MARQUEE */
.dual-marquee-container {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    padding: 20px 0;
    background: #000;
    /* Ensure bg is dark */
}

.dual-marquee-container.yellow-theme {
    background: var(--accent-color);
}

.yellow-theme .marquee-content {
    color: #121212;
    /* Black text on yellow */
}

.marquee-wrapper {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 0px;
    /* Tight stacking */
    line-height: 0.85;
    /* Tight line height for massive text */
}

.marquee-content {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 128px;
    /* User spec: 128px */
    font-weight: 900;
    color: var(--accent-color);
    padding-right: 40px;
    /* Create animation loops */
}

.left .marquee-content {
    animation: scroll-left 40s linear infinite;
    /* User spec: Half speed (was 20s) */
}

.right .marquee-content {
    animation: scroll-right 60s linear infinite;
    /* User spec: Half speed (was 30s) */
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes scroll-right {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

/* WRITING SECTION */
.writing-list {
    display: flex;
    flex-direction: column;
}

.writing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid #222;
    /* Very subtle dark border */
    cursor: pointer;
    transition: background-color 0.2s;
}

.writing-item:first-child {
    border-top: none;
    /* Screenshot doesn't show top border for first item clearly, but usually list items have dividers. 
    Actually screenshot shows a line under the header for the section, and lines between items. 
    The item seems to have a border bottom. 
    */
}

.writing-left {
    display: flex;
    align-items: center;
    gap: 0;
    /* Remove gap initially so text is flush left (relative to container padding if any, or just sibling) */
    position: relative;
    /* Context for bullet if absolute, but flex is easier if we just translate */
}

.writing-bullet {
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    opacity: 0;
    /* Hidden initially */
    position: absolute;
    /* Take out of flow so text is flush left */
    left: 0;
    transform: scale(0);
    /* Start small or just hidden */
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.writing-item:hover .writing-bullet {
    opacity: 1;
    transform: scale(1);
    /* Pop in */
}

.writing-title {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 500;
    color: #F0F0F0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin: 0;
    transform: translateX(0);
    /* Initial pos */
}

.writing-item:hover .writing-title {
    color: var(--accent-color);
    transform: translateX(24px);
    /* Slide right to make room for bullet */
}

.writing-right {
    display: flex;
    align-items: center;
    gap: 60px;
    /* Space between date and tag */
}

.writing-date {
    font-family: var(--font-body);
    font-size: 16px;
    color: #666;
}

/* CONTACT SECTION */
.contact {
    padding-bottom: 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-promt {
    font-family: var(--font-body);
    font-size: 24px;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 60px;
    max-width: 400px;
}

.hero-top-text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 90px;
    /* Increased by 50px from 40px */
    letter-spacing: 1px;
}

.contact-details p {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-details a {
    display: block;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--accent-color);
    text-decoration: none;
    margin-bottom: 8px;
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

input,
textarea {
    width: 100%;
    background: #222;
    /* Specific dark background */
    border: none;
    padding: 16px 20px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    color: #fff;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #666;
}

textarea {
    min-height: 200px;
    /* Big textarea */
    resize: none;
}

button[type="submit"] {
    width: 100%;
    background: var(--accent-color);
    color: #000;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    padding: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

/* Light Mode Overrides */
body.light-mode input,
body.light-mode textarea {
    background: #e0e0e0;
    color: #000;
}

/* Specific red icon mentioned in screenshot - mocking a red badge */
.input-icon {
    position: absolute;
    right: 12px;
    width: 24px;
    height: 16px;
    background: #D93025;
    border-radius: 4px;
    /* Optional dots sim */
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-icon::after {
    content: '...';
    color: white;
    font-size: 12px;
    line-height: 0;
    margin-top: -4px;
    font-weight: 700;
}

/* Light Mode Overrides */
body.light-mode .writing-item {
    border-bottom-color: #ddd;
}

body.light-mode .writing-title {
    color: #121212;
}

body.light-mode .writing-item:hover .writing-title {
    color: var(--accent-color);
    /* Blue in light mode */
}

/* Light Mode Overrides */
body.light-mode .stats-row,
body.light-mode .stat-box {
    border-color: #ccc;
}

/* Allow accent color to persist for stats/marquee in light mode as they are stylistic elements, 
   or switch to blue if requested. Previous rule handles accent-color var switch automatically. */

/* STATS Columns */
.stats-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.stat-item h3 {
    font-size: 10px;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: 0.1em;
}

.stat-item p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.big-stats-row {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

.big-stat {
    color: var(--accent-color);
}

.big-stat span {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.big-stat label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--accent-color);
}

/* MARQUEE */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    margin: 40px -24px;
    background: var(--accent-color);
    /* Optional background if needed, but transparent in screenshot */
}

.marquee-text {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--accent-color);
    display: inline-block;
    padding-left: 20px;
    animation: scroll 20s linear infinite;
}

.marquee-text span {
    color: #333;
    margin: 0 10px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* EDUCATION & SERVICES */
.list-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.list-item h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 4px;
}

.list-item p {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #222;
}

.service-row h4 {
    font-size: 14px;
    color: #fff;
    text-transform: none;
    font-family: var(--font-body);
}

.service-price {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent-color);
    font-size: 16px;
}

/* STATS GRID (80%, 86%...) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 100%;
    overflow: hidden;
}

.stat-percent {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-color);
}

.stat-label {
    font-size: 10px;
    color: var(--accent-color);
    line-height: 1.2;
    margin-top: 4px;
}

/* CONTACT */
.contact-form {
    margin-top: 24px;
}

.form-group {
    background: #111;
    border: 1px solid #222;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-control {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    font-family: var(--font-body);
    font-size: 14px;
}

.submit-btn {
    width: 100%;
    background: var(--accent-color);
    border: none;
    padding: 16px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 4px;
    margin-top: 12px;
    cursor: pointer;
}

/* FOOTER */
.big-footer-text {
    font-family: var(--font-display);
    font-size: 120px;
    line-height: 0.8;
    color: var(--accent-color);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    margin-top: 60px;
    margin-bottom: -20px;
}

/* ABOUT PAGE */
.about-top {
    text-align: center;
    margin-top: 100px;
    /* Move content down 100px */
}

.massive-about-title {
    font-family: var(--font-display);
    font-size: 240px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 0.8;
    margin: 0;
    text-transform: uppercase;
}

.about-diamond {
    color: var(--accent-color);
    margin-top: 50px;
    /* Space between title and SVG */
    margin-bottom: 100px;
    /* Double the top margin - space below SVG */
    display: flex;
    justify-content: center;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    /* Increased gap from 60px */
    align-items: start;
    max-width: 100%;
    overflow: hidden;
}

.bio-image-wrapper {
    position: relative;
}

.bio-photo {
    width: 100%;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    display: block;
}

.bio-social-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
}

.bio-social-link {
    color: var(--accent-color);
    /* Yellow in dark mode, blue in light mode */
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.bio-social-link:hover {
    color: var(--text-primary);
}

.bio-social-link svg {
    width: 40px;
    /* Increased by 30% from 31px */
    height: 40px;
}

.bio-signature {
    color: var(--accent-color);
    position: absolute;
    top: -20px;
    right: -30px;
    z-index: 10;
}

.bio-text {
    padding-top: 0;
}

.bio-lead {
    font-size: 24px;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 40px;
    font-family: var(--font-body);
}

.bio-body {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-family: var(--font-body);
}

body.light-mode .massive-about-title {
    color: var(--accent-color);
}

body.light-mode .bio-lead {
    color: #121212;
}

body.light-mode .bio-body {
    color: #444;
}

body.light-mode .bio-signature {
    color: var(--accent-color);
}

body.light-mode .about-diamond {
    color: var(--accent-color);
}

/* Assuming these nav-link styles were meant to be here based on the instruction's context */
body.light-mode .nav-link:hover {
    color: var(--accent-color);
}

/* Removed active state - only show on hover */
/*
.nav-link.active {
    color: var(--accent-color);
}
*/

@media (max-width: 768px) {
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .massive-about-title {
        font-size: 100px;
    }
}

/* CTA SECTION */
.cta-section {
    text-align: center;
    padding: 80px 0;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: #121212;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    text-decoration: none;
    padding: 60px 120px;
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: lowercase;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(224, 241, 31, 0.3);
}

.cta-subtext {
    margin-top: 30px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-secondary);
}

.cta-email {
    color: var(--text-primary);
    text-decoration: underline;
    transition: color 0.3s;
}

.cta-email:hover {
    color: var(--accent-color);
}

body.light-mode .cta-button {
    color: #121212;
}

body.light-mode .cta-email {
    color: #121212;
}

/* FOOTER */
.site-footer {
    padding: 60px 0 40px;
    margin-top: 120px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.footer-left {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-right {
    font-family: var(--font-body);
    font-size: 14px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    position: relative;
    padding: 20px 0;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 12px;
    color: #666;
    margin: 0;
}

.hover-trigger {
    cursor: pointer;
    transition: color 0.3s;
}

.hover-trigger:hover {
    color: var(--text-primary);
}

.footer-gif {
    position: fixed;
    /* Changed to fixed for cursor tracking */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1000;
    transform: translate(-50%, -120%);
    /* Position above cursor */
}

.footer-gif img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    filter: grayscale(100%);
}

.footer-gif.active {
    opacity: 1;
}

body.light-mode .site-footer {
    border-top-color: #ddd;
}

body.light-mode .footer-link {
    color: #666;
}

body.light-mode .footer-link:hover {
    color: #121212;
}

/* SKILLS SECTION */
.skills-section {
    padding: 40px 0;
}

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

.skill-card {
    background: var(--accent-color);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.skill-info {
    flex: 1;
}

.skill-name {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: #121212;
    margin: 0 0 8px 0;
    line-height: 1;
}

.skill-desc {
    font-family: var(--font-body);
    font-size: 16px;
    color: #121212;
    margin: 0;
    line-height: 1.4;
}

.skill-percentage {
    font-family: var(--font-display);
    font-size: 120px;
    font-weight: 800;
    color: rgba(18, 18, 18, 0.15);
    line-height: 1;
    margin-left: 20px;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-name {
        font-size: 36px;
    }

    .skill-percentage {
        font-size: 80px;
    }
}

/* BLOG GRID */
.blog-grid-section {
    padding: 40px 0;
}

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

.blog-card {
    background: var(--card-bg);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

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

.blog-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.blog-card p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

body.light-mode .blog-card {
    border-color: #ddd;
}

body.light-mode .blog-card:hover {
    border-color: var(--accent-color);
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* BLOG POST STYLES */
.blog-post-title {
    font-family: var(--font-display);
    font-size: 60px;
    /* Doubled from 30px */
    font-weight: 800;
    color: var(--accent-color);
    margin: 100px 0 40px 0;
    line-height: 1.2;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

article h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 60px 0 20px 0;
    /* More space above, less below */
    line-height: 1.4;
    /* Increased from default for multi-line */
    text-transform: none;
    /* Sentence case, not uppercase */
}

article h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 50px 0 16px 0;
    /* More space above, less below */
    line-height: 1.4;
    /* Increased from default for multi-line */
    text-transform: none;
    /* Sentence case, not uppercase */
}

body.light-mode .blog-post-title {
    color: var(--accent-color);
}

body.light-mode article h2,
body.light-mode article h3 {
    color: #121212;
}

/* FOOTER BRAND STYLING */
.footer-bullet {
    font-size: 12px;
    margin: 0 8px;
    opacity: 0.5;
}

.footer-brand {
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CONTACT PAGE */
.contact-section {
    padding: 40px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-prompt {
    font-family: var(--font-body);
    font-size: 24px;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    font-family: var(--font-body);
    font-size: 16px;
    padding: 16px 20px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    color: var(--text-primary);
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

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

.contact-form button {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    padding: 16px 40px;
    background: var(--accent-color);
    color: #121212;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-transform: uppercase;
    align-self: flex-start;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 241, 31, 0.3);
}

body.light-mode .contact-form input,
body.light-mode .contact-form textarea {
    border-color: #ddd;
}

body.light-mode .contact-prompt {
    color: #121212;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* SCROLL ANIMATIONS (About Page) */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* CHARACTER ANIMATION FOR TITLE */
.massive-about-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: charFadeIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes charFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spacer-100 {
    height: 100px;
}

/* HERO ANIMATIONS */
/* Zoom effect for hero image */
#hero-image {
    animation: zoomIn 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s forwards;
    transform-origin: 50% 50%;
    /* Center of the element itself */
    opacity: 0;
    /* Start hidden until animation begins */
}

@keyframes zoomIn {
    from {
        opacity: 0;
        scale: 0.3;
    }

    to {
        opacity: 1;
        scale: 1;
    }
}

/* Character animation for STEVE */
#hero-steve .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: charFadeIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Fade-up animation for THE APP GUY */
#hero-subtitle {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Light mode menu icon */
body.light-mode .menu-icon span {
    background: #121212;
}

/* Character animation for blog post titles */
.blog-post-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: charFadeIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* DEMO PAGE STYLES */
.demo-header {
    text-align: center;
    padding: 40px 0 60px;
}

.demo-profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 24px;
}

.demo-creator-name {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.demo-subhead {
    font-family: var(--font-body);
    font-size: 24px;
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

.demo-video-section {
    padding: 0 0 40px 0;
    /* Tight to hero, padding only at bottom */
}

.demo-video-label {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
    margin-bottom: 24px;
}

.demo-video-wrapp.hero {
    position: relative;
    padding-top: 200px;
    padding-bottom: 120px;
    text-align: center;
}

.demo-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: var(--card-bg);
}

.demo-video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #222;
    border-radius: 12px;
}

.demo-video-placeholder p {
    color: var(--text-secondary);
    font-size: 16px;
    text-align: center;
}

.demo-video-placeholder span {
    font-size: 14px;
    opacity: 0.7;
}

.demo-section {
    padding: 60px 0;
}

.demo-section h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 24px 0;
}

.demo-intro-text {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.demo-card-primary {
    background: var(--card-bg);
    border: 1px solid #222;
    border-left: 4px solid var(--accent-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 32px;
}

.demo-card-label {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 8px 0;
}

.demo-card-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 32px 0;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.demo-grid-item h4 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
}

.demo-grid-item p {
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

.demo-card-secondary {
    background: var(--card-bg);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 32px;
    opacity: 0.7;
}

.demo-card-secondary h3 {
    font-size: 20px;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
}

.demo-validation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.demo-card {
    background: var(--card-bg);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 32px;
}

.demo-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.demo-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.demo-cta-section {
    padding: 40px 0;
}

.demo-cta {
    text-align: center;
    padding: 40px;
    background: rgba(224, 241, 31, 0.1);
    border-radius: 12px;
}

.demo-cta p {
    font-size: 18px;
    color: var(--text-primary);
    margin: 0;
}

body.light-mode .demo-video-placeholder,
body.light-mode .demo-card-primary,
body.light-mode .demo-card-secondary,
body.light-mode .demo-card {
    border-color: #ddd;
}

body.light-mode .demo-creator-name,
body.light-mode .demo-subhead,
body.light-mode .demo-intro-text,
body.light-mode .demo-card-title,
body.light-mode .demo-grid-item p,
body.light-mode .demo-card h3,
body.light-mode .demo-cta p {
    color: #121212;
}

/* Demo small profile image */
.demo-small-profile {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

/* Character animation for demo title */
#demo-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: charFadeIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Demo page circle image */
.demo-circle {
    width: clamp(100px, 17.5vw, 200px) !important;
    height: clamp(100px, 17.5vw, 200px) !important;
    border-radius: 50% !important;
}

.demo-circle img {
    border-radius: 50%;
}

/* Light mode menu X button */
body.light-mode.menu-open .menu-icon span {
    background: #121212;
}

/* FOOTER CTA CARD */
.footer-cta {
    margin: 0 auto;
}

.cta-card-footer {
    background: var(--accent-color);
    border-radius: 16px;
    padding: 60px 60px 80px 60px;
    /* 20px more top, 40px more bottom */
    text-align: center;
    max-width: 1248px;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cta-card-footer:hover {
    transform: scale(0.98);
}

.cta-card-footer p {
    font-family: var(--font-body);
    font-size: 22px;
    color: #121212;
    margin: 0 0 8px 0;
}

.cta-card-footer h2 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: #121212;
    margin: 0 auto;
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
    display: block;
    width: 100%;
}

body.light-mode .cta-card-footer {
    background: var(--accent-color);
}

body.light-mode .cta-card-footer p,
body.light-mode .cta-card-footer h2 {
    color: #F0F0F0;
}

/* Demo page hero animations */
#demo-hero-image {
    animation: zoomIn 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s forwards;
    transform-origin: center center;
    opacity: 0;
}

#demo-first-name .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: charFadeIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* Demo page - make both hero lines same size */
.demo-hero .hero-subtitle {
    font-size: clamp(80px, 20vw, 260px);
    margin-top: 0;
}