/* ============================================================
   JULIE JANCICKOVA – PORTFOLIO
   Master stylesheet · Swiss Minimalism
   ============================================================ */

/* ---------- variables ---------- */
:root {
    --black:  #000;
    --white:  #fff;
    --beige:  #d4c5b0;
    --beige-dim: rgba(212, 197, 176, 0.15);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-body:  rgba(255, 255, 255, 0.75);
}

/* ---------- reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- shared animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateY(-50%) translateX(100px); }
    to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* reveal helper – JS adds .visible */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1),
                transform 0.7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   NAVIGATION  (shared across all inner pages)
   ============================================================ */
.main-nav {
    position: fixed;
    inset: 0 0 auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 5%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--beige-dim);
    z-index: 1000;
}

.nav-logo {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.15rem;
    color: var(--beige);
    transition: color .3s;
}
.nav-logo:hover { color: var(--white); }

.nav-links {
    display: flex;
    gap: 2.8rem;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    transition: color .3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--beige);
    transition: width .3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.skill-item i {
    font-size: 48px;
    margin-bottom: 8px;
}

/* If you want monochrome (your beige color) */
.skill-item i:not(.colored) {
    color: var(--beige);
}

/* ============================================================
   INDEX  –  hero
   ============================================================ */
.page-wrapper { max-width: 1800px; margin: 0 auto; }

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.hero-left {
    padding: 8rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.meta-info {
    font-size: 0.75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp .6s ease-out .2s forwards;
}

.hero h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(4rem, 9vw, 10rem);
    line-height: .95;
    margin-bottom: 2rem;
    letter-spacing: -.03em;
    opacity: 0;
    animation: fadeInUp .6s ease-out .4s forwards;
}
.name-first { display: block; color: var(--beige); }
.name-last  { display: block; font-weight: 400; }

.role-title {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp .6s ease-out .6s forwards;
}

.bio-paragraph {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 600px;
    font-weight: 300;
    color: var(--text-body);
    opacity: 0;
    animation: fadeInUp .6s ease-out .8s forwards;
}

/* hero photo */
.hero-right { position: relative; overflow: hidden; }

.photo-container {
    position: absolute;
    top: 50%; left: 0;
    width: 100%; height: 70%;
    transform: translateY(-50%);
    opacity: 0;
    animation: slideInRight 1s ease-out .4s forwards;
}

.photo-container img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.3);
    transition: filter 1s cubic-bezier(.4,0,.2,1),
                transform 1s cubic-bezier(.4,0,.2,1);
}
.photo-container:hover img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.05);
}

/* index – path cards */
.index-projects {
    padding: 8rem 5rem;
    border-top: 1px solid var(--beige-dim);
}

.index-projects .section-header { margin-bottom: 5rem; }

.section-title {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--beige);
    font-weight: 300;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.path-card {
    border: 1px solid var(--beige-dim);
    padding: 4rem 3rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    transition: border-color .5s, background .5s;
}

.path-card::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 0; height: 100%;
    background: rgba(212,197,176,.05);
    transition: width .5s cubic-bezier(.4,0,.2,1);
}
.path-card:hover::before { width: 100%; }
.path-card:hover { border-color: var(--beige); background: rgba(255,255,255,.02); }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
    position: relative; z-index: 1;
}
.card-number {
    font-family: 'Libre Baskerville', serif;
    font-size: 3rem;
    color: var(--beige);
    opacity: .5;
    line-height: 1;
}
.card-tag {
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--beige);
}
.card-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative; z-index: 1;
}
.card-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
    position: relative; z-index: 1;
}
.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    position: relative; z-index: 1;
}
.card-arrow {
    width: 50px; height: 50px;
    border: 1px solid var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background .3s, color .3s, transform .3s;
}
.path-card:hover .card-arrow {
    background: var(--beige);
    color: var(--black);
    transform: translateX(10px);
}

/* ============================================================
   SHARED PAGE HEADER  (ux, unity, project-detail)
   ============================================================ */
.page-header {
    margin-top: 68px;          /* nav height */
    padding: 6rem 5% 4rem;
    border-bottom: 1px solid var(--beige-dim);
    animation: fadeInUp .8s ease-out;
}
.header-content { max-width: 1400px; margin: 0 auto; }

