@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter-Regular.woff2') format('woff2'),
        url('./fonts/Inter-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter-Italic.woff2') format('woff2'),
        url('./fonts/Inter-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #1a1a1a;
}

#main-content-whitespace-container {
    position: relative;
    max-width: 1250px;
    margin: auto;
    padding: 0;
    background-color: #f4f4f4;
}

/* ===== NAVIGATION ===== */
#site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(244, 244, 244, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    height: 64px;
}

#nav-inner {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px);
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

#nav-logo {
    font-size: 15px;
    font-weight: 700;
    color: #0a0a0a;
    text-decoration: none;
    letter-spacing: -0.01em;
}

#nav-links-center {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 36px);
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #0a0a0a;
}

#nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

#switchThemeBtn {
    background: none;
    border: 1px solid #d1d5db;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

#switchThemeBtn:hover {
    border-color: #9ca3af;
    background-color: rgba(0, 0, 0, 0.04);
}

#switchThemeBtn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.theme-icon {
    width: 18px;
    height: 18px;
    display: block;
}

#switchThemeBtn.theme-switching {
    opacity: 0.3;
    transform: scale(0.95);
}

/* Theme button tooltip */
#switchThemeBtn::before {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #0a0a0a;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1010;
}

#switchThemeBtn:hover::before {
    opacity: 1;
}

.nav-cta-link {
    font-size: 13px;
    font-weight: 600;
    background-color: #0a0a0a;
    color: #f9fafb;
    border: none;
    padding: 9px 18px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.nav-cta-link:hover {
    background-color: #1f2937;
}

#nav-mobile-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #374151;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

#nav-mobile-btn:hover {
    color: #0a0a0a;
}

#nav-mobile-menu {
    display: none;
    flex-direction: column;
    background-color: rgba(244, 244, 244, 0.97);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding: 8px 0 16px;
}

#nav-mobile-menu.is-open {
    display: flex;
}

.nav-mobile-link {
    padding: 11px clamp(16px, 4vw, 40px);
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-mobile-link:hover {
    color: #0a0a0a;
}

.nav-mobile-cta {
    margin: 8px clamp(16px, 4vw, 40px) 0;
    padding: 11px 18px;
    background-color: #0a0a0a;
    color: #f9fafb !important;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 768px) {
    #nav-links-center {
        display: none;
    }

    #nav-mobile-btn {
        display: flex;
    }

    .nav-cta-link {
        display: none;
    }
}

/* ===== HERO SECTION ===== */
#hero-section {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: calc(64px + 40px) 20px 40px;
    position: relative;
    overflow: hidden;
}

#hero-section-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 900px;
    width: 100%;
    overflow: hidden;
}

#hero-section-content-text {
    margin-bottom: clamp(40px, 8vw, 60px);
    overflow: hidden;
}

#hero-section-heading-text {
    font-size: clamp(32px, 7vw, 64px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 clamp(16px, 3vw, 32px) 0;
    color: #0a0a0a;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#hero-section-subheading-text {
    font-size: clamp(14px, 4vw, 20px);
    font-weight: 400;
    line-height: 1.6;
    color: #292a2d;
    margin: 0 auto;
    max-width: 700px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#hero-section-content-CTA-Btns-container {
    display: flex;
    gap: clamp(12px, 3vw, 24px);
    justify-content: center;
    align-items: center;
    margin-bottom: clamp(40px, 8vw, 80px);
    flex-wrap: wrap;
    width: 100%;
    flex-shrink: 0;
}

