/* Minimal Portfolio Style - Inspired by ryo.lu */

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

:root {
    --text-dark: #000000;
    --text-medium: #333333;
    --text-light: #666666;
    --bg-light: #ffffff;
    --bg-white: #f5f5f5;
    --border-light: #cccccc;
    --accent-blue: #005A9C;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #000000;
    line-height: 1.6;
    font-size: 16px;
    overflow: hidden;
    position: relative;
    height: 100vh;
    opacity: 1;
    transform: translateZ(0);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    will-change: opacity, transform;
    z-index: 1;
}

body.page-transition-out {
    opacity: 0;
    transform: scale(0.98);
}

body.page-transition-in {
    animation: pageFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#tsparticles-far,
#tsparticles-mid {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    background: transparent;
    opacity: 1;
    visibility: visible;
    will-change: contents;
    transform: translate3d(0, 0, 0);
    contain: layout style paint;
    z-index: 0;
    backface-visibility: hidden;
    isolation: isolate;
    content-visibility: auto;
}

#tsparticles-far canvas,
#tsparticles-mid canvas {
    /* Browser-optimized rendering */
}

#tsparticles-far {
    z-index: 20;
}

#tsparticles-mid {
    z-index: 22;
}

@media (prefers-reduced-motion: reduce) {
    #tsparticles-far,
    #tsparticles-mid {
        display: none;
    }
}

html {
    overflow: hidden;
    height: 100%;
}

body {
    overflow: hidden;
    height: 100vh;
    position: relative;
}

body:has(.case-study-content) {
    overflow: hidden;
    height: 100vh;
}


/* Minimal Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    background: transparent;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-medium);
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-menu a:hover {
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 4rem 5% 2rem;
    position: relative;
    z-index: 30;
    background: transparent;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 500;
    color: var(--text-medium);
    margin-top: 0.5rem;
    margin-bottom: -0.3em;
    padding-bottom: 0;
    line-height: 1.2;
    max-width: 100%;
    word-wrap: break-word;
    min-height: 2.4em;
    display: block;
    overflow: hidden;
}

.rotating-text {
    display: inline-block;
    transition: opacity 0.3s ease;
    opacity: 1;
    will-change: opacity;
}

.hero-subhead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    color: var(--text-medium);
    margin-top: 0.25rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.hero-contact {
    position: relative;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.hero-contact a {
    color: var(--text-dark);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.hero-contact a:hover {
    opacity: 0.6;
}

.hero-contact span {
    margin: 0 0.5rem;
    color: var(--text-light);
}

.hero-portfolio-link {
    margin-top: 1.5rem;
}

.hero-portfolio-link .portfolio-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.2s ease;
    display: inline-block;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.hero-portfolio-link .portfolio-link:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

.hero-resume {
    margin-top: 2rem;
    width: 100%;
}

.past-work-label {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-medium);
    margin-bottom: 0.75rem;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-resume .resume-item {
    margin-bottom: 0.75rem;
    padding-left: 0;
    border-left: none;
    position: relative;
}

.hero-resume .resume-item:last-child {
    margin-bottom: 0;
}

.hero-resume .resume-item h4 {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.hero-resume .resume-item h4 a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

.hero-resume .resume-item h4 a:hover {
    opacity: 0.7;
}

.hero-resume .resume-item h4 .resume-title {
    display: inline-block;
}

.hero-resume .resume-item h4 .resume-company {
    color: #000000;
    font-weight: 500;
    opacity: 1;
    display: inline-block;
    position: relative;
    padding-left: 0;
    transition: padding-left 0.2s ease;
}

.hero-resume .resume-item h4 .resume-company::before {
    content: '›';
    opacity: 0;
    margin-right: 0.25rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: inline-block;
    transform: translateX(-0.5rem);
    position: absolute;
    left: -1rem;
}

.hero-resume .resume-item:hover h4 .resume-company {
    padding-left: 1rem;
}

.hero-resume .resume-item:hover h4 .resume-company::before {
    opacity: 1;
    transform: translateX(0);
}

.hero-resume .resume-item h4 .resume-separator {
    color: #666666;
    opacity: 0.3;
    transition: opacity 0.2s ease;
}

.hero-resume .resume-item:hover h4 .resume-separator {
    opacity: 1;
}

.fandango-item.expanded h4 .resume-separator,
.fandango-item.expanded:hover h4 .resume-separator {
    opacity: 1;
}

.hero-resume .resume-item h4 .resume-role {
    color: #666666;
    font-weight: 400;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.hero-resume .resume-item h4 .resume-date {
    color: #999999;
    font-weight: 300;
    opacity: 0;
    transition: opacity 0.2s ease;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.hero-resume .resume-item:hover h4 .resume-title {
    opacity: 1;
}

.hero-resume .resume-item:hover h4 .resume-role {
    opacity: 1;
}

.hero-resume .resume-item:hover h4 .resume-date {
    opacity: 1;
}

/* Fandango expandable menu */
.fandango-item {
    position: relative;
}