.page-title {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -.02em;
    color: var(--beige);
}

.page-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-body);
    max-width: 700px;
    font-weight: 300;
}

/* ============================================================
   UX LISTING  –  alternating image / text rows
   ============================================================ */
.listing-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 5%;
}

.listing-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 8rem;
    padding-bottom: 8rem;
    border-bottom: 1px solid rgba(212,197,176,.1);
}
.listing-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* swap columns on even cards */
.listing-card:nth-child(even) .listing-image { order: 2; }
.listing-card:nth-child(even) .listing-content { order: 1; }

/* image box */
.listing-image {
    min-height: 420px;
    overflow: hidden;
}

.listing-image .img-placeholder {
    width: 100%; height: 100%;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.listing-card:hover .img-placeholder { transform: scale(1.03); }

.listing-image .img-placeholder .ph-icon {
    font-size: 6rem;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,.3));
}

/* text side */
.listing-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.listing-heading {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.4rem;
    line-height: 1.3;
    margin-bottom: 1.8rem;
}

.listing-paragraph {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-body);
    font-weight: 300;
}

/* ============================================================
   UNITY LISTING  –  2-col grid of cards (different from UX)
   ============================================================ */
.unity-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.unity-card {
    border: 1px solid var(--beige-dim);
    overflow: hidden;
    transition: border-color .4s, transform .4s;
    position: relative;
}
.unity-card:hover {
    border-color: var(--beige);
    transform: translateY(-6px);
}

/* honours badge */
.unity-card .honours-badge {
    position: absolute;
    top: 1.2rem; right: 1.2rem;
    background: var(--beige);
    color: var(--black);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .45rem 1rem;
    z-index: 2;
}

.unity-card .unity-img {
    width: 100%;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.unity-card:hover .unity-img { transform: scale(1.04); }

.unity-card .unity-img .ph-icon {
    font-size: 5rem;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.35));
}

.unity-card-body {
    padding: 2.2rem 2rem;
}

.unity-card-body .unity-tag {
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: .8rem;
}

.unity-card-body .unity-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.7rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.unity-card-body .unity-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-body);
    font-weight: 300;
}

/* ============================================================
   PROJECT DETAIL PAGE  –  full deep-dive layout
   ============================================================ */

/* --- hero banner --- */
.detail-hero {
    margin-top: 68px;
    height: 55vh;
    min-height: 420px;
    position: relative;
    overflow: hidden;
}

.detail-hero .detail-hero-bg {
    position: absolute;
    inset: 0;
    /* gradient set inline per project */
    transition: transform 8s cubic-bezier(.4,0,.2,1);
}
.detail-hero:hover .detail-hero-bg { transform: scale(1.06); }

.detail-hero .detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.15) 0%,
        rgba(0,0,0,.55) 70%,
        rgba(0,0,0,.9) 100%
    );
}

.detail-hero-content {
    position: absolute;
    bottom: 3.5rem;
    left: 5%;
    right: 5%;
    max-width: 900px;
    z-index: 2;
    animation: fadeIn .9s ease-out .3s backwards;
}

.detail-hero-label {
    font-size: .75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 1rem;
}

.detail-hero-title {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.2rem;
    letter-spacing: -.02em;
}

.detail-hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-body);
    font-weight: 300;
    max-width: 620px;
    line-height: 1.7;
}

/* --- meta strip (role / year / tools) --- */
.detail-meta-strip {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-bottom: 1px solid var(--beige-dim);
}

.detail-meta-item label {
    display: block;
    font-size: .7rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: .5rem;
}
.detail-meta-item span {
    font-size: 1.05rem;
    color: var(--white);
    font-weight: 300;
}

/* --- body sections --- */
.detail-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 5% 7rem;
}

/* section with text only */
.detail-section {
    margin-bottom: 5rem;
}

.detail-section-label {
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 1.2rem;
}

.detail-section h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1.8rem;
}

.detail-section p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-body);
    font-weight: 300;
    margin-bottom: 1.4rem;
    max-width: 780px;
}