.main-CTA-Btn-element {
    background-color: #0a0a0a;
    color: #f9fafb;
    border: none;
    padding: clamp(12px, 3vw, 16px) clamp(20px, 4vw, 34px);
    font-size: clamp(12px, 2.5vw, 16px);
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-CTA-Btn-element:hover {
    background-color: #1f2937;
    transform: translateY(-2px);
    
}

.main-CTA-Btn-element:active {
    transform: translateY(0);
}

#second-CTA-Btn-element {
    border: 1.5px solid #d1d5db;
    background-color: transparent;
    color: #374151;
    padding: clamp(12px, 3vw, 16px) clamp(20px, 4vw, 34px);
    font-size: clamp(12px, 2.5vw, 16px);
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#second-CTA-Btn-element:hover {
    border-color: #9ca3af;
    color: #0a0a0a;
    transform: translateY(-2px);
}

#second-CTA-Btn-element:active {
    transform: translateY(0);
}

#arrow-scroll-container {
    font-size: clamp(20px, 5vw, 24px);
    color: #374151;
    animation: bounce 2s infinite;
    cursor: pointer;
    padding: clamp(16px, 3vw, 20px);
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: none;
    border: none;
}

#arrow-scroll-container:hover {
    color: #0a0a0a;
    transform: scale(1.1);
}

#arrow-scroll-container:active {
    transform: scale(0.95);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(clamp(5px, 2vw, 10px)); }
}

@keyframes textFadeUpIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal-on-scroll-text {
    opacity: 0;
    transform: translateY(14px);
}

.reveal-on-scroll-text.is-visible {
    animation: textFadeUpIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-load-text {
    opacity: 0;
    transform: translateY(14px);
}

.hero-load-text.is-visible {
    animation: textFadeUpIn 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    #arrow-scroll-container {
        animation: none !important;
    }

    .reveal-on-scroll-text,
    .hero-load-text {
        opacity: 1 !important;
        transform: none !important;
    }

    .reveal-on-scroll-text.is-visible,
    .hero-load-text.is-visible {
        animation: none !important;
    }
}

@media (max-width: 1024px) {
    #hero-section {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 768px) {
    #hero-section {
        padding-bottom: 24px;
    }

    #hero-section-content-CTA-Btns-container {
        flex-direction: column;
        width: 100%;
    }

    .main-CTA-Btn-element,
    #second-CTA-Btn-element {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    #hero-section-content-CTA-Btns-container {
        margin-bottom: clamp(30px, 6vw, 60px);
    }

    .main-CTA-Btn-element,
    #second-CTA-Btn-element {
        max-width: 280px;
    }
}

/* ===== SERVICES SECTION ===== */
#services-section {
    background-color: #111111;
    border-radius: 16px;
    padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 56px);
}

#services-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

#services-header {
    margin-bottom: clamp(36px, 6vw, 64px);
}

.section-overline {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
    margin: 0 0 clamp(12px, 2vw, 18px) 0;
}

#services-heading {
    font-size: clamp(22px, 3.2vw, 38px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #f9fafb;
    margin: 0;
    max-width: 520px;
}

#services-layout {
    display: grid;
    grid-template-columns: 1fr 0.52fr;
    gap: clamp(32px, 6vw, 72px);
    align-items: start;
}

#services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(12px, 2vw, 18px);
}

.service-card {
    background-color: #1a1a1a;
    border: 1px solid #272727;
    border-radius: 12px;
    padding: clamp(18px, 2.5vw, 28px);
    transition: border-color 0.2s ease;
}

.service-card:hover {
    border-color: #3a3a3a;
}

.service-card-title {
    font-size: clamp(14px, 1.4vw, 16px);
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 clamp(8px, 1.2vw, 12px) 0;
    letter-spacing: -0.01em;
}

.service-card-desc {
    font-size: clamp(12px, 1.2vw, 13.5px);
    line-height: 1.68;
    color: #6b7280;
    margin: 0;
}

#services-photo-wrap {
    border-radius: 12px;
    overflow: hidden;
    position: sticky;
    top: calc(64px + 24px);
}

#services-photo-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

@media (max-width: 900px) {
    #services-layout {
        grid-template-columns: 1fr;
    }

    #services-photo-wrap {
        position: static;
        max-width: 420px;
    }
}

