/* =============================================================================
   FONTS
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

/* Local fallback for offline/file:// preview — remove before deploying */
@font-face {
    font-family: 'Inter';
    src: local('Inter'),
         url('/Users/aaronscott/Library/Fonts/Inter-VariableFont_slnt,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: oblique -10deg 0deg;
    font-display: swap;
}

/* =============================================================================
   RESET & BASE
   ============================================================================= */

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

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: #222;
}

/* Page-specific body backgrounds */
.page-home {
    background: #F3F3F5;
}

.page-profile,
.page-contact {
    background: #F6F7F8;
}

.page-writing{
    background: #F3F3F5;
}

.page-post {
    background: #fff;
}

/* =============================================================================
   GLOBAL HEADLINE LETTER SPACING
   ============================================================================= */

.hero-headline,
.card-headline,
.post-headline,
.post-header .post-headline,
.next-post-footer .next-post-headline,
.next-project-footer .next-project-headline,
.two-col-section .section-headline,
.callout-section .callout-text,
.page-post .post-content .body-copy .secondary-headline,
.page-post .post-content .body-copy .subheader,
.two-col-section .body-copy .secondary-headline,
.two-col-section .body-copy .subheader {
    letter-spacing: -0.01em;
}

/* =============================================================================
   PROFILE PAGE
   ============================================================================= */

.profile-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    padding: 190px 20px 160px;
}

.profile-content .hero-video {
    margin-bottom: 40px;
}

/* =============================================================================
   CONTACT PAGE
   ============================================================================= */

.contact-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
    justify-content: center;
}

.contact-content .intro-section {
    text-align: center;
    background: #fff;
    border-radius: 24px;
    width: 70vw;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    justify-content: center;
    padding: 0 120px;
}

.contact-content .intro-text {
    padding-bottom: 40px;
}

.page-contact .hero-headline {
    text-align: center;
}

.say-hi-button {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 999px;
    padding: 16px 40px;
    color: #222;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.say-hi-button:hover {
     background-color: rgba(0, 0, 0, 0.1);
    color: #111;
}

/* Text Links */
a {
    color: #555;
    text-decoration: underline;
}

a:hover {
    color: #333;
}

/* =============================================================================
   SITE LOGO
   ============================================================================= */

.site-logo {
    position: fixed;
    top: 36px;
    left: 50px;
    z-index: 1000;
    text-decoration: none;
}

.site-logo img {
    display: block;
    height: 29px;
    width: 64px;
    filter: brightness(0) invert(1) brightness(0.133);
    transition: opacity 0.2s ease;
}

.site-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 29px;
    background: url('_imgs/logo-glasses-hover.svg') no-repeat center / contain;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.site-logo:hover img {
    opacity: 0;
}

.site-logo:hover::after {
    opacity: 1;
}

.site-logo.logo-dark img {
    filter: brightness(0);
}

/* =============================================================================
   NAVIGATION — Default: dark text on light background
   ============================================================================= */

.nav-container {
    position: fixed;
    left: 3%;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 999px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 16px;
    z-index: 1000;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-item::before {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.2s ease;
    z-index: -1;
}

.nav-item:hover::before {
    background-color: rgba(0, 0, 0, 0.08);
}

.nav-item svg {
    width: 24px;
    height: 24px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.nav-item svg rect[fill="white"],
.nav-item svg path[fill="white"] {
    fill: #000;
}

.nav-item:hover svg {
    opacity: 0.8;
}

.nav-item.active svg {
    opacity: 1.0;
}

.nav-label {
    position: absolute;
    left: calc(100% + 16px);
    color: #000;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.nav-item:hover .nav-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}



/* =============================================================================
   BACKGROUND CIRCLES (home)
   ============================================================================= */

.background-circles {
    position: fixed;
    top: -600px;
    left: -600px;
    width: calc(100% + 1200px);
    height: calc(100% + 1200px);
    pointer-events: none;
    z-index: -1000;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(500px);
    will-change: transform;
}

/* =============================================================================
   INTRO SECTION (home + writing)
   ============================================================================= */

.intro-section {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 960px;
}

.intro-emoji {
    font-size: 20px;
    margin-bottom: 16px;
    margin-right: 6px;
}

.intro-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

/* Home variant */
.page-home .intro-section {
    margin-bottom: -90px;
}

.page-home .intro-text,
.page-contact .intro-text {
    color: #222;
}

/* Writing variant */
.page-writing .intro-section {
    margin: 0 auto;
    padding-top: 80px;
    padding-bottom: 60px;
}

.page-writing .intro-text {
    color: #222;
}

/* =============================================================================
   CARDS CONTAINER & CARD STYLES (home)
   ============================================================================= */

.cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 0 160px 0;
    gap: 180px;
}

.card {
    width: 70vw;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1), 0px 0px 24px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.5s ease;
}

.card:hover .card-background {
    transform: scale(1.03);
}

.card-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    transition: background-color 0.3s ease;
}