/* image full-width inside detail */
.detail-image-full {
    width: 100%;
    border-radius: 2px;
    margin: 3rem 0;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-image-full .ph-icon { font-size: 7rem; filter: drop-shadow(0 12px 30px rgba(0,0,0,.4)); }

/* two-col text + image */
.detail-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}
.detail-duo.reverse .detail-duo-text { order: 2; }
.detail-duo.reverse .detail-duo-image { order: 1; }

.detail-duo-image {
    min-height: 340px;
    overflow: hidden;
    border-radius: 2px;
}
.detail-duo-image .img-placeholder {
    width: 100%; height: 100%;
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* blockquote pull */
.detail-quote {
    border-left: 3px solid var(--beige);
    padding: 1.5rem 0 1.5rem 2.5rem;
    margin: 3rem 0;
}
.detail-quote p {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 1.35rem !important;
    line-height: 1.7 !important;
    color: var(--white) !important;
    max-width: 100% !important;
}

/* tag pills inside detail */
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.5rem;
}
.detail-tags span {
    padding: .45rem 1rem;
    border: 1px solid var(--beige-dim);
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--beige);
}

/* back link inside detail */
.detail-back {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .9rem;
    color: var(--beige);
    margin-top: 2rem;
    transition: color .3s, gap .3s;
}
.detail-back:hover { color: var(--white); gap: 1rem; }

/* ============================================================
   SHARED FOOTER  (index, ux, unity, detail)
   ============================================================ */
.site-footer {
    padding: 4rem 5%;
    border-top: 1px solid var(--beige-dim);
    text-align: center;
}
.site-footer p {
    font-size: .88rem;
    color: var(--text-muted);
    letter-spacing: .1em;
}

/* index footer is grid-based */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
}
.footer-col h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: .8rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.footer-col .footer-name {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem;
    color: var(--beige);
    margin-bottom: .5rem;
}
.footer-col .footer-text {
    font-size: .9rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.social-icon {
    color: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .3s, transform .3s;
}
.social-icon:hover { color: var(--white); transform: translateY(-3px); }
.social-icon svg { width: 24px; height: 24px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* --- hero: photo left (3/5), title + intro right (2/5) --- */
.about-hero {
    margin-top: 68px;
    min-height: calc(100vh - 68px);
    display: grid;
    grid-template-columns: 3fr 2fr;
}

.about-hero-photo {
    position: relative;
    overflow: hidden;
}

.about-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: filter 1.2s cubic-bezier(.4,0,.2,1),
                transform 1.2s cubic-bezier(.4,0,.2,1);
}

.about-hero-photo:hover img {
    filter: grayscale(0%) contrast(1.05);
    transform: scale(1.04);
}

/* subtle label pinned bottom-left over the photo */
.about-hero-photo-label {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--beige);
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    padding: .5rem 1rem;
}

/* right column */
.about-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 5rem;
}

.about-hero-eyebrow {
    font-size: .74rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 1.8rem;
    opacity: 0;
    animation: fadeInUp .6s ease-out .15s forwards;
}

.about-hero-title {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    margin-bottom: 2.2rem;
    opacity: 0;
    animation: fadeInUp .6s ease-out .35s forwards;
}

.about-hero-body {
    font-size: 1.18rem;
    line-height: 1.9;
    color: var(--text-body);
    font-weight: 300;
    max-width: 520px;
    opacity: 0;
    animation: fadeInUp .6s ease-out .55s forwards;
}

/* --- story: two-column long-form bio --- */
.about-story {
    padding: 7rem 5%;
    border-top: 1px solid var(--beige-dim);
}

.about-story-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.about-story-label {
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 2.5rem;
}

.about-story-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.about-story-col p {
    font-size: 1.08rem;
    line-height: 2;
    color: var(--text-body);
    font-weight: 300;
    margin-bottom: 1.6rem;
}

/* --- photo strip: 3 across --- */
.about-photo-strip {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* no gap – edge-to-edge bleed */
}