@media (max-width: 560px) {
    #services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== HOW I DO IT SECTION ===== */
#how-I-Doit {
    padding: clamp(30px, 6vw, 86px) clamp(16px, 4vw, 40px);
    background-color: #f5f6f7;
    max-width: 1250px;
    margin: 4rem auto 0;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 4vw, 40px);
    overflow-x: hidden;
    
}

#how-I-Doit-heading {
    text-align: center;
    font-size: clamp(24px, 2vw, 40px);
    font-weight: 700;
    color: #0a0a0a;
    margin: 0;
}

#how-I-Doit-heading h1,
#how-I-Doit-heading h2 {
    margin: 0;
}

#planning-card {
    width: 100%;
    min-height: clamp(180px, 26vh, 280px);
    border-radius: 8px;
}

#other-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: clamp(24px, 4vw, 40px);
    min-height: auto;
}

#long-left-card {
    grid-column: 1;
    grid-row: 1 / 4;
    min-height: clamp(592px, 85.5vh, 855px);
}

#short-right-cards {
    grid-column: 2;
    grid-row: 1 / 4;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    gap: clamp(24px, 4vw, 40px);
}

.how-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: clamp(32px, 6vw, 48px);
    display: flex;
    align-items: start;
    justify-content: start;
}

.card-description {
    margin: 0;
}

.right-small-card {
    flex-direction: column;
    gap: clamp(12px, 2vw, 20px);
    min-height: clamp(230px, 34vh, 380px);
}

.small-card-text-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(100%, 42rem);
    background: #ffffff;
    border: none;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    padding: clamp(12px, 2vw, 18px);
    overflow: hidden;
    z-index: 2;
}

.small-card-text-panel.planning-card-text-panel {
    border-right: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0 0 8px 0;
}

.small-card-text-panel .card-description {
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.68;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #0f172a;
    overflow-wrap: anywhere;
}

#planning-card,
#long-left-card,
#typography-card,
#responsive-card,
#process-card {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#planning-card { background-image: url('./images/card-1/card-1-1.avif'); }
#long-left-card { background-image: url('./images/card-3/card-3-1 longone.avif'); }
#typography-card { background-image: url('./images/card-2/card-2-1.avif'); }
#responsive-card { background-image: url('./images/card-4/card-4-1.avif'); }
#process-card { background-image: url('./images/card-5/card-5-2.avif'); }

#planning-card,
#long-left-card,
#typography-card,
#responsive-card,
#process-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#planning-card:hover,
#long-left-card:hover,
#typography-card:hover,
#responsive-card:hover,
#process-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.15);
}

@media (max-width: 929px) {
    #planning-card {
        background-image: url('./images/card-1/card-1-3.avif');
    }

    .small-card-text-panel {
        padding: clamp(10px, 2.2vw, 16px);
    }
}

@media (max-width: 399px) {
    #planning-card {
        background-image: url('./images/card-1/card-1-4.avif');
    }
}

@media (max-width: 768px) {
    #how-I-Doit {
        max-width: 760px;
    }

    .small-card-text-panel.planning-card-text-panel {
        border-right: none;
        border-radius: 0;
    }

    #other-cards {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: auto;
    }

    #long-left-card {
        grid-column: 1;
        grid-row: auto;
        min-height: clamp(263px, 49.4vh, 494px);
        background-image: url('./images/card-3/card-3-2.avif');
    }

    #short-right-cards {
        grid-column: 1;
        grid-row: auto;
        grid-template-rows: repeat(3, auto);
    }

    .right-small-card {
        min-height: clamp(230px, 34vh, 380px);
    }
}

@media (max-width: 1100px) {
    #responsive-card {
        background-image: url('./images/card-4/card-4-2.avif');
    }
}

@media (max-width: 480px) {
    #how-I-Doit {
        padding: 20px 16px;
        max-width: 460px;
    }

    #planning-card {
        min-height: clamp(115px, 20.7vh, 207px);
    }

    #other-cards {
        gap: 16px;
    }

    .how-card {
        padding: 16px;
    }
}

