/* variables & reset */

:root {
    --primary: #0A0A0A;
    --secondary: #ffffff;
    --accent: #0A0A0A;
    --text-dark: #0A0A0A;
    --text-light: white;
    --border: #0A0A0A;
}

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

html {
    background: #0A0A0A;
    scroll-behavior: smooth;
}

body {
    font-family: elza-text, sans-serif;
    color: var(--text-dark);
    background: var(--secondary);
    overflow-x: hidden;
    line-height: 1.5rem;
    min-height: 100vh;
}

/* nav */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1002;
    background: var(--primary);
    line-height: 1;
    transition: background 0.4s ease, opacity 0.4s ease;
}

.logo {
    font-family: elza, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}
.logo img { filter: invert(1); transition: filter 0.3s ease; }

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* nav transparent */
nav.nav-transparent { background: transparent !important; backdrop-filter: none !important; }

/* nav dark */
nav.nav-transparent-dark { background: transparent !important; backdrop-filter: none !important; }
nav.nav-transparent-dark .logo { color: var(--primary) !important; }
nav.nav-transparent-dark .logo img { filter: none !important; }
nav.nav-transparent-dark .nav-links a { color: var(--primary) !important; }
nav.nav-transparent-dark .nav-links a:hover { color: rgba(0, 0, 0, 0.5) !important; }
nav.nav-transparent-dark .nav-links a::after { background: var(--primary) !important; }
nav.nav-transparent-dark .hamburger span { background: var(--primary) !important; }

/* nav white */
nav.nav-white { background: white !important; }
nav.nav-white .logo { color: var(--primary) !important; }
nav.nav-white .logo img { filter: none !important; }
nav.nav-white .nav-links a { color: var(--primary) !important; }
nav.nav-white .nav-links a:hover { color: rgba(0, 0, 0, 0.5) !important; }
nav.nav-white .nav-links a::after { background: var(--primary) !important; }
nav.nav-white .hamburger span { background: var(--primary) !important; }

/* active link */
.nav-links a.active { color: white; }

/* hamburger */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* mobile menu */

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary);
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.mobile-menu-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.mobile-menu-bg.active {
    opacity: 1;
}

.mobile-menu-bg.output {
    background: rgba(147, 56, 51, 0.9);
}

.mobile-menu-bg.about {
    background: rgba(60, 109, 168, 0.9);
}

.mobile-menu-bg.contact {
    background: rgba(218, 179, 102, 0.9);
}

.mobile-menu.active {
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: calc(100% - 5rem);
    margin-top: 5rem;
    gap: 3rem;
    padding-left: 2rem;
    position: relative;
    z-index: 1;
}

.mobile-nav-links a {
    font-family: elza, sans-serif;
    font-size: 3rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* buttons */

.btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px rgba(10, 10, 10, 0.3);
}

.btn-primary:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(10, 10, 10, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
}

.btn-secondary:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.cta-buttons .btn {
    min-width: 220px;
    text-align: center;
}

/* page header */

.page-header {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40vh 2rem 0 2rem;
    background: var(--primary);
}

.page-header-content {
    width: 100%;
    max-width: 1200px;
}

.page-title {
    font-family: elza, sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: white;
}

/* section titles */

.section-title {
    font-family: elza, sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 600;
    text-align: left;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    color: var(--primary);
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

/* hero */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40vh 2rem 4rem 2rem;
    position: relative;
    overflow: hidden;
    transition: opacity 0.3s ease-out;
}

.hero::after {
    display: none;
}

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

.hero h1 {
    font-family: elza, sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 2rem;
    margin-left: -0.04em;
    letter-spacing: -0.03em;
    color: var(--primary);
}

.hero h1 .accent-text {
    color: var(--accent);
    display: block;
}

.hero p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.5rem;
}

/* features */