.about-strip-img {
    position: relative;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.about-strip-img:hover { transform: scale(0.97); }

.about-strip-img .strip-icon {
    font-size: 3.8rem;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
    margin-bottom: 1rem;
    transition: transform .4s;
}
.about-strip-img:hover .strip-icon { transform: scale(1.12); }

.about-strip-img .strip-caption {
    position: absolute;
    bottom: 1.4rem;
    left: 0; right: 0;
    text-align: center;
    font-size: .78rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s, transform .4s;
}
.about-strip-img:hover .strip-caption {
    opacity: 1;
    transform: translateY(0);
}

/* --- duo: text left + photo right --- */
.about-duo {
    max-width: 1200px;
    margin: 0 auto;
    padding: 7rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    border-top: 1px solid var(--beige-dim);
}

.about-duo-label {
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 1.2rem;
}

.about-duo-heading {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.4rem;
    line-height: 1.25;
    margin-bottom: 1.8rem;
}

.about-duo-text p {
    font-size: 1.05rem;
    line-height: 1.95;
    color: var(--text-body);
    font-weight: 300;
    margin-bottom: 1.2rem;
}

/* interest pills */
.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 2rem;
}
.about-values span {
    padding: .5rem 1.1rem;
    border: 1px solid var(--beige-dim);
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--beige);
    transition: background .3s, border-color .3s;
}
.about-values span:hover {
    background: rgba(212,197,176,.08);
    border-color: var(--beige);
}

/* photo box */
.about-duo-img-wrap {
    width: 100%;
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.about-duo-photo:hover .about-duo-img-wrap { transform: scale(1.03); }
.about-duo-img-wrap .strip-icon { font-size: 5rem; }

/* --- blockquote --- */
.about-quote-block {
    max-width: 820px;
    margin: 0 auto;
    padding: 5rem 5%;
    text-align: center;
}

.about-quote-block blockquote {
    border-left: 3px solid var(--beige);
    padding-left: 2.5rem;
    text-align: left;
}

.about-quote-block p {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 1.55rem;
    line-height: 1.7;
    color: var(--white);
    margin-bottom: 1rem;
}

.about-quote-block cite {
    font-size: .85rem;
    letter-spacing: .14em;
    color: var(--beige);
    font-style: normal;
}

/* --- closing: 2 photos side by side + text --- */
.about-closing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 5% 7rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-closing-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.about-closing-img {
    position: relative;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.about-closing-img:hover { transform: scale(0.97); }
.about-closing-img .strip-icon { font-size: 3rem; margin-bottom: .8rem; }
.about-closing-img .strip-caption {
    position: absolute;
    bottom: 1rem;
    left: 0; right: 0;
    text-align: center;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .35s, transform .35s;
}
.about-closing-img:hover .strip-caption { opacity: 1; transform: translateY(0); }

/* right column text */
.about-closing-text {
    padding-top: 2rem;
}

.about-closing-label {
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 1.2rem;
}

.about-closing-heading {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1.8rem;
}

.about-closing-text p {
    font-size: 1.05rem;
    line-height: 1.95;
    color: var(--text-body);
    font-weight: 300;
    margin-bottom: 2rem;
}

/* CTA button */
.about-cta {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .9rem 2rem;
    border: 1px solid var(--beige);
    font-size: .82rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--beige);
    transition: background .3s, color .3s, gap .3s;
}
.about-cta:hover {
    background: var(--beige);
    color: var(--black);
    gap: 1rem;
}

/* ============================================================
   CV PAGE
   ============================================================ */

/* --- skills pill bar --- */
.cv-skills {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 5%;
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    border-bottom: 1px solid var(--beige-dim);
}

.cv-skills span {
    padding: .5rem 1.1rem;
    border: 1px solid var(--beige-dim);
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--beige);
    transition: background .3s, border-color .3s;
}
.cv-skills span:hover {
    background: rgba(212,197,176,.08);
    border-color: var(--beige);
}

/* --- timeline wrapper --- */
.cv-timeline-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 5% 4rem;
}

.cv-timeline {
    position: relative;
    /* centre line lives here */
}

/* the vertical centre line – drawn via pseudo, animated on scroll */
.cv-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--beige-dim);
    overflow: hidden;
}

/* animated fill that grows from top to bottom */
.cv-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 0;                        /* JS drives this */
    background: var(--beige);
    transition: height .6s cubic-bezier(.4,0,.2,1);
}