/* ===== MY APPROACH SECTION ===== */
#what-makes-me-different {
    padding: clamp(40px, 8vw, 80px) clamp(16px, 4vw, 40px);
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: hidden;
}

#what-makes-me-different-heading {
    text-align: center;
    font-size: clamp(24px, 2vw, 40px);
    font-weight: 700;
    color: #0a0a0a;
    margin: 0 0 clamp(60px, 10vw, 100px) 0;
}

#different-section-container-main {
    width: 100%;
}

#timeline-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(20px, 5vw, 40px) 0;
}

#longLine {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    padding: clamp(20px, 3vw, 40px) 0;
}

.round-point-style {
    width: 16px;
    height: 16px;
    background-color: #0a0a0a;
    border: 2px solid #0a0a0a;
    border-radius: 50%;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

#timeline-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vw, 80px);
    position: relative;
}

.different-section-text-container {
    width: 45%;
    padding: clamp(16px, 2vw, 24px);
}

#different-section-text-1 { margin-left: 0; margin-right: auto; text-align: right; }
#different-section-text-2 { margin-left: auto; margin-right: 0; text-align: left; }
#different-section-text-3 { margin-left: 0; margin-right: auto; text-align: right; }
#different-section-text-4 { margin-left: auto; margin-right: 0; text-align: left; }
#different-section-text-5 { margin-left: 0; margin-right: auto; text-align: right; }

.different-section-heading {
    margin: 0 0 clamp(8px, 1vw, 12px) 0;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 600;
    color: #0a0a0a;
}

.different-section-description {
    margin: 0;
    font-size: clamp(13px, 1.5vw, 16px);
    line-height: 1.6;
    color: #374151;
}

@media (max-width: 768px) {
    #timeline-wrapper {
        gap: clamp(30px, 5vw, 60px);
        max-width: 100%;
        padding: 20px 0;
    }

    #longLine {
        left: clamp(12px, 3vw, 16px);
        transform: none;
        padding: clamp(15px, 2vw, 30px) 0;
    }

    .different-section-text-container {
        width: calc(100% - clamp(40px, 10vw, 60px));
        margin-left: clamp(40px, 10vw, 60px) !important;
        margin-right: 0 !important;
        text-align: left !important;
    }
}

@media (max-width: 480px) {
    #what-makes-me-different {
        padding: 40px 16px;
    }

    #timeline-wrapper {
        gap: 28px;
        padding: 16px 0;
    }

    #longLine {
        left: 10px;
        padding: 14px 0;
    }

    .different-section-text-container {
        width: calc(100% - 50px);
        margin-left: 50px !important;
        padding: 14px 12px;
    }

    .different-section-heading {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .different-section-description {
        font-size: 13px;
        line-height: 1.5;
    }
}

/* ===== PHILOSOPHY / ABOUT SECTION ===== */
#philosophy-section {
    position: relative;
    padding-block: clamp(56px, 8vw, 104px);
}

#philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-color: transparent;
    z-index: 0;
    transition: background-color 0.28s ease;
}

#philosophy-section-inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding-inline: clamp(16px, 4vw, 40px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    gap: clamp(28px, 6vw, 92px);
    align-items: start;
}

#philosophy-overline {
    margin: 0 0 clamp(14px, 2vw, 22px) 0;
    font-size: clamp(12px, 1.1vw, 14px);
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
}

#philosophy-heading {
    margin: 0;
    max-width: 660px;
    font-size: clamp(36px, 5.3vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 700;
    color: #0a0a0a;
}

#philosophy-copy {
    max-width: 760px;
}

.philosophy-paragraph {
    margin: 0;
    font-size: clamp(15px, 1.45vw, 19px);
    line-height: 1.58;
    color: #52555a;
}

.philosophy-paragraph + .philosophy-paragraph {
    margin-top: clamp(18px, 3vw, 30px);
}