.fandango-item.expanded h4 .resume-date,
.fandango-item.expanded:hover h4 .resume-date {
    opacity: 1;
}

.fandango-item.expanded h4 .resume-role,
.fandango-item.expanded:hover h4 .resume-role {
    opacity: 1;
}

.fandango-trigger {
    cursor: pointer;
    user-select: none;
}

.fandango-item:hover h4 .resume-date,
.fandango-item:hover h4 .resume-role {
    opacity: 1;
}

.fandango-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease-out;
    opacity: 0;
    margin-top: 0;
    padding-left: 1rem;
}

.fandango-item.expanded .fandango-menu {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.75rem;
}

.fandango-menu .portfolio-link-item {
    display: block;
    color: var(--text-medium);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0;
    margin-bottom: 0.5rem;
    background: transparent;
    transition: color 0.2s ease;
    width: fit-content;
}

.fandango-menu .portfolio-link-item:hover {
    color: var(--text-dark);
    opacity: 0.7;
}

.fandango-menu .portfolio-link-item:last-child {
    margin-bottom: 0;
}

/* Slickdeals expandable menu */
.slickdeals-item {
    position: relative;
}

.slickdeals-item.expanded h4 .resume-date,
.slickdeals-item.expanded:hover h4 .resume-date {
    opacity: 1;
}

.slickdeals-item.expanded h4 .resume-role,
.slickdeals-item.expanded:hover h4 .resume-role {
    opacity: 1;
}

.slickdeals-trigger {
    cursor: pointer;
    user-select: none;
}

.slickdeals-item:hover h4 .resume-date,
.slickdeals-item:hover h4 .resume-role {
    opacity: 1;
}

.slickdeals-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease-out;
    opacity: 0;
    margin-top: 0;
    padding-left: 1rem;
}

.slickdeals-item.expanded .slickdeals-menu {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.75rem;
}

.slickdeals-menu .portfolio-link-item {
    display: block;
    color: var(--text-medium);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0;
    margin-bottom: 0.5rem;
    background: transparent;
    transition: color 0.2s ease;
    width: fit-content;
}

.slickdeals-menu .portfolio-link-item:hover {
    color: var(--text-dark);
    opacity: 0.7;
}

.slickdeals-menu .portfolio-link-item:last-child {
    margin-bottom: 0;
}

/* Poised expandable menu */
.poised-item {
    position: relative;
}

.poised-item.expanded h4 .resume-date,
.poised-item.expanded:hover h4 .resume-date {
    opacity: 1;
}

.poised-item.expanded h4 .resume-role,
.poised-item.expanded:hover h4 .resume-role {
    opacity: 1;
}

.poised-trigger {
    cursor: pointer;
    user-select: none;
}

.poised-item:hover h4 .resume-date,
.poised-item:hover h4 .resume-role {
    opacity: 1;
}

.poised-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease-out;
    opacity: 0;
    margin-top: 0;
    padding-left: 1rem;
}

.poised-item.expanded .poised-menu {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.75rem;
}

.poised-menu .portfolio-link-item {
    display: block;
    color: var(--text-medium);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0;
    margin-bottom: 0.5rem;
    background: transparent;
    transition: color 0.2s ease;
    width: fit-content;
}