/* --- single milestone row --- */
.cv-milestone {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 40px 1fr;   /* left · dot · right */
    align-items: start;
    margin-bottom: 4rem;
    min-height: 20px;                       /* so the dot row is never zero */
}

/* dot */
.cv-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--black);
    border: 3px solid var(--beige);
    justify-self: center;
    margin-top: 1.3rem;                     /* vertical-centre with first line of card */
    position: relative;
    z-index: 2;
    transition: background .3s, box-shadow .3s;
}

.cv-milestone:hover .cv-dot {
    background: var(--beige);
    box-shadow: 0 0 0 4px rgba(212,197,176,.25);
}

/* card positioning via data-side */
.cv-milestone[data-side="left"]  .cv-card { grid-column: 1; text-align: right; }
.cv-milestone[data-side="left"]  .cv-dot  { grid-column: 2; }

.cv-milestone[data-side="right"] .cv-card { grid-column: 3; text-align: left; }
.cv-milestone[data-side="right"] .cv-dot  { grid-column: 2; }

/* the card itself */
.cv-card {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--beige-dim);
    padding: 1.8rem 2rem;
    transition: border-color .35s, background .35s, transform .35s;
}

.cv-milestone:hover .cv-card {
    border-color: var(--beige);
    background: rgba(255,255,255,.06);
    transform: translateY(-3px);
}

/* left cards nudge right, right cards nudge left */
.cv-milestone[data-side="left"]  .cv-card { margin-right: 1.8rem; }
.cv-milestone[data-side="right"] .cv-card { margin-left: 1.8rem; }

/* card typography */
.cv-year {
    display: block;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: .6rem;
}

.cv-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.35rem;
    line-height: 1.35;
    margin-bottom: .5rem;
}

.cv-company {
    font-size: .88rem;
    color: var(--text-muted);
    margin-bottom: .9rem;
    font-weight: 300;
}

.cv-desc {
    font-size: .97rem;
    line-height: 1.8;
    color: var(--text-body);
    font-weight: 300;
}

/* --- download CTA --- */
/* --- download link row --- */
.cv-download {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 5%;
    border-top: 1px solid var(--beige-dim);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cv-download-label {
    font-size: .78rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--beige);
}

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: 1rem 2.2rem;
    border: 1px solid var(--beige);
    font-size: .82rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--beige);
    white-space: nowrap;
    transition: background .3s, color .3s, gap .3s;
}
.cv-download-btn:hover {
    background: var(--beige);
    color: var(--black);
    gap: 1rem;
}
.cv-download-btn svg { width: 18px; height: 18px; }

/* ─────────────────────────────────────────────
   SOFTWARE / SKILLS GRID
   ───────────────────────────────────────────── */
.cv-software-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 5% 7rem;
    border-top: 1px solid var(--beige-dim);
}

.cv-software-header {
    margin-bottom: 3.5rem;
}
.cv-software-header .cv-software-eyebrow {
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 1rem;
}
.cv-software-header h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.4rem;
    line-height: 1.2;
}

.cv-software-group-label {
    font-size: .7rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--beige);
    margin-bottom: 1.2rem;
    margin-top: 3rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--beige-dim);
}
.cv-software-group-label:first-of-type { margin-top: 0; }

.cv-software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.cv-tool {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--beige-dim);
    border-radius: 4px;
    padding: 1.6rem 1rem 1.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .75rem;
    transition: border-color .35s, background .35s, transform .35s;
    cursor: default;
}
.cv-tool:hover {
    border-color: var(--beige);
    background: rgba(255,255,255,.07);
    transform: translateY(-4px);
}

.cv-tool-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cv-tool-icon svg { width: 100%; height: 100%; }

.cv-tool-name {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .04em;
    line-height: 1.3;
    color: var(--white);
}