@media (max-width: 1024px) {
    #philosophy-section-inner {
        grid-template-columns: 1fr;
        gap: clamp(22px, 4vw, 40px);
    }

    #philosophy-heading,
    #philosophy-copy {
        max-width: none;
    }
}

@media (max-width: 640px) {
    #philosophy-section {
        padding-block: clamp(44px, 10vw, 70px);
    }

    #philosophy-overline {
        letter-spacing: 0.12em;
    }
}

/* ===== FINAL CTA SECTION ===== */
#final-cta-section {
    padding-block: clamp(88px, 16vw, 190px);
}

#final-cta-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding-inline: clamp(16px, 4vw, 40px);
    text-align: center;
}

#final-cta-heading {
    margin: 0 auto;
    max-width: 920px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.12;
    letter-spacing: -0.025em;
    font-weight: 700;
    color: #0a0a0a;
}

#final-cta-subtext {
    margin: clamp(18px, 3vw, 32px) 0 0;
    font-size: clamp(16px, 1.8vw, 24px);
    line-height: 1.5;
    color: #5b6472;
}

#final-cta-button {
    margin-top: clamp(24px, 4vw, 40px);
    min-width: clamp(190px, 24vw, 250px);
}

@media (max-width: 640px) {
    #final-cta-section {
        padding-block: clamp(72px, 18vw, 126px);
    }

    #final-cta-button {
        width: 100%;
        max-width: 300px;
    }
}

/* ===== FOOTER ===== */
#footer {
    padding: clamp(20px, 4vw, 40px) clamp(16px, 4vw, 40px);
    font-size: clamp(12px, 1.5vw, 16px);
    color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

#footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    line-height: 0;
}

#footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

#footer-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

#footer-headings-2 {
    margin: 0;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 600;
    color: #0a0a0a;
    letter-spacing: 0.01em;
}

#footer-copyright {
    text-align: center;
}

#footer-copyright p {
    margin: 0;
}

#footer a {
    color: #383e46;
    text-decoration: none;
    font-weight: 500;
}

.footer-icon-link {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.footer-icon-link img {
    width: 24px;
    height: 24px;
    display: block;
}

#footer .simple-link {
    border-bottom: 1px solid transparent;
}

#footer .simple-link:hover {
    border-bottom-color: #000000;
}

@media (max-width: 768px) {
    #footer {
        gap: 12px;
    }
}

@media (min-width: 1001px) {
    #footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: clamp(24px, 4vw, 56px);
        row-gap: 14px;
    }

    #footer-legal {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        align-items: flex-start;
    }

    #footer-privacy {
        justify-content: flex-start;
        gap: 14px;
    }

    #footer-headings-2 {
        align-self: center;
        width: 100%;
        text-align: center;
    }

    #footer-social {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    #footer-copyright {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
    }
}

/* ===== DARK MODE TRANSITIONS ===== */
body,
#site-nav,
#main-content-whitespace-container,
#hero-section,
#services-section,
.service-card,
#how-I-Doit,
#what-makes-me-different,
#philosophy-section,
#final-cta-section,
#footer,
.how-card,
.small-card-text-panel,
#switchThemeBtn,
#longLine,
.round-point-style,
.different-section-text-container,
.my-work-project-image-placeholder {
    transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

/* ===== DARK MODE ===== */
body.dark-mode {
    background-color: #070d19;
    color: #e5e7eb;
}

body.dark-mode #main-content-whitespace-container {
    background-color: #070d19;
}

body.dark-mode #site-nav {
    background-color: rgba(7, 13, 25, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

body.dark-mode #nav-logo {
    color: #f9fafb;
}

body.dark-mode .nav-link {
    color: #9ca3af;
}

body.dark-mode .nav-link:hover {
    color: #f9fafb;
}

body.dark-mode #nav-right .nav-cta-link {
    background-color: #f9fafb;
    color: #0a0a0a;
}