.poised-menu .portfolio-link-item:hover {
    color: var(--text-dark);
    opacity: 0.7;
}

.poised-menu .portfolio-link-item:last-child {
    margin-bottom: 0;
}

/* Copysmith expandable menu */
.copysmith-item {
    position: relative;
}

.copysmith-item.expanded h4 .resume-date,
.copysmith-item.expanded:hover h4 .resume-date {
    opacity: 1;
}

.copysmith-item.expanded h4 .resume-role,
.copysmith-item.expanded:hover h4 .resume-role {
    opacity: 1;
}

.copysmith-trigger {
    cursor: pointer;
    user-select: none;
}

.copysmith-item:hover h4 .resume-date,
.copysmith-item:hover h4 .resume-role {
    opacity: 1;
}

.copysmith-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease-out;
    opacity: 0;
    margin-top: 0;
    padding-left: 1rem;
}

.copysmith-item.expanded .copysmith-menu {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.75rem;
}

.copysmith-menu .portfolio-link-item {
    display: block;
    color: var(--text-medium);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0;
    margin-bottom: 0.5rem;
    background: transparent;
    transition: color 0.2s ease;
    width: fit-content;
}

.copysmith-menu .portfolio-link-item:hover {
    color: var(--text-dark);
    opacity: 0.7;
}

.copysmith-menu .portfolio-link-item:last-child {
    margin-bottom: 0;
}

/* Wildfire expandable menu */
.wildfire-item {
    position: relative;
}

.wildfire-item.expanded h4 .resume-date,
.wildfire-item.expanded:hover h4 .resume-date {
    opacity: 1;
}

.wildfire-item.expanded h4 .resume-role,
.wildfire-item.expanded:hover h4 .resume-role {
    opacity: 1;
}

.wildfire-trigger {
    cursor: pointer;
    user-select: none;
}

.wildfire-item:hover h4 .resume-date,
.wildfire-item:hover h4 .resume-role {
    opacity: 1;
}

.wildfire-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease-out;
    opacity: 0;
    margin-top: 0;
    padding-left: 1rem;
}

.wildfire-item.expanded .wildfire-menu {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.75rem;
}

.wildfire-menu .portfolio-link-item {
    display: block;
    color: var(--text-medium);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0;
    margin-bottom: 0.5rem;
    background: transparent;
    transition: color 0.2s ease;
    width: fit-content;
}

.wildfire-menu .portfolio-link-item:hover {
    color: var(--text-dark);
    opacity: 0.7;
}

.wildfire-menu .portfolio-link-item:last-child {
    margin-bottom: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Section Styles */
section {
    padding: 3rem 0;
    position: relative;
    z-index: 30;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-accent {
    display: none;
}


/* Resume Section */
.resume {
    background: var(--bg-light);
}

.resume-content {
    max-width: 1000px;
}

.resume-card {
    background: transparent;
}

.card-glass {
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
}

.resume-section {
    margin-bottom: 2rem;
}

.resume-section:last-child {
    margin-bottom: 0;
}

.resume-section-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

.resume-item {
    margin-bottom: 0.75rem;
    padding-left: 0;
    border-left: none;
    position: relative;
}

.resume-item:last-child {
    margin-bottom: 0;
}

.resume-item::before {
    display: none;
}

.resume-item h4 {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0;
}

.resume-education {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 0.9rem;
}

.resume-skills-text {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.9rem;
}



.resume-download {
    text-align: left;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.download-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--text-dark);
    color: #ffffff;
    text-decoration: none;
    border-radius: 0;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: opacity 0.2s ease;
}

.download-btn:hover {
    opacity: 0.8;
}



/* Footer */
.footer {
    background: transparent;
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid var(--border-light);
    font-size: 0.8rem;
    position: relative;
    z-index: 10;
    margin-top: 4rem;
}

.case-study-content .footer {
    margin-top: 4rem;
}

.case-study-content .footer .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 59px;
}


/* Case Study Styles */
.case-study-header {
    padding: 4rem 0 2rem;
    margin-top: 60px;
    position: relative;
    z-index: 30;
}