.cv-tool-bar-wrap {
    width: 100%;
    height: 3px;
    background: var(--beige-dim);
    border-radius: 2px;
    overflow: hidden;
}
.cv-tool-bar {
    height: 100%;
    border-radius: 2px;
    background: var(--beige);
    transition: width .6s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* tablets */
@media (max-width: 1024px) {
    .nav-links { gap: 1.8rem; }

    /* index hero */
    .hero { grid-template-columns: 1fr; }
    .hero-right { min-height: 55vh; }

    /* index path cards */
    .projects-grid { grid-template-columns: 1fr; }

    /* listing rows → stack */
    .listing-card,
    .listing-card:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 6rem;
        padding-bottom: 6rem;
    }
    .listing-card:nth-child(even) .listing-image,
    .listing-card:nth-child(even) .listing-content { order: initial; }

    /* unity grid → single col */
    .unity-grid { grid-template-columns: 1fr; max-width: 700px; }

    /* detail duo → stack */
    .detail-duo, .detail-duo.reverse {
        grid-template-columns: 1fr;
    }
    .detail-duo.reverse .detail-duo-text,
    .detail-duo.reverse .detail-duo-image { order: initial; }

    .detail-meta-strip { grid-template-columns: 1fr 1fr; }

    /* about hero → stack */
    .about-hero { grid-template-columns: 1fr; }
    .about-hero-photo { min-height: 50vh; }
    .about-hero-text { padding: 4rem 5%; }

    /* about story cols → single */
    .about-story-columns { grid-template-columns: 1fr; gap: 0; }

    /* about duo → stack */
    .about-duo { grid-template-columns: 1fr; gap: 3rem; }

    /* about closing → stack */
    .about-closing { grid-template-columns: 1fr; gap: 3rem; }

    /* cv timeline → single-column (all cards left-aligned) */
    .cv-timeline-wrap { padding: 5rem 5% 3rem; }
    .cv-milestone {
        grid-template-columns: 40px 1fr;   /* dot · card */
    }
    .cv-milestone[data-side="left"]  .cv-card,
    .cv-milestone[data-side="right"] .cv-card {
        grid-column: 2;
        text-align: left;
        margin-left: 1.4rem;
        margin-right: 0;
    }
    .cv-milestone[data-side="left"]  .cv-dot,
    .cv-milestone[data-side="right"] .cv-dot  { grid-column: 1; }
    .cv-line { left: 19px; }

    /* footer */
    .footer-grid { grid-template-columns: 1fr; }
}

/* phones */
@media (max-width: 680px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem 5%;
    }
    .nav-links { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
    .nav-links a { font-size: .78rem; }

    .page-header { margin-top: 110px; padding: 3rem 5% 2.5rem; }

    .hero-left { padding: 4rem 2rem; }
    .index-projects { padding: 4rem 2rem; }
    .path-card { padding: 2.5rem 1.8rem; }

    .listing-section { padding: 3rem 5%; }
    .listing-image { min-height: 280px; }

    .detail-hero { height: 45vh; min-height: 320px; }
    .detail-meta-strip { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
    .detail-body { padding: 3rem 5% 5rem; }

    .site-footer { padding: 3rem 5%; }
    .footer-grid { padding: 0; }

    /* about phone */
    .about-hero-text { padding: 3rem 5%; }
    .about-hero-title { font-size: 2.8rem; }
    .about-photo-strip { grid-template-columns: 1fr; }
    .about-strip-img { aspect-ratio: 16/9; }
    .about-closing-photos { grid-template-columns: 1fr 1fr; gap: .7rem; }

    /* cv phone */
    .cv-skills { padding: 2rem 5%; }
    .cv-card { padding: 1.4rem 1.2rem; }
    .cv-title { font-size: 1.15rem; }

    .cv-download { flex-direction: column; align-items: flex-start; }
    .cv-software-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .7rem; }
    .cv-tool { padding: 1.2rem .7rem 1rem; }
    .cv-tool-icon { width: 36px; height: 36px; }
}


/* ══════════════════════════════════════════════════════════════════════
   PROJECT DETAIL PAGES STYLESHEET
   Swiss Minimalistic Design — Julie Jancickova Portfolio
   ══════════════════════════════════════════════════════════════════════ */

/* ── Project Containers ── */
.project-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.project-container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.project-container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── Hero Layouts ── */

/* Split Hero (Project 1) */
.project-hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 120px 40px 80px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.project-hero-text h1 {
    margin: 16px 0 24px;
}

.project-meta {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

.project-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 24px;
}

.project-intro {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 32px;
}

.project-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.project-hero-image,
.full-width-image {
    position: relative;
}