body.dark-mode #nav-right .nav-cta-link:hover {
    background-color: #e5e7eb;
}

body.dark-mode #nav-mobile-btn {
    color: #9ca3af;
}

body.dark-mode #nav-mobile-menu {
    background-color: rgba(7, 13, 25, 0.97);
    border-top-color: rgba(255, 255, 255, 0.07);
}

body.dark-mode .nav-mobile-link {
    color: #9ca3af;
}

body.dark-mode .nav-mobile-link:hover {
    color: #f9fafb;
}

body.dark-mode .nav-mobile-cta {
    background-color: #f9fafb;
    color: #0a0a0a !important;
}

body.dark-mode #switchThemeBtn {
    color: #f8fafc;
    border-color: #334155;
}

body.dark-mode #switchThemeBtn:hover {
    border-color: #4b5563;
    background-color: rgba(30, 41, 59, 0.6);
}

body.dark-mode #hero-section-heading-text {
    color: #f8fafc;
}

body.dark-mode #hero-section-subheading-text {
    color: #9ca3af;
}

body.dark-mode #arrow-scroll-container {
    color: #6b7280;
}

body.dark-mode .main-CTA-Btn-element {
    background-color: #f9fafb;
    color: #0a0a0a;
}

body.dark-mode .main-CTA-Btn-element:hover {
    background-color: #e5e7eb;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

body.dark-mode #second-CTA-Btn-element {
    border-color: #374151;
    background-color: transparent;
    color: #d1d5db;
}

body.dark-mode #second-CTA-Btn-element:hover {
    border-color: #6b7280;
    color: #f9fafb;
}

body.dark-mode #services-section {
    background-color: #0d0d0d;
}

body.dark-mode .service-card {
    background-color: #161616;
    border-color: #252525;
}

body.dark-mode .service-card-title {
    color: #f1f5f9;
}

body.dark-mode .service-card-desc {
    color: #6b7280;
}

body.dark-mode #how-I-Doit-heading h1,
body.dark-mode #how-I-Doit-heading h2,
body.dark-mode #what-makes-me-different-heading h2,
body.dark-mode #what-makes-me-different-heading,
body.dark-mode #philosophy-heading,
body.dark-mode #final-cta-heading,
body.dark-mode #footer-headings-2,
body.dark-mode .different-section-heading {
    color: #f8fafc;
}

body.dark-mode .different-section-description,
body.dark-mode .philosophy-paragraph,
body.dark-mode #final-cta-subtext,
body.dark-mode #footer,
body.dark-mode .card-description {
    color: #cbd5e1;
}

body.dark-mode #philosophy-section::before {
    background-color: transparent;
}

body.dark-mode #philosophy-overline {
    color: #6b7280;
}

body.dark-mode #how-I-Doit {
    background-color: #020813;
}

body.dark-mode .how-card {
    background-color: #0f172a;
    box-shadow: 0 16px 30px rgba(2, 6, 23, 0.42);
}

body.dark-mode #planning-card {
    background-image: url('./images/card-1/card darkmode-1-1.avif');
}

body.dark-mode #long-left-card {
    background-image: url('./images/card-3/card darkmode-3-1 longone.avif');
}

body.dark-mode #typography-card {
    background-image: url('./images/card-2/card darkmode-2-1.avif');
}

body.dark-mode #responsive-card {
    background-image: url('./images/card-4/card darkmode-4-1.avif');
}

body.dark-mode #process-card {
    background-image: url('./images/card-5/card darkmode-5-2.avif');
}

@media (max-width: 1100px) {
    body.dark-mode #responsive-card {
        background-image: url('./images/card-4/card darkmode-4-2.avif');
    }
}

@media (max-width: 768px) {
    body.dark-mode #long-left-card {
        background-image: url('./images/card-3/card darkmode-3-2.avif');
    }
}

body.dark-mode .small-card-text-panel {
    background: #0b1424;
    border-bottom-color: rgba(100, 116, 139, 0.65);
}