.card:hover .card-background::after {
    background-color: rgba(0, 0, 0, 0.1);
}

.card-content {
    position: relative;
    z-index: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.client-logo {
    height: auto;
}

.client-logo img {
    max-height: 40px;
    width: auto;
    height: auto;
}

.card-text {
    max-width: 50%;
    margin-top: auto;
    margin-bottom: 24px;
}

.card-headline {
    font-size: 40px;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.15;
    margin-bottom: 16px;
}

.card-paragraph {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.card-footer {
    display: flex;
    align-items: flex-end;
}

.arrow-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.card:hover .arrow-button {
    background-color: rgba(255, 255, 255, 1);
}

.arrow-button svg {
    width: 24px;
    height: 24px;
    fill: #FFFFFF;
    transition: fill 0.3s ease;
}

.card:hover .arrow-button svg {
    fill: #333333;
}

/* =============================================================================
   DOT CAROUSEL (home)
   ============================================================================= */

.dot-carousel {
    position: fixed;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1000;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background-color: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    height: 26px;
    background-color: rgba(0, 0, 0, .6);
}

/* =============================================================================
   POSTS CONTAINER & BLOG POST CARDS (writing)
   ============================================================================= */

.posts-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 120px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.blog-post {
    display: flex;
    gap: 32px;
    padding: 32px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 1);
    align-items: flex-start;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    text-decoration: none;
}

.blog-post:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.post-image {
    width: 160px;
    height: 160px;
    min-width: 160px;
    border-radius: 0;
    overflow: visible;
    position: relative;
    background: transparent;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.4s ease;
}

.post-image img.hover-image {
    opacity: 0;
}

.blog-post:hover .post-image img.default-image {
    opacity: 0;
}

.blog-post:hover .post-image img.hover-image {
    opacity: 1;
}

.page-writing .post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-headline {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 112%;
    color: #000;
    margin: 0;
}

.post-body {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 160%;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================================================
   POST HEADER & POST CONTENT (post)
   ============================================================================= */

.post-header {
    max-width: 850px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.post-header .post-image {
    width: 200px;
    height: 200px;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    margin-bottom: 40px;
}

.post-header .post-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.post-header .post-headline {
    font-size: 44px;
    font-weight: 500;
    line-height: 112%;
    color: #000;
    margin: 0;
}

.page-post .post-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.page-post .post-content .body-copy {
    font-size: 18px;
    line-height: 160%;
    color: #222;
}

.page-post .post-content .body-copy p {
    margin-bottom: 24px;
}

.page-post .post-content .body-copy .secondary-headline {
    font-size: 26px;
    font-weight: 500;
    margin-top: 48px;
    margin-bottom: 16px;
}

.page-post .post-content .body-copy .subheader {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
}

.page-post .post-content .body-copy ul {
    padding-left: 20px;
    list-style-type: disc;
    margin-bottom: 24px;
}

.page-post .post-content .body-copy ul li {
    margin-bottom: 8px;
}

/* Article Image — Full Width (post) */
.article-image {
    width: calc(100vw - 20vw);
    margin: 48px calc(-1 * (100vw - 20vw - 850px) / 2 - 24px);
    margin-left: calc(-1 * (100vw - 20vw - 850px) / 2 - 24px);
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Next Post Footer (post) */
.next-post-footer {
    position: relative;
    height: 330px;
    margin: 5vw 10vw 0 10vw;
    background-color: #fff;
    border: 1px solid #DDE2E8;
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    padding: 0 40px;
    gap: 40px;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.next-post-footer:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.next-post-footer .next-post-image-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #eee;
    transition: transform 0.3s ease;
}

.next-post-footer:hover .next-post-image-wrapper {
    transform: scale(1.05);
}

.next-post-footer .next-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.next-post-footer .next-post-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.next-post-footer .next-post-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(74, 93, 249, 1.0);
}

.next-post-footer .next-post-headline {
    font-size: 40px;
    font-weight: 500;
    color: #222;
    line-height: 1.15;
}

.next-post-footer .arrow-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    margin-top: 4px;
}

.next-post-footer:hover .arrow-button {
    background-color: rgba(34, 34, 34, 1);
}

.next-post-footer .arrow-button svg {
    width: 24px;
    height: 24px;
    fill: #222;
    transition: fill 0.3s ease;
}

.next-post-footer:hover .arrow-button svg {
    fill: #FFFFFF;
}

/* =============================================================================
   HERO SECTION (project)
   ============================================================================= */

.hero-section {
    position: relative;
    background: #F3F3F5;
    overflow: hidden;
    padding: 120px 60px 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-bg-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(500px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 960px;
    width: 100%;
}

.hero-headline {
    font-size: 52px;
    line-height: 110%;
    text-align: left;
    color: #222;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-subheadline {
    font-size: 24px;
    line-height: 150%;
    font-weight: 400;
    text-align: left;
    color: #222;
    opacity: 0.85;
    margin-bottom: 48px;
}

.hero-video {
    width: 960px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    margin: 0 auto 64px;
    display: block;
}

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

.stat-box--light {
    position: relative;
    overflow: hidden;
    color: #222;
    background: #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05), 0px 0px 24px rgba(0, 0, 0, 0.05);
}

/* =============================================================================
   TWO-COL SECTION (project)
   ============================================================================= */

.two-col-section {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    padding: 80px 60px;
    margin-left: 12vw;
    margin-right: 12vw;
}

.two-col-section + .two-col-section {
    padding-top: 0px;
}

.two-col-section:has(+ .two-col-section) {
    padding-bottom: 40px;
}

.two-col-section .section-headline {
    flex: 1;
    font-size: 32px;
    font-weight: 500;
    line-height: 112%;
}

.two-col-section .body-copy {
    flex: 2.5;
    font-size: 18px;
    line-height: 160%;
}

.two-col-section .body-copy .secondary-headline {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 8px;
}

.two-col-section .body-copy .subheader {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
}

.two-col-section .body-copy ul {
    padding-left: 20px;
    list-style-type: disc;
}

.two-col-section .body-copy ul li {
    margin-bottom: 8px;
}

/* =============================================================================
   IMAGE CAPTION SECTION (project)
   ============================================================================= */

.image-caption-section {
    display: flex;
    align-items: center;
    gap: 40px;
     background-color: #F6F7F8;
    padding: 20px 40px 20px 20px;
    border-radius: 24px;
    margin-left: calc(10vw + 60px + (100% - 10vw - 10vw - 120px) * (1 / 3.5) + 40px);
    margin-right: 12vw;
    margin-bottom: 60px;
    max-width: 1400px;
}

.project-image {
    box-shadow: 0px 12px 16px rgba(0, 0, 0, 0.18);
}

.image-caption-section .project-image {
    width: 295px;
    min-width: 295px;
    height: 295px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: none;
}

.image-caption-section .caption-text {
    font-size: 18px;
    line-height: 150%;
    color: #716F6D;
}

/* =============================================================================
   FULL-WIDTH IMAGE SECTION (project)
   ============================================================================= */

.full-width-image-section {
    width: 100vw;
    background-color: #F6F7F8;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 60px;
}

.full-width-image-section .project-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 24px;
    margin-left: 10vw;
    margin-right: 10vw;
}

.full-width-image-section .caption-text {
    font-size: 16px;
    line-height: 150%;
    color: #716F6D;
    text-align: center;
    margin-top: 30px;
}

.full-width-image-section.mobile .project-image {
    width: 393px;
    height: 852px;
    max-width: 393px;
    aspect-ratio: 131 / 194;
}

/* =============================================================================
   CALLOUT SECTION (project)
   ============================================================================= */

.callout-section {
    padding: 80px 60px;
    margin-left: 12vw;
    margin-right: 12vw;
    max-width: 60vw;
}

.callout-section .callout-text {
    font-size: 44px;
    font-weight: 700;
    line-height: 120%;
}

/* =============================================================================
   STATS GRID SECTION (project)
   ============================================================================= */

.stats-grid-section {
    padding: 40px 0 60px;
    margin-left: calc(10vw + 60px + (100% - 10vw - 10vw - 120px) * (1 / 3.5) + 40px);
    margin-right: 10vw;
}

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

.stat-box {
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1 / 1;
}

.stat-box--dark {
    color: #fff;
    background: #222;
}

.stat-box .stat-number {
    font-size: 70px;
    font-weight: 500;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-box .stat-label {
    font-size: 16px;
    font-weight: 500;
    text-align: left;
}

.stat-box .stat-description {
    font-size: 16px;
    font-weight: 300;
    text-align: left;
    margin-top: 4px;
}


/* =============================================================================
   NEXT PROJECT FOOTER (project)
   ============================================================================= */

.next-project-footer {
    position: relative;
    height: 330px;
    margin: 5vw 10vw 0 10vw;
    background-color: #fff;
    border: 1px solid #DDE2E8;
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    padding: 0 40px;
    gap: 40px;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.next-project-footer:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.next-project-footer .next-project-image-wrapper {
    height: 260px;
    aspect-ratio: 3/2;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.next-project-footer .next-project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.next-project-footer:hover .next-project-image {
    transform: scale(1.03);
}

.next-project-footer .next-project-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.next-project-footer .next-project-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(74, 93, 249, 1.0);
}

.next-project-footer .next-project-headline {
    font-size: 40px;
    font-weight: 500;
    color: #222;
    line-height: 1.15;
}

.next-project-footer .next-project-subheadline {
    font-size: 18px;
    font-weight: 400;
    color: rgba(34, 34, 34, 0.85);
    line-height: 1.6;
}

.next-project-footer .arrow-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    margin-top: 4px;
}

.next-project-footer:hover .arrow-button {
    background-color: rgba(34, 34, 34, 1);
}

.next-project-footer .arrow-button svg {
    width: 24px;
    height: 24px;
    fill: #222;
    transition: fill 0.3s ease;
}

.next-project-footer:hover .arrow-button svg {
    fill: #FFFFFF;
}

/* =============================================================================
   PROGRESS BAR (project)
   ============================================================================= */

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10000;
    background: rgba(197, 197, 197, 0.3);
}

.progress-bar-fill {
    height: 100%;
    width: 10%;
    background: rgba(74, 93, 249, 0.8);
}

/* =============================================================================
   RESPONSIVE — Wide desktop (1025px – 1600px)
   ============================================================================= */

@media (min-width: 1025px) and (max-width: 1600px) {

    .image-caption-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .image-caption-section .project-image {
        width: 50%;
        min-width: 0;
        height: auto;
        aspect-ratio: 1 / 1;
    }

}

/* =============================================================================
   RESPONSIVE — Small desktop (max-width: 1260px)
   ============================================================================= */

@media (max-width: 1260px) {

    .stats-grid-section {
        margin-left: 8vw;
        margin-right: 8vw;
    }

    .stat-box .stat-number {
        font-size: 56px;
    }

}

/* =============================================================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ============================================================================= */

@media (max-width: 1024px) {

    /* Shared: Logo */
    .site-logo {
        position: relative;
        display: block;
        width: fit-content;
        margin: 36px auto 64px;
    }

    /* Profile */
    .profile-content {
        padding: 60px 20px 120px;
    }

    .page-contact .site-logo {
        position: absolute;
        top: 36px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .contact-content .intro-section {
        padding: 40px;
    }

    /* Home: Cards */
    .card {
        width: 85vw;
    }

    .card-content {
        padding: 24px;
    }

    .card-headline {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .card-paragraph {
        font-size: 16px;
    }

    .card-text {
        max-width: 65%;
    }

    .cards-container {
        gap: 120px;
        padding: 60px 0 120px 0;
    }

    .page-home .intro-section {
        max-width: 85vw;
    }

    /* Writing: Intro & Posts */
    .page-writing .intro-section {
        max-width: 85vw;
        padding-top: 60px;
    }

    .posts-container {
        max-width: 90%;
        gap: 48px;
    }

    .blog-post {
        padding: 24px;
        gap: 24px;
    }

    .post-image {
        width: 120px;
        height: 120px;
        min-width: 120px;
    }

    .post-headline {
        font-size: 26px;
    }

    .post-body {
        font-size: 18px;
    }

    /* Post: Header & Content */
    .post-header {
        padding-top: 60px;
    }

    .post-header .post-image {
        width: 160px;
        height: 160px;
        margin-bottom: 32px;
    }

    .post-header .post-headline {
        font-size: 36px;
    }

    .page-post .post-content .body-copy {
        font-size: 18px;
    }

    .page-post .post-content .body-copy .secondary-headline {
        font-size: 24px;
    }

    .article-image {
        width: calc(100vw - 10vw);
        margin: 40px calc(-1 * (100vw - 10vw - 100%) / 2);
        margin-left: calc(-1 * (100vw - 10vw - 100%) / 2);
    }

    .next-post-footer {
        padding: 0 40px;
        gap: 32px;
    }

    .next-post-footer .next-post-image-wrapper {
        width: 160px;
        height: 160px;
    }

    .next-post-footer .next-post-headline {
        font-size: 32px;
    }

    /* Project: Hero */
    .hero-section {
        padding: 60px 20px;
    }

    .hero-headline {
        font-size: 48px;
    }

    .hero-subheadline {
        font-size: 20px;
        margin-bottom: 36px;
    }

    .hero-results-grid {
        gap: 16px;
    }

    .stat-box {
        padding: 20px;
    }

    .stat-box .stat-number {
        font-size: 48px;
    }

    .stat-box .stat-label {
        font-size: 14px;
    }

    .stat-box .stat-description {
        font-size: 14px;
    }

    /* Project: Two-col & sections */
    .two-col-section {
        flex-direction: column;
        gap: 24px;
        padding: 60px 40px;
        margin-left: 5w;
        margin-right: 5vw;
    }

    .two-col-section .section-headline {
        font-size: 36px;
    }

    .two-col-section .body-copy {
        font-size: 18px;
    }

    .image-caption-section {
        margin-left: 5vw;
        margin-right: 5vw;
        gap: 20px;
    }

    .image-caption-section .project-image {
        width: 200px;
        min-width: 200px;
        height: 200px;
    }

    .callout-section {
        padding: 60px 40px;
        margin-left: 5vw;
        margin-right: 5vw;
        max-width: 80vw;
    }

    .callout-section .callout-text {
        font-size: 40px;
    }

    .stats-grid-section {
        margin-left: 5vw;
        margin-right: 5vw;
        padding: 20px 0 60px;
    }

    /* Project: Next Project Footer */
    .next-project-footer {
        padding: 0 40px;
        gap: 32px;
    }

    .next-project-footer .next-project-image-wrapper {
        width: 200px;
        height: 200px;
    }

    .next-project-footer .next-project-headline {
        font-size: 32px;
    }

    .next-project-footer .next-project-subheadline {
        font-size: 18px;
    }
}

/* =============================================================================
   RESPONSIVE — Mobile (max-width: 767px)
   ============================================================================= */

@media (max-width: 767px) {

    /* Shared: Logo */
    .site-logo {
        position: static;
        display: block;
        width: fit-content;
        margin: 36px auto 64px;
    }

    /* Profile */
    .profile-content {
        padding: 20px 16px calc(80px + 80px);
        min-height: 100vh;
        justify-content: flex-start;
    }

    .page-contact .site-logo {
        position: absolute;
        top: 36px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .say-hi-button {
        font-size: 16px;
        padding: 14px 32px;
    }

    .contact-content {
        padding: 0 8px;
    }

    .contact-content .intro-section {
        padding: 30px;
        width: 90vw;
    }

    /* Shared: Nav → bottom bar */
    .nav-container {
        position: fixed;
        left: 50%;
        bottom: 16px;
        top: auto;
        transform: translateX(-50%);
        flex-direction: row;
        width: auto;
        border-radius: 999px;
        gap: 44px;
        justify-content: center;
        padding: 16px;
        background-color: rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .nav-item svg {
        transform: none !important;
    }

    .nav-label {
        display: none;
    }

    /* Home: Cards & Dots */
    .card {
        width: 80vw;
        max-width: 360px;
        aspect-ratio: 2 / 3;
    }

    .card-content {
        padding: 20px;
    }

    .card-headline {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .card-paragraph {
        font-size: 14px;
        line-height: 1.4;
    }

    .card-text {
        max-width: 90%;
        margin-bottom: 16px;
    }

    .client-logo img {
        max-height: 28px;
    }

    .card .arrow-button {
        width: 36px;
        height: 36px;
    }

    .card .arrow-button svg {
        width: 20px;
        height: 20px;
    }

    .cards-container {
        gap: 96px;
        padding: 20px 0 calc(80px + 80px) 0;
    }

    .page-home .intro-section {
        max-width: 80vw;
        padding: 16px 0 20px 0;
    }

    .page-home .intro-text {
        font-size: 14px;
    }

    .dot-carousel {
        right: 3%;
    }

    /* Writing: Intro & Posts */
    .page-writing .intro-section {
        max-width: 90vw;
        padding: 20px 0;
    }

    .page-writing .intro-text {
        font-size: 14px;
    }

    .posts-container {
        max-width: 100%;
        padding: 0 16px 120px;
        gap: 32px;
    }

    .blog-post {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        align-items: center;
    }

    .post-image {
        width: 140px;
        height: 140px;
        min-width: 140px;
    }

    .page-writing .post-content {
        text-align: left;
        gap: 10px;
    }

    .post-headline {
        font-size: 24px;
        text-align: center;
    }

    .post-body {
        font-size: 16px;
        line-height: 150%;
    }

    /* Post: Header & Content */
    .post-header {
        padding: 20px 16px 40px;
    }

    .post-header .post-image {
        width: 140px;
        height: 140px;
        margin-bottom: 24px;
    }

    .post-header .post-headline {
        font-size: 28px;
    }

    .page-post .post-content {
        padding: 0 16px 60px;
    }

    .page-post .post-content .body-copy {
        font-size: 16px;
    }

    .article-image {
        width: calc(100vw - 8vw);
        margin: 32px -16px;
        margin-left: -16px;
        border-radius: 12px;
    }

    .page-post .post-content .body-copy .secondary-headline {
        font-size: 22px;
        margin-top: 32px;
    }

    .next-post-footer {
        height: auto;
        margin-left: 4vw;
        margin-right: 4vw;
        padding: 32px 20px 100px;
        flex-direction: column;
        gap: 24px;
        align-items: center;
        text-align: center;
    }

    .next-post-footer .next-post-image-wrapper {
        width: 140px;
        height: 140px;
    }

    .next-post-footer .next-post-text {
        gap: 8px;
        align-items: center;
    }

    .next-post-footer .next-post-headline {
        font-size: 24px;
    }

    .next-post-footer .arrow-button {
        align-self: center;
    }
}

/* =============================================================================
   RESPONSIVE — Mobile (max-width: 600px) — Project-specific
   ============================================================================= */

@media (max-width: 600px) {

    /* Project: Hero */
    .hero-headline {
        font-size: 32px;
    }

    .hero-section {
        padding: 36px 20px 100px;
    }

    .hero-subheadline {
        font-size: 18px;
        margin-bottom: 28px;
    }

    /* Project: Two-col & sections */
    .two-col-section {
        padding: 40px 20px;
        gap: 16px;
        margin-left: 2vw;
        margin-right: 2vw;
    }

    .two-col-section .section-headline {
        font-size: 28px;
    }

    .two-col-section .body-copy {
        font-size: 16px;
    }

    .image-caption-section {
        flex-direction: column;
        margin-left: 4vw;
        margin-right: 4vw;
        gap: 16px;
    }

    .image-caption-section .project-image {
        width: 100%;
        min-width: 0;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    .image-caption-section .caption-text {
        font-size: 16px;
    }

    .callout-section {
        padding: 40px 20px;
        margin-left: 2vw;
        margin-right: 2vw;
        max-width: none;
    }

    .callout-section .callout-text {
        font-size: 28px;
    }

    .stats-grid-section {
        margin-left: 4vw;
        margin-right: 4vw;
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-box {
        aspect-ratio: auto;
        padding: 20px;
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .stat-box .stat-number {
        font-size: 36px;
        flex: 0 0 30%;
        width: 30%;
        text-align: left;
        justify-content: flex-start;
    }

    .stat-box .stat-meta {
        flex: 1;
    }

    .stat-box .stat-label {
        font-size: 14px;
    }

    .stat-box .stat-description {
        font-size: 13px;
    }

    .hero-results-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .full-width-image-section {
        padding: 40px 20px;
    }

    .full-width-image-section .project-image {
        margin-left: 0;
        margin-right: 0;
    }

    .full-width-image-section.mobile .project-image {
        width: 100%;
        max-width: 393px;
        height: auto;
        aspect-ratio: 393 / 852;
    }

    /* Project: Next Project Footer */
    .next-project-footer {
        height: auto;
        margin-left: 4vw;
        margin-right: 4vw;
        padding: 32px 20px 100px;
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .next-project-footer .next-project-image-wrapper {
        width: 100%;
        height: 180px;
    }

    .next-project-footer .next-project-text {
        gap: 8px;
    }

    .next-project-footer .next-project-headline {
        font-size: 24px;
    }

    .next-project-footer .next-project-subheadline {
        font-size: 16px;
    }
}