/* Full Hero (Project 2) */
.project-hero-full {
    padding-top: 100px;
}

.project-hero-full-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
}

.project-title-large {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin: 16px 0 24px;
}

.project-intro-large {
    font-size: 20px;
    line-height: 1.6;
    color: #444;
    max-width: 700px;
    margin: 0 auto;
}

/* Minimal Hero (Project 3) */
.project-hero-minimal {
    padding: 140px 40px 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.project-title-xl {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin: 16px 0 24px;
}

.project-intro-xl {
    font-size: 22px;
    line-height: 1.6;
    color: #444;
    max-width: 800px;
}

/* Narrative Hero (Project 4) */
.project-hero-narrative {
    padding: 140px 40px 60px;
    text-align: center;
}

.project-title-narrative {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.1;
    margin: 16px 0;
}

/* ── Section Layouts ── */
.project-section {
    padding: 80px 0;
}

.project-bg-light {
    background: #fafafa;
}

.project-bg-dark {
    background: #1a1a1a;
}

.section-heading {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 48px;
    text-align: center;
}

/* ── Grid Layouts ── */
.project-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.project-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.project-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* ── Process Sections ── */

/* Side-by-side process (Project 1) */
.process-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.process-step-reverse {
    direction: rtl;
}

.process-step-reverse > * {
    direction: ltr;
}

.process-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px;
}

.process-content p {
    line-height: 1.6;
    color: #444;
    margin-bottom: 16px;
}

.process-content ul {
    margin: 16px 0;
    padding-left: 20px;
}

.process-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.process-image {
    position: relative;
}

/* Vertical Timeline (Project 2) */
.timeline-vertical {
    position: relative;
    padding-left: 80px;
}

.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ddd;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
}

.timeline-marker {
    position: absolute;
    left: -80px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.timeline-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.timeline-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px;
}

.timeline-content p {
    line-height: 1.6;
    color: #444;
    margin-bottom: 16px;
}

.timeline-image {
    position: relative;
}

/* ── Visual Showcases ── */
.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
}

.visual-grid-large {
    margin-bottom: 40px;
}

.visual-item {
    margin-bottom: 24px;
}

.visual-caption {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* Masonry Grid (Project 3) */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    grid-auto-rows: 250px;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.masonry-tall {
    grid-row: span 2;
}

/* Dual Image Layout (Project 4) */
.dual-image-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.dual-image-item {
    position: relative;
}

.full-width-visual {
    width: 100%;
    margin: 60px 0;
}

/* ── Design System Showcase ── */
.system-section {
    margin-bottom: 60px;
}

.system-section h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 32px;
}

.color-palette-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.color-swatch {
    aspect-ratio: 1;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.color-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.color-name {
    font-weight: 600;
    font-size: 14px;
}

.color-hex {
    font-size: 12px;
    font-family: monospace;
    opacity: 0.8;
}

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

.type-sample {
    padding: 32px;
    background: #fafafa;
    border-radius: 8px;
}

.type-sample p {
    margin: 8px 0;
    line-height: 1.4;
}

/* ── Content Blocks ── */
.lead-text {
    font-size: 20px;
    line-height: 1.7;
    color: #444;
    margin: 0 0 32px;
}

.lead-text-xl {
    font-size: 28px;
    line-height: 1.6;
    color: #333;
    font-weight: 400;
}

.project-overview-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.project-overview-centered h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 24px;
}

.project-outcome-centered {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.project-outcome-centered h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 24px;
}

.project-outcome-text {
    max-width: 800px;
    margin: 40px auto 0;
}

.project-outcome-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

/* ── Stats & Metrics ── */
.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #000;
}

.stat-label {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.project-stats-inline {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-inline {
    text-align: center;
}

.stat-inline h3 {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 8px;
}

.stat-inline p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ── Technical Cards ── */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tech-card {
    padding: 32px;
    background: #fafafa;
    border-radius: 8px;
}

.tech-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
}

.tech-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 12px;
}

.tech-card strong {
    font-weight: 600;
    color: #000;
}