.features {
    padding: 10rem 2rem 30rem 2rem;
    background: var(--secondary);
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* cta section */

.cta-section {
    padding: 40vh 2rem 4rem 2rem;
    background: var(--primary);
    color: white;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-family: elza, sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 600;
    margin-bottom: 2rem;
    margin-left: -0.04em;
    position: relative;
    z-index: 1;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.cta-section p {
    font-size: 1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* footer */

footer {
    padding: 4rem 2rem 3rem 2rem;
    background: var(--primary);
    scroll-snap-align: end;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.footer-logo {
    font-family: elza, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.copyright {
    color: var(--text-light);
    font-size: 1rem;
}

/* slider */

.projects-slider {
    padding: 0;
    background: white;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.projects-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.slider-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 4rem 2rem 0 2rem;
}

.home-page .slider-header {
    padding-top: 40vh;
}

.slider-header .section-title {
    margin-bottom: 0;
    text-align: left;
    color: var(--primary);
    transform: translateY(-2rem);
}

.project-page .slider-header {
    padding: 6rem 2rem 0 2rem;
}

.slider-wrapper {
    position: relative;
    width: 100%;
}

.slider-container {
    width: 100%;
    height: 60vh;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slider-track {
    display: flex;
    height: 100%;
}

.project-slide {
    min-width: 100vw;
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
    position: relative;
}

.project-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible;
    cursor: pointer;
    background: white;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.4s ease;
    z-index: 1;
}

.project-image:hover::before {
    background: rgba(0, 0, 0, 0.6);
}

.project-overlay {
    position: absolute;
    top: 22vh;
    left: 0;
    right: 0;
    color: white;
    z-index: 2;
}

.projects-slider .project-year {
    font-family: elza, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.projects-slider .project-category {
    display: none;
}

.projects-slider .project-title {
    font-family: elza, sans-serif;
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding-left: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    display: inline-block;
}

/* edge zones */

.edge-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 10;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.edge-zone-left {
    left: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, transparent 100%);
}

.edge-zone-right {
    right: 0;
    background: linear-gradient(-90deg, rgba(0,0,0,0.15) 0%, transparent 100%);
}

.edge-zone:hover {
    opacity: 1;
}

.edge-zone.disabled {
    pointer-events: none;
    opacity: 0 !important;
}

/* slider arrows */

.slider-arrow {
    position: absolute;
    top: calc(22vh + 5rem);
    transform: translateY(-50%);
    z-index: 11;
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
    padding: 0;
}

.slider-arrow:hover {
    opacity: 0.7;
}

.slider-arrow-right {
    right: 2rem;
}

/* slider progress */

.slider-progress {
    position: absolute;
    top: 40vh;
    left: 2rem;
    right: 2rem;
    height: 4px;
    background: #0A0A0A;
    z-index: 10;
    overflow: hidden;
}

.slider-progress-fill {
    height: 100%;
    background: white;
    width: 0%;
    transition: width 0.3s ease;
}

/* output page */

.projects-section {
    background: var(--primary);
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
    position: relative;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 0;
    line-height: 0;
}

.project-card {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    font-size: 1rem;
    line-height: 1.6;
    border: none;
}

.project-thumbnail {
    width: 100%;
    height: 35vh;
    position: relative;
    overflow: hidden;
    display: block;
}

.project-thumbnail-bg {
    width: 100%;
    height: 100%;
    background: var(--primary);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-thumbnail-bg {
    transform: scale(1.05);
}

.project-card .project-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
    background: transparent;
    padding: 0 0 0 2rem;
    z-index: 2;
}

.project-info-header {
    width: 100%;
    text-align: left;
    line-height: 1;
    display: block;
}

.project-title-wrapper {
    overflow: visible;
    width: 100%;
}

.project-card .project-year,
.project-card .project-category {
    display: none;
}

.project-card .project-title {
    font-family: elza, sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: white;
    white-space: nowrap;
    display: inline-block;
    text-transform: none;
    line-height: 1;
    vertical-align: bottom;
}

.project-card:hover .project-title {
    text-decoration: none;
}

.view-arrow {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.project-card:hover .view-arrow {
    opacity: 1;
    transform: translateY(0);
}

.view-arrow svg {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.thumbnail-animation {
    display: none;
}

.anim-shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.anim-shape-1 {
    width: 40px;
    height: 40px;
}

.anim-shape-2 {
    width: 70px;
    height: 70px;
}

.anim-shape-3 {
    width: 100px;
    height: 100px;
}

/* contact page */

.contact-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40vh 2rem 8rem 2rem;
    gap: 4rem;
    background: var(--primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1200px;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-intro {
    font-size: 1rem;
    line-height: 1.5rem;
    color: white;
    max-width: 400px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
}

.contact-value {
    font-size: 1rem;
    color: white;
}

.contact-value a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1.25rem;
    margin-top: 1rem;
}

.social-link {
    width: 24px;
    height: 24px;
    color: white;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.social-link svg {
    width: 100%;
    height: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
}

.form-input,
.form-textarea {
    padding: 1rem;
    font-family: elza-text, sans-serif;
    color: white;
    font-size: 1rem;
    border: none;
    background: var(--primary);
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

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

.form-submit {
    padding: 1.2rem 2.5rem;
    font-family: elza, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    background: white;
    color: var(--primary);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.form-submit:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* about page */

.about-page .page-title {
    margin-left: -0.04em;
    margin-bottom: 4rem;
}

.intro-text {
    font-size: 1rem;
    line-height: 1.5rem;
    color: white;
    font-weight: 400;
    max-width: 500px;
}

.intro-text .accent {
    text-decoration: none;
}

/* concentrations */

.concentrations-section {
    padding: 12rem 2rem 4rem 2rem;
    background: var(--primary);
    color: white;
    min-height: 100vh;
}

/* values */

.values-section {
    padding: 12rem 2rem 12rem 2rem;
    background: var(--secondary);
}

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

.values-header h2 {
    font-family: elza, sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--primary);
    line-height: 1.1;
}

/* resume */

.resume-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

.resume-column {
    display: flex;
    flex-direction: column;
}

.resume-category {
    font-family: elza-text, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #0A0A0A;
    text-transform: none;
    letter-spacing: 0.05em;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.5rem;
}

.resume-item {
    padding-bottom: 3rem;
}

.resume-date {
    font-size: 1rem;
    color: #0A0A0A;
    margin-bottom: 0;
    line-height: 1.5rem;
}

.resume-title {
    font-family: elza-text, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #0A0A0A;
    margin-bottom: 0;
    line-height: 1.5rem;
}

.resume-description {
    font-size: 1rem;
    font-weight: 300;
    color: #0A0A0A;
    line-height: 1.5rem;
}

/* project pages */

.project-hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 65vh 0 0 0;
    position: relative;
    background: var(--secondary);
    overflow: hidden;
}

.project-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--secondary);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.85) 80%,
        rgba(0, 0, 0, 0.95) 100%
    );
}

.project-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100vw;
    overflow: hidden;
    animation: heroContentFadeIn 1s ease-out both;
}

@keyframes heroContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-hero .project-year {
    font-family: elza, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
    padding-left: 2rem;
}

.project-hero-title {
    font-family: elza, sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    white-space: nowrap;
    display: inline-block;
}

.project-category {
    font-size: 1rem;
    letter-spacing: 0.05em;
    padding-left: 2rem;
}

.project-info {
    min-height: 100vh;
    padding: 40vh 2rem 8rem 2rem;
    background: var(--secondary);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.project-info-fullwidth {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 12rem;
}

.project-info-fullwidth .project-info-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 100%;
}

.project-info-fullwidth .project-info-split {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.project-info-fullwidth .project-meta {
    flex-direction: row;
    gap: 4rem;
}

.project-info-split .project-meta {
    flex-direction: column;
}

.project-info-fullwidth .meta-item {
    flex: 1;
}

.project-info-fullwidth .meta-value {
    font-size: 1rem;
    line-height: 1.5rem;
}

/* scroll reveal for fullwidth sections */

.project-info-fullwidth .project-info-grid > * {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.project-info-fullwidth .project-info-grid > .revealed {
    opacity: 1;
    transform: translateY(0);
}

.project-info-fullwidth .project-info-grid > *:nth-child(2) {
    transition-delay: 0.15s;
}

.project-info-fullwidth .project-info-grid > *:nth-child(3) {
    transition-delay: 0.3s;
}

.project-info-grid {
    display: grid;
    grid-template-columns: auto 2fr;
    gap: 8rem;
    max-width: 100%;
    overflow: hidden;
}

.project-info-grid > * {
    min-width: 0;
    overflow-wrap: break-word;
}

.project-info-grid img,
.process-header img {
    max-width: 100%;
    height: auto;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-self: start;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.image-label {
    font-family: elza-text, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.project-info:not(.project-info-fullwidth) .image-label {
    color: var(--text-dark);
}

.meta-label {
    font-size: 1rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.1em;
    color: #0A0A0A;
    line-height: 1.5rem;
}

.meta-value {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.5rem;
}

.project-description h2 {
    font-family: elza, sans-serif;
    font-size: clamp(3rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 3.65rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--primary);
    max-width: 35vw;
}

.project-description p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    max-width: 35vw;
}

.project-description p:first-of-type {
    margin-bottom: 2.25rem;
}

/* placeholder box */

.placeholder-box {
    width: 100%;
    max-width: 400px;
    height: 600px;
    overflow: hidden;
}

.placeholder-box iframe {
    width: 100%;
    height: 100%;
}

/* project footer */

.project-page footer {
    padding: 3rem 2rem;
    background: white;
    border-top: 1px solid var(--border);
    text-align: left;
}

.project-page .footer-logo {
    color: var(--primary);
}

/* process section */

.project-process {
    min-height: 100vh;
    padding: 40vh 2rem 8rem 2rem;
    background: var(--primary) url('img/main/ps-grid-bg.2.webp') center 8% / 200% no-repeat;
    color: white;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.project-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.project-process > * {
    position: relative;
    z-index: 1;
}

.process-header {
    max-width: 1400px;
    margin: 0 0 8rem 0;
    position: relative;
}

.process-header > .process-textbox {
    border: none;
    padding: 1.5rem 1.5rem 7rem 0;
    height: 14rem;
}

.process-header > img {
    position: absolute;
    right: 0;
    top: auto;
    bottom: 0;
}

.process-header h2 {
    font-family: elza, sans-serif;
    font-size: clamp(3rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.process-header p {
    font-size: 1rem;
    font-weight: 600;
    max-width: 600px;
    line-height: 1.5rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.process-step {
    padding: 1.5rem 0;
    border-top: 2px solid rgba(255, 255, 255, 1);
}

.step-number {
    font-family: elza, sans-serif;
    font-size: 3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 3rem;
}

.step-title {
    font-family: elza, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.5rem;
}

.step-description {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5rem;
}

/* preview modal */

.preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.preview-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 70vw;
    max-height: 70vh;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.process-label {
    font-family: elza, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    margin-top: 0.5rem;
}

/* responsive 1024 */

@media (max-width: 1024px) {
    .home-page .slider-header {
        padding-top: 45vh;
    }

    .project-overlay {
        top: 24vh;
    }

    .contact-grid {
        gap: 4rem;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        max-width: 100%;
    }

    .process-header {
        margin-bottom: 4rem;
        width: 100%;
        max-width: 100%;
    }

    /* tablet projects */

    .project-info {
        padding: 40vh 2rem 8rem 2rem;
    }

    .project-info-grid {
        gap: 5rem;
    }

    .project-description h2,
    .project-description p {
        max-width: 100%;
    }

    .project-info .project-description {
        grid-column: span 2;
    }

    .project-info-fullwidth .project-info-split {
        grid-template-columns: 1fr;
    }

    .project-info-fullwidth .project-meta {
        flex-direction: column;
        gap: 2rem;
    }

    .project-info-fullwidth {
        padding-bottom: 10rem;
    }

    .project-process {
        padding-left: 2rem;
        padding-right: 2rem;
        padding-bottom: 16rem;
        background-size: 600% !important;
        background-position: center 70% !important;
    }

    .process-header > .process-textbox {
        align-self: flex-start !important;
        padding-left: 0 !important;
    }
}

/* responsive 768 */

@media (max-width: 768px) {
    .project-overlay {
        top: 25vh;
    }
    nav {
        padding: 1.5rem 2rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    h1, h2, h3, h4, h5, h6, .section-title {
        font-weight: 600;
    }

    /* hero */

    .hero {
        padding: 40vh 2rem 4rem 2rem;
    }

    .hero h1 {
        font-size: 4rem;
        line-height: 1.1;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

    .section-title {
        font-size: 4rem;
        line-height: 1.1;
    }

    /* features */

    .features {
        padding: 8rem 2rem 20rem 2rem;
    }

    /* cta */

    .cta-section {
        padding: 40vh 2rem 0 2rem;
    }

    .cta-content {
        transform: translateY(5vh);
    }

    .cta-section h2 {
        font-size: 4rem;
        line-height: 1.1;
    }

    /* slider */

    .slider-header {
        padding: 4rem 2rem 0 2rem;
    }

    .slider-progress {
        left: 2rem;
        right: 2rem;
    }

    .projects-slider .project-year {
        padding-left: 2rem;
    }

    .projects-slider .project-title {
        padding-left: 2rem;
    }

    .projects-slider {
        background: black;
    }

    /* page header */

    .page-header {
        padding: 40vh 2rem 2rem 2rem;
    }

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

    /* about */

    .intro-text {
        font-size: 1rem;
    }

    .concentrations-section {
        padding: 4rem 2rem 8rem 2rem;
    }

    .values-section {
        padding: 8rem 2rem 8rem 2rem;
    }

    .resume-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* contact */

    .contact-section {
        padding: 40vh 2rem 20rem 2rem;
        min-height: auto;
        align-items: flex-start;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-intro {
        font-size: 1rem;
    }

    /* output */

    .projects-section {
        margin-left: -50vw;
        left: 50%;
        width: 100vw;
        min-height: auto;
    }

    /* project pages */

    .project-hero {
        padding: 60vh 0 0 0;
    }

    .project-hero .project-year,
    .project-hero-title,
    .project-category {
        padding-left: 2rem;
    }

    .project-info {
        padding: 40vh 2rem 8rem 2rem;
    }

    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .project-description h2,
    .project-description p {
        max-width: 100%;
    }

    .project-info .project-description {
        grid-column: span 2;
    }

    .project-description p:last-child {
        padding-bottom: 3rem;
    }

    #bebopPreview, #zcPreview, #chPreview, #coPreview, #postPreview, .letter-preview {
        width: 90vw !important;
        max-width: 90vw !important;
        max-height: none !important;
    }

    .project-info-fullwidth .project-info-split {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-info-fullwidth .project-info-split-alt {
        grid-template-columns: 1fr;
    }

    .project-info-fullwidth .project-meta {
        flex-direction: column;
        gap: 2rem;
    }

    .project-info-fullwidth {
        padding-bottom: 10rem;
    }

    .project-info-split .placeholder-box {
        order: 3;
    }

    .project-info-split-alt {
        grid-template-columns: 1fr;
    }

    .project-process {
        padding: 40vh 2rem 16rem 2rem;
        background-size: 1000% !important;
        background-position: center 10% !important;
    }

    .process-header {
        margin-bottom: 4rem !important;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
    }

    .project-page footer {
        padding: 2rem;
    }

    /* footer */

    footer {
        padding: 3rem 2rem 2rem 2rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .hero {
        background-position: 90% center !important;
    }

    .cta-section {
        background-position: 40% center !important;
    }
}

/* responsive landscape */

@media (orientation: landscape) {
    .hero,
    .projects-slider,
    .features,
    .cta-section {
        min-height: 100vh;
    }

    .contact-section {
        min-height: 100vh;
    }

    .contact-grid {
        max-width: none;
        margin: 0;
        grid-template-columns: 1fr 2fr;
    }

    .contact-section .page-header-content {
        max-width: none;
    }
}

/* landscape projects */

@media (orientation: landscape) {
    .project-page .project-hero,
    .project-page .project-info,
    .project-page .project-info-fullwidth,
    .project-page .project-process,
    .project-page .projects-slider {
        min-height: 100vh;
    }

    .project-page .project-process {
        padding-top: 40vh;
    }

    .project-page .process-header {
        max-width: none;
        margin: 0 0 8rem 0;
    }

    .project-page .process-steps {
        max-width: none;
        margin: 0;
    }

    .project-page .project-info-grid {
        max-width: none;
        margin: 0;
    }

    .project-page .project-info-fullwidth .project-info-grid {
        max-width: none;
        margin: 0;
    }

    .project-page .project-info-fullwidth .project-info-split {
        grid-template-columns: 1fr 1fr;
    }

    .project-page .project-info-fullwidth .project-info-split-alt {
        grid-template-columns: 2fr 1fr;
    }

    .project-page .placeholder-box {
        max-width: 400px;
    }
}


/* ============================================
   RESPONSIVE — Large Desktop (1440px+)
   ============================================ */

@media (min-width: 1440px) {

    /* --- Scale everything up 20% via root font-size --- */
    html {
        font-size: 19.2px;
    }

    /* --- Pin navbar to current sizes (no scaling) --- */
    nav {
        padding: 32px 32px;
        font-size: 16px;
    }

    .logo {
        font-size: 16px;
    }

    .nav-links {
        gap: 48px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .hamburger {
        width: 30px;
        height: 20px;
    }

    .hamburger span {
        height: 2px;
    }

    /* --- Pin outside padding to 32px (current 2rem value) --- */
    .page-header {
        padding-left: 32px;
        padding-right: 32px;
    }

    .hero {
        padding-left: 32px;
        padding-right: 32px;
    }

    .features {
        padding-left: 32px;
        padding-right: 32px;
    }

    .slider-header {
        padding-left: 32px;
        padding-right: 32px;
    }

    .project-page .slider-header {
        padding-left: 32px;
        padding-right: 32px;
    }

    .cta-section {
        padding-left: 32px;
        padding-right: 32px;
    }

    footer {
        padding-left: 32px;
        padding-right: 32px;
    }

    .project-page footer {
        padding-left: 32px;
        padding-right: 32px;
    }

    .contact-section {
        padding-left: 32px;
        padding-right: 32px;
    }

    .values-section {
        padding-left: 32px;
        padding-right: 32px;
    }

    .project-info {
        padding-left: 32px;
        padding-right: 32px;
    }

    .project-info-fullwidth {
        padding-left: 32px;
        padding-right: 32px;
    }

    .project-process {
        padding-left: 32px;
        padding-right: 32px;
    }

    .project-hero .project-year {
        padding-left: 32px;
    }

    .project-hero-title {
        padding-left: 32px;
    }

    .project-category {
        padding-left: 32px;
    }

    .projects-slider .project-year {
        padding-left: 32px;
    }

    .projects-slider .project-title {
        padding-left: 32px;
        font-size: clamp(3rem, 5vw, 7rem);
    }

    .project-overlay {
        padding-left: 32px;
    }

    /* --- Increase max-width containers by 20% --- */
    .page-header-content {
        max-width: 1440px;
    }

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

    .contact-grid {
        max-width: 1440px;
    }

    .process-header {
        max-width: 1680px;
    }

    .process-steps {
        max-width: 1680px;
    }

    .section-subtitle {
        max-width: 720px;
    }

    .hero p {
        max-width: 720px;
    }

    .cta-section p {
        max-width: 720px;
    }

    .process-header p {
        max-width: 720px;
    }

    .contact-intro {
        max-width: 480px;
    }

    .intro-text {
        max-width: 600px;
    }

    /* --- Increase icon/element px dimensions by 20% --- */
    .view-arrow {
        width: 36px;
        height: 36px;
    }

    .view-arrow svg {
        width: 17px;
        height: 17px;
    }

    .anim-shape-1 {
        width: 48px;
        height: 48px;
    }

    .anim-shape-2 {
        width: 84px;
        height: 84px;
    }

    .anim-shape-3 {
        width: 120px;
        height: 120px;
    }

    /* --- Increase placeholder dimensions by 20% --- */
    .placeholder-box {
        max-width: 480px;
        height: 720px;
    }
}