body.dark-mode .small-card-text-panel .card-description {
    color: #e2e8f0;
}

body.dark-mode #longLine {
    background-color: #334155;
}

body.dark-mode .round-point-style {
    background-color: #f1f5f9;
    border-color: #f1f5f9;
}

body.dark-mode .different-section-text-container {
    background-color: rgba(15, 23, 42, 0.45);
    border-radius: 10px;
}

body.dark-mode #footer a {
    color: #93c5fd;
}

body.dark-mode #footer a:hover {
    color: #bfdbfe;
}

body.dark-mode hr {
    border-color: #334155;
}

body.dark-mode #footer .simple-link:hover {
    border-bottom-color: #60a5fa;
}

@media (max-width: 929px) {
    body.dark-mode #planning-card {
        background-image: url('./images/card-1/card darkmode-1-3.avif');
    }
}

@media (max-width: 399px) {
    body.dark-mode #planning-card {
        background-image: url('./images/card-1/card darkmode-1-4.avif');
    }
}


/* ===== PROJECTS SECTION ===== */
#projects-section {
    padding: clamp(64px, 10vw, 112px) clamp(16px, 4vw, 40px);
}

#projects-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

#projects-header {
    margin-bottom: clamp(36px, 6vw, 56px);
}

.projects-overline {
    color: #2f6b61;
}

#projects-heading {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0a0a0a;
    margin: 0 0 clamp(10px, 1.5vw, 16px) 0;
    line-height: 1.12;
}

#projects-subheading {
    font-size: clamp(15px, 1.6vw, 18px);
    color: #5b6472;
    margin: 0;
    line-height: 1.55;
}

#projects-grid {
    display: grid;
    gap: 20px;
}

/* Featured project card */
.project-card {
    display: block;
    text-decoration: none;
    background-color: #111111;
    border-radius: 16px;
    padding: clamp(28px, 4vw, 48px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: none;
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.project-card:focus-visible {
    outline: 3px solid #2f6b61;
    outline-offset: 4px;
}

.project-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: clamp(18px, 3vw, 28px);
}

.project-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
}

.project-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4ade80;
    background-color: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    padding: 4px 10px;
    border-radius: 999px;
}

.project-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #4ade80;
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.project-card-name {
    font-size: clamp(34px, 5.5vw, 64px);
    font-weight: 700;
    color: #f9fafb;
    margin: 0 0 clamp(10px, 1.5vw, 16px) 0;
    letter-spacing: -0.03em;
    line-height: 1;
}

.project-card-tagline {
    font-size: clamp(16px, 1.8vw, 21px);
    font-weight: 500;
    color: #e5e7eb;
    margin: 0 0 clamp(14px, 2.5vw, 22px) 0;
    line-height: 1.4;
    max-width: 680px;
}

.project-card-desc {
    font-size: clamp(14px, 1.35vw, 16px);
    color: #9ca3af;
    line-height: 1.65;
    margin: 0 0 clamp(24px, 4vw, 36px) 0;
    max-width: 720px;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.tech-tag {
    font-size: 12px;
    font-weight: 500;
    color: #d1d5db;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 6px;
}

.project-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #f9fafb;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.project-card:hover .project-card-cta {
    background-color: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Dark mode adjustments for projects section */
body.dark-mode #projects-heading {
    color: #f1f5f9;
}

body.dark-mode #projects-subheading {
    color: #94a3b8;
}

/* ===== SMOOTH SCROLL & SECTION REVEAL ===== */
section {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Hero is always visible on load */
#hero-section {
    opacity: 1 !important;
    transform: none !important;
}

/* ===== FOOTER NAV ===== */
#footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav-link {
    font-size: clamp(13px, 1.4vw, 15px);
    color: #383e46;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.18s ease;
}

.footer-nav-link:hover {
    color: #000;
}