.case-study-content .case-study-header {
    margin-top: 0;
    margin-bottom: 2rem;
    padding-top: calc(60px + 4rem);
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}


.back-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: inline-block;
    transition: opacity 0.2s ease;
    position: fixed;
    top: 2rem;
    left: 5%;
    z-index: 200;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    width: fit-content;
    pointer-events: auto;
}

.back-link:hover {
    opacity: 0.6;
}

.case-study-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.case-study-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-medium);
    font-weight: 400;
}

.case-study-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.case-study-tags .tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(245, 245, 245, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.case-study-content {
    padding: 2rem 0 4rem;
    margin-top: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.case-study-content::-webkit-scrollbar {
    width: 8px;
}

.case-study-content::-webkit-scrollbar-track {
    background: transparent;
}

.case-study-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.case-study-content .container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 59px;
    padding-top: 0;
    padding-bottom: 4rem;
}

.case-study-section {
    margin-bottom: 4rem;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 8px;
    padding: 2rem 2rem 0 0;
}

.case-study-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

.case-study-section h2:first-child {
    margin-top: 0;
}

.case-study-section h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 500;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.case-study-section h4 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 500;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.case-study-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.case-study-section ul,
.case-study-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.case-study-section li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.problem-statement {
    background: rgba(0, 0, 0, 0.03);
    padding: 2rem;
    border-left: 3px solid var(--text-dark);
    margin: 2rem 0;
}

.problem-statement p {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.detail-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.detail-item ul {
    margin-left: 1.25rem;
    margin-top: 0.5rem;
}

.detail-item li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.insights-list li {
    margin-bottom: 1.25rem;
    padding-left: 0.5rem;
}

.strategy-goals-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.strategy-goals-column {
    flex: 1;
    min-width: 0;
}

.strategy-illustration-column {
    flex: 0 0 30%;
    min-width: 0;
    position: sticky;
    top: 2rem;
    max-width: 30%;
}

.strategy-illustration-column .case-study-image {
    width: 49%;
    margin: 0 auto;
}

.strategy-illustration-column .case-study-image img {
    animation: spin 20s linear infinite;
    transform: scale(1.2);
    transform-origin: center center;
    border: none;
}

@keyframes spin {
    from {
        transform: scale(1.2) rotate(0deg);
    }
    to {
        transform: scale(1.2) rotate(360deg);
    }
}

.critique-layout {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.critique-content-column {
    flex: 0 0 35%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.critique-image-column {
    flex: 1;
    min-width: 0;
}

.critique-image-column .case-study-image img {
    border: 1px solid var(--border-light);
}

.strategy-goal {
    margin-bottom: 2.5rem;
    padding-bottom: 0;
    border-bottom: none;
}

.strategy-goal h4 {
    color: var(--text-dark);
    margin-top: 0;
}

.strategy-goal p {
    margin-bottom: 0.75rem;
}

.strategy-goal p:last-child {
    color: var(--text-light);
    font-size: 0.95rem;
}

.results-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.case-study-image {
    margin: 2.5rem 0;
}

.case-study-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    background: transparent;
    border: 1px solid var(--border-light);
}

.image-placeholder {
    width: 100%;
    background: #f5f5f5;
    border: 2px dashed #cccccc;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-medium);
}

.image-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.image-placeholder span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-white);
    backdrop-filter: none;
    margin: 5% auto;
    padding: 4rem;
    border-radius: 0;
    width: 90%;
    max-width: 800px;
    box-shadow: none;
    border: none;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: var(--text-dark);
    float: right;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.close:hover {
    opacity: 0.5;
}

.modal-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.modal-body {
    margin-top: 2rem;
}

.modal-body h3 {
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 400;
}

.modal-body p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1.5rem;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    section {
        padding: 4rem 0;
    }


    .resume-item-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }

    .modal-content {
        padding: 2rem;
        margin: 10% auto;
    }

    .resume-skills {
        grid-template-columns: 1fr;
    }

    .strategy-goals-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .strategy-illustration-column {
        position: static;
    }

    .critique-layout {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 0 1.5rem;
    }

    section {
        padding: 3rem 0;
    }
}