.tech-architecture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.tech-layer {
    padding: 32px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.tech-layer h4 {
    margin: 0 0 12px;
}

.code-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.code-stat {
    text-align: center;
}

.code-stat h3 {
    font-size: 40px;
    margin: 0 0 8px;
}

.code-stat p {
    font-size: 14px;
    margin: 0;
}

/* ── Process Cards ── */
.process-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-card {
    padding: 32px 24px;
    background: #fafafa;
    border-radius: 8px;
}

.process-number {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
}

.process-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
}

.process-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* ── Challenge/Solution Layout ── */
.challenge-solution-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.challenge-col h2,
.solution-col h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px;
}

.challenge-col p,
.solution-col p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 16px;
}

.challenge-col ul,
.solution-col ul {
    margin: 16px 0;
    padding-left: 20px;
}

.challenge-col li,
.solution-col li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #444;
}

/* ── Narrative Sections ── */
.narrative-section {
    margin-bottom: 60px;
}

.narrative-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px;
}

.narrative-section p {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

/* ── Quotes & Testimonials ── */
.testimonial {
    margin-top: 48px;
    padding: 40px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: center;
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.6;
    font-style: italic;
    color: #333;
    margin: 0 0 16px;
}

.testimonial-author {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin: 0;
}

.quote-block {
    margin: 40px 0;
    padding: 32px;
    border-left: 4px solid #000;
    background: #fafafa;
}

.quote-text {
    font-size: 20px;
    line-height: 1.6;
    font-style: italic;
    color: #333;
    margin: 0 0 16px;
}

.quote-attribution {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin: 0;
}

.impact-metrics {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 48px;
}

.metric-item {
    text-align: center;
}

.metric-item h3 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 8px;
}

.metric-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* ── Footer Navigation ── */
.project-nav-footer {
    display: flex;
    justify-content: space-between;
    padding: 60px 0;
}

.btn-primary,
.btn-secondary {
    padding: 16px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover {
    background: #333;
}

.btn-secondary {
    background: #f5f5f5;
    color: #000;
}

.btn-secondary:hover {
    background: #e5e5e5;
}

/* ── Responsive Breakpoints ── */

@media (max-width: 1024px) {
    .project-hero-split,
    .process-step,
    .timeline-content-wrapper,
    .project-grid-2col,
    .dual-image-layout,
    .challenge-solution-layout,
    .typography-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-step-reverse {
        direction: ltr;
    }
    
    .project-grid-3col,
    .masonry-grid,
    .tech-grid,
    .tech-architecture-grid,
    .process-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .project-grid-4col,
    .color-palette-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-title-large {
        font-size: 48px;
    }
    
    .project-title-xl {
        font-size: 54px;
    }
    
    .project-title-narrative {
        font-size: 54px;
    }
    
    .timeline-vertical {
        padding-left: 0;
    }
    
    .timeline-vertical::before {
        display: none;
    }
    
    .timeline-marker {
        position: static;
        margin-bottom: 20px;
    }
    
    .code-stats,
    .project-stats-inline,
    .impact-metrics {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .project-container,
    .project-container-narrow,
    .project-container-wide {
        padding: 0 24px;
    }
    
    .project-section {
        padding: 60px 0;
    }
    
    .project-hero-split {
        padding: 100px 24px 60px;
    }
    
    .project-hero-minimal {
        padding: 120px 24px 60px;
    }
    
    .project-hero-narrative {
        padding: 120px 24px 60px;
    }
    
    .project-title {
        font-size: 36px;
    }
    
    .project-title-large {
        font-size: 36px;
    }
    
    .project-title-xl {
        font-size: 40px;
    }
    
    .project-title-narrative {
        font-size: 40px;
    }
    
    .lead-text-xl {
        font-size: 20px;
    }
    
    .section-heading {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .project-grid-4col,
    .color-palette-grid {
        grid-template-columns: 1fr;
    }
    
    .project-nav-footer {
        flex-direction: column;
        gap: 16px;
        padding: 40px 0;
    }
    
    .btn-primary,
    .btn-secondary {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .project-intro {
        font-size: 16px;
    }
    
    .project-intro-large,
    .project-intro-xl {
        font-size: 18px;
    }
    
    .project-tags {
        gap: 8px;
    }
    
    .tag {
        font-size: 12px;
        padding: 6px 12px;
    }
}