.footer-nav-link--cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #111;
    color: #fff !important;
    padding: 7px 16px;
    border-radius: 7px;
    font-weight: 600;
    font-size: clamp(12px, 1.3vw, 14px);
    letter-spacing: 0.01em;
    transition: background-color 0.18s ease, transform 0.15s ease;
}

.footer-nav-link--cta:hover {
    background: #222;
    transform: translateY(-1px);
}

body.dark-mode .footer-nav-link {
    color: #94a3b8;
}

body.dark-mode .footer-nav-link:hover {
    color: #f1f5f9;
}

body.dark-mode .footer-nav-link--cta {
    background: #f1f5f9;
    color: #0a0a0a !important;
}

body.dark-mode .footer-nav-link--cta:hover {
    background: #fff;
}

@media (min-width: 1001px) {
    #footer-nav {
        justify-content: flex-start;
        grid-column: 2;
        grid-row: 1 / 3;
        justify-self: end;
        align-self: center;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    #footer-nav {
        gap: 12px;
    }
}


/* ===== HUMAN-MADE DESIGN PRINCIPLES APPLIED =====
   1. One voice — copy sounds like a person, not a pitch deck
   2. Specific details — age, city, real project
   3. Single accent color (used sparingly)
   4. Intentional whitespace — nothing crammed
   5. No gradients — flat colors only
   6. 1-2 font weights — 400 and 700 only (no 500/600 mixing)
   7. No hover effects that exist just to impress
   8. Sections have a point — each one makes an argument
   9. Slight asymmetry — not everything centered
   10. The page has a POV — it makes a case, not a feature list
*/

/* Tighten button border radius to feel less rounded/playful */
.main-CTA-Btn-element,
.nav-cta-link {
    border-radius: 7px;
}

/* Remove bounce animation from arrow — too animated */
#arrow-scroll-container {
    animation: none;
}

/* Simpler, quieter hover for arrow */
#arrow-scroll-container:hover {
    color: #0a0a0a;
    transform: translateY(3px);
}

/* Better section spacing consistency */
#services-section,
#projects-section,
#philosophy-section {
    margin-top: clamp(24px, 4vw, 48px);
}

/* Philosophy section — clean, no full-bleed background */
#philosophy-section {
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

body.dark-mode #philosophy-section {
    border-top-color: #1f2937;
    border-bottom-color: #1f2937;
}

/* Make the services section feel less like a separate "theme" — match border radius of project card */
#services-section {
    border-radius: 14px;
}

/* Quieter card hover on how-I-Doit cards */
#planning-card:hover,
#long-left-card:hover,
#typography-card:hover,
#responsive-card:hover,
#process-card:hover {
    transform: none;
    box-shadow: none;
}

/* Timeline — make dots simpler and on-brand */
.round-point-style {
    width: 12px;
    height: 12px;
}

/* Section overlines — one consistent style across all sections */
.section-overline,
#philosophy-overline {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
}

/* Services overline match */
#services-section .section-overline {
    color: #6b7280;
}

/* Footer HR — very subtle */
hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 0;
}

body.dark-mode hr {
    border-top-color: #1f2937;
}

/* Philosophy heading — less huge, more readable */
#philosophy-heading {
    font-size: clamp(28px, 4vw, 46px);
    letter-spacing: -0.025em;
}

/* ===== FOOTER GRID FIX — resolve overlap between footer-nav and footer-social ===== */
@media (min-width: 1001px) {
    #footer {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto auto;
        align-items: start;
        column-gap: clamp(32px, 5vw, 64px);
        row-gap: 10px;
    }

    #footer-legal {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        align-items: flex-start;
    }

    #footer-social {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
        margin-top: 4px;
    }

    #footer-nav {
        grid-column: 2;
        grid-row: 1 / 3;
        justify-self: end;
        justify-content: flex-end;
        align-self: center;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }

    #footer-copyright {
        grid-column: 1 / -1;
        grid-row: 3;
        justify-self: start;
        margin-top: 8px;
    }
}
