/* Work Page - Modern Redesign */

/* Body lock for mobile nav */
body.nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

:root {
    --cream: #FAF7F2;
    --white: #FFFDF9;
    --sand: #E8E0D5;
    --terracotta: #C4704F;
    --terracotta-dark: #A85A3A;
    --terracotta-light: rgba(196, 112, 79, 0.1);
    --sage: #7D9082;
    --sage-dark: #5E7363;
    --charcoal: #2C2C2C;
    --brown: #4A3F35;
    --text: #3D3D3D;
    --text-light: #6B6B6B;
    --border: #E0D8CC;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--cream);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--terracotta);
    color: white;
    padding: 0.5rem 1rem;
    z-index: 1001;
}
.skip-link:focus { top: 0; }

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--cream);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--charcoal);
    text-decoration: none;
}

.nav-logo span { color: var(--terracotta); font-style: italic; }

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

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--terracotta); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: 0.3s;
}

/* Container */
.work-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero */
.work-hero {
    padding: 10rem 2rem 5rem;
    background: linear-gradient(135deg, var(--brown) 0%, var(--charcoal) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.work-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(196, 112, 79, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(125, 144, 130, 0.2) 0%, transparent 50%);
}

.work-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.work-hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--terracotta);
    background: rgba(196, 112, 79, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.work-hero h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.work-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.7;
}

/* Pull Quotes */
.pull-quote-section {
    padding: 4rem 0;
    background: var(--sand);
    position: relative;
}

.pull-quote-section.pull-quote-alt {
    background: var(--charcoal);
}

.pull-quote {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.pull-quote::before {
    content: '"';
    font-family: var(--font-serif);
    font-size: 8rem;
    color: var(--terracotta);
    opacity: 0.2;
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
}

.pull-quote p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--brown);
    position: relative;
    z-index: 1;
}

.pull-quote-alt .pull-quote p {
    color: rgba(255, 255, 255, 0.9);
}

.pull-quote-alt .pull-quote::before {
    color: var(--sage);
    opacity: 0.3;
}

/* Sections */
.work-section {
    padding: 5rem 0;
}

.work-section-alt {
    background: var(--white);
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-intro h2 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.section-intro p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-intro-light {
    color: white;
}

.section-intro-light h2 {
    color: white;
}

.section-intro-light p {
    color: rgba(255,255,255,0.8);
}

/* Roles Grid */
.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.role-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--terracotta);
}

.role-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.role-date {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.role-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.role-org {
    font-size: 0.9rem;
    color: var(--sage-dark);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.role-card > p:last-child {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Featured Full Width */
.featured-full {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-full-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-full-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.featured-full-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--terracotta);
    border-radius: 12px;
    z-index: -1;
}

.featured-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--terracotta);
    background: var(--terracotta-light);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.featured-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.featured-full-content h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.featured-org {
    font-size: 1rem;
    color: var(--sage-dark);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.featured-full-content > p:not(.featured-org) {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--terracotta);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-icon { font-size: 1.25rem; }

/* Paper Project Section */
.paper-project-section {
    background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 100%);
    color: white;
}

.btn-link {
    color: white;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 500;
    transition: opacity 0.2s;
}

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

/* Video Showcase */
.video-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.video-main .video-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-thumbs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.video-thumb .video-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Projects Masonry */
.projects-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--terracotta);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card-large {
    grid-column: span 2;
    grid-row: span 2;
}

.project-card-large img {
    height: 100%;
    min-height: 300px;
}

.project-card-wide {
    grid-column: span 2;
}

.project-card-content {
    padding: 1.5rem;
}

.project-card-text-only {
    background: linear-gradient(135deg, var(--sand) 0%, var(--cream) 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-card-date {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.project-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.project-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Leadership Timeline */
.leadership-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 3rem;
}

.leadership-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--terracotta), var(--sage));
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--terracotta);
    border-radius: 50%;
    border: 3px solid var(--white);
    transform: translateX(-50%);
    margin-left: 1px;
}

.timeline-date {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--terracotta);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.timeline-org {
    font-size: 0.95rem;
    color: var(--sage-dark);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.timeline-content > p:last-child {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Downloads */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-card:hover {
    border-color: var(--terracotta);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.download-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.download-info h4 {
    font-size: 0.95rem;
    color: var(--charcoal);
    margin-bottom: 0.15rem;
}

.download-info span {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* CTA */
.work-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
    text-align: center;
    color: white;
}

.work-cta h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.work-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: white;
    color: var(--terracotta);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    background: var(--charcoal);
    color: white;
    transform: translateY(-2px);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: 2px solid white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--terracotta);
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo span { color: var(--terracotta); font-style: italic; }

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-links-grid h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
}

.footer-links-grid ul {
    list-style: none;
}

.footer-links-grid li {
    margin-bottom: 0.5rem;
}

.footer-links-grid a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-links-grid p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* Paper Project Links */
.paper-project-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.paper-project-links .btn-link {
    color: rgba(255,255,255,0.9);
}

.paper-project-links .btn-link:hover {
    color: white;
}

/* ========================================
   Luxurious Projects Section
   ======================================== */
.projects-luxe {
    background: linear-gradient(135deg, #1a3a38 0%, #2d4a47 50%, #1a3a38 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.projects-luxe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.luxe-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.luxe-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terracotta);
    background: rgba(196, 112, 79, 0.15);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.luxe-header h2 {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.75rem;
}

.luxe-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.luxe-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--terracotta), transparent);
    margin: 0 auto;
}

.projects-luxe-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.project-luxe-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
}

.project-luxe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-color: rgba(196, 112, 79, 0.6);
}

/* Click indicator arrow */
.project-luxe-card::after {
    content: '\2192';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(196, 112, 79, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.project-luxe-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Linked project cards */
.project-luxe-card a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-decoration: none;
    color: inherit;
}

.project-luxe-card a img,
.project-luxe-card a .project-luxe-overlay,
.project-luxe-card a .project-luxe-content {
    position: absolute;
}

.project-luxe-card a .project-luxe-content {
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
}

.project-luxe-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-luxe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26, 58, 56, 0.95) 0%, rgba(26, 58, 56, 0.4) 50%, transparent 100%);
    transition: background 0.4s ease;
}

.project-luxe-card:hover .project-luxe-overlay {
    background: linear-gradient(to top, rgba(26, 58, 56, 0.98) 0%, rgba(26, 58, 56, 0.6) 60%, rgba(26, 58, 56, 0.2) 100%);
}

.project-luxe-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

.project-luxe-date {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

.project-luxe-content h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.project-luxe-content p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

.project-luxe-content .photo-credit {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Featured Project Card (larger) */
.project-luxe-featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 580px;
}

.project-luxe-featured .project-luxe-content h3 {
    font-size: 1.75rem;
}

.project-luxe-featured .project-luxe-content p {
    font-size: 0.95rem;
}

/* Text-only cards */
.project-luxe-text {
    background: linear-gradient(135deg, rgba(196, 112, 79, 0.15) 0%, rgba(196, 112, 79, 0.05) 100%);
    border: 1px solid rgba(196, 112, 79, 0.2);
}

.project-luxe-text:hover {
    background: linear-gradient(135deg, rgba(196, 112, 79, 0.25) 0%, rgba(196, 112, 79, 0.1) 100%);
    border-color: rgba(196, 112, 79, 0.5);
}

.project-luxe-text .project-luxe-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .roles-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-full { grid-template-columns: 1fr; gap: 2rem; }
    .featured-full-image img { height: 350px; }
    .projects-masonry { grid-template-columns: repeat(2, 1fr); }
    .project-card-large { grid-row: span 1; }
    .downloads-grid { grid-template-columns: repeat(2, 1fr); }

    .projects-luxe-grid { grid-template-columns: repeat(2, 1fr); }
    .project-luxe-featured { grid-column: span 2; grid-row: span 1; min-height: 350px; }
}

@media (max-width: 768px) {
    .pull-quote-section { padding: 3rem 0; }
    .pull-quote p { font-size: 1.2rem; }
    .pull-quote::before { font-size: 5rem; top: -2rem; }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--cream);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a { font-size: 1.25rem; }
    .nav-toggle { display: flex; }

    .work-hero { padding: 8rem 1.5rem 4rem; }
    .work-hero h1 { font-size: 2.5rem; }
    .work-hero p { font-size: 1rem; }

    .work-section { padding: 3.5rem 0; }
    .work-container { padding: 0 1.5rem; }

    .roles-grid { grid-template-columns: 1fr; }
    .role-card { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
    .role-icon { font-size: 2rem; grid-row: span 3; }

    .video-showcase { grid-template-columns: 1fr; }
    .video-thumbs { flex-direction: row; }
    .video-thumb { flex: 1; }

    .projects-masonry { grid-template-columns: 1fr; }
    .project-card-large,
    .project-card-wide { grid-column: span 1; }
    .project-card-large img { min-height: 200px; }

    .projects-luxe { padding: 4rem 0; }
    .luxe-header h2 { font-size: 2rem; }
    .projects-luxe-grid { grid-template-columns: 1fr; gap: 1rem; }
    .project-luxe-featured { grid-column: span 1; min-height: 280px; }
    .project-luxe-card { min-height: 220px; }
    .paper-project-links { flex-direction: column; gap: 0.75rem; }

    .leadership-timeline { padding-left: 2rem; }
    .timeline-marker { left: -2rem; }

    .downloads-grid { grid-template-columns: 1fr; }

    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .work-hero h1 { font-size: 2rem; }
    .section-intro h2 { font-size: 1.75rem; }
    .featured-full-content h2 { font-size: 1.75rem; }
    .video-thumbs { flex-direction: column; }
    .role-card { grid-template-columns: 1fr; text-align: center; }
    .role-icon { grid-row: auto; }
    .footer-links-grid { grid-template-columns: 1fr; }
}

/* ============================================
   RESOURCES SECTION - ARTISTIC REDESIGN
   ============================================ */

.resources-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%);
    position: relative;
    overflow: hidden;
}

.resources-art-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.art-shape {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(196, 112, 79, 0.15);
}

.art-shape-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
    animation: floatShape 20s ease-in-out infinite;
}

.art-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -80px;
    border-color: rgba(125, 144, 130, 0.12);
    animation: floatShape 25s ease-in-out infinite reverse;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.resources-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.resources-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.resources-header h2 {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.resources-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.resources-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--terracotta), transparent);
    margin: 0 auto;
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.resource-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--terracotta);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(74, 63, 53, 0.12);
    border-color: rgba(196, 112, 79, 0.3);
}

.resource-card:hover::before {
    transform: scaleY(1);
}

.resource-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 112, 79, 0.08);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.resource-icon svg {
    width: 32px;
    height: 32px;
    color: var(--terracotta);
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-icon {
    background: var(--terracotta);
}

.resource-card:hover .resource-icon svg {
    color: white;
    transform: scale(1.1);
}

/* Different icon colors for variety */
.resource-portfolio .resource-icon { background: rgba(196, 112, 79, 0.1); }
.resource-cv .resource-icon { background: rgba(125, 144, 130, 0.1); }
.resource-cv .resource-icon svg { color: var(--sage-dark); }
.resource-cv:hover .resource-icon { background: var(--sage-dark); }

.resource-report .resource-icon { background: rgba(74, 63, 53, 0.08); }
.resource-report .resource-icon svg { color: var(--brown); }
.resource-report:hover .resource-icon { background: var(--brown); }

.resource-archive .resource-icon { background: rgba(94, 115, 99, 0.1); }
.resource-archive .resource-icon svg { color: var(--sage); }
.resource-archive:hover .resource-icon { background: var(--sage); }

.resource-content {
    flex: 1;
}

.resource-content h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.resource-card:hover .resource-content h4 {
    color: var(--terracotta);
}

.resource-content span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.resource-arrow {
    font-size: 1.25rem;
    color: var(--terracotta);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.resource-card:hover .resource-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   PAPER PROJECT - LUXE REDESIGN
   ============================================ */

.paper-project-luxe {
    padding: 7rem 0;
    background: linear-gradient(135deg, #1a3a38 0%, #2d4a47 50%, #1a3a38 100%);
    position: relative;
    overflow: hidden;
}

/* Artistic Background Elements */
.paper-art-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.paper-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.paper-circle-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -150px;
    animation: paperFloat 30s ease-in-out infinite;
}

.paper-circle-2 {
    width: 350px;
    height: 350px;
    bottom: -100px;
    left: -100px;
    border-color: rgba(196, 112, 79, 0.15);
    animation: paperFloat 25s ease-in-out infinite reverse;
}

.paper-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.paper-line-1 {
    width: 300px;
    top: 30%;
    left: 5%;
    transform: rotate(-10deg);
}

.paper-line-2 {
    width: 200px;
    bottom: 25%;
    right: 8%;
    transform: rotate(15deg);
}

.paper-dots {
    position: absolute;
    top: 20%;
    right: 15%;
    display: flex;
    gap: 8px;
}

.paper-dots span {
    width: 6px;
    height: 6px;
    background: rgba(196, 112, 79, 0.4);
    border-radius: 50%;
    animation: paperDot 3s ease-in-out infinite;
}

.paper-dots span:nth-child(2) { animation-delay: 0.3s; }
.paper-dots span:nth-child(3) { animation-delay: 0.6s; }
.paper-dots span:nth-child(4) { animation-delay: 0.9s; }
.paper-dots span:nth-child(5) { animation-delay: 1.2s; }

@keyframes paperFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(3deg); }
}

@keyframes paperDot {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* Paper Header */
.paper-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.paper-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.paper-years {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--terracotta);
    font-weight: 500;
}

.paper-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.25rem;
}

.paper-venue {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.paper-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    color: white;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.title-word {
    display: inline-block;
    margin: 0 0.25em;
}

.title-accent {
    color: var(--terracotta);
    font-style: italic;
}

.paper-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Content Grid */
.paper-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.paper-description {
    color: white;
}

.paper-intro {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.paper-description > p:not(.paper-intro) {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* Stats */
.paper-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--terracotta);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

/* Paper Buttons */
.paper-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.paper-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.paper-btn svg {
    width: 18px;
    height: 18px;
}

.paper-btn-primary {
    background: var(--terracotta);
    color: white;
}

.paper-btn-primary:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 112, 79, 0.4);
}

.paper-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.paper-btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Video Section */
.paper-videos {
    position: relative;
}

.video-frame-main {
    position: relative;
    margin-bottom: 1rem;
}

.video-frame-accent {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--terracotta);
    border-radius: 12px;
    z-index: -1;
}

.video-frame-main .video-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.video-thumbnails {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.video-thumb-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.video-thumb-item:hover {
    transform: translateY(-4px);
}

/* Responsive for New Sections */
@media (max-width: 1024px) {
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .resources-section {
        padding: 4rem 0;
    }

    .resources-header h2 {
        font-size: 2rem;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .resource-card {
        padding: 1.25rem 1.5rem;
    }

    .paper-project-luxe {
        padding: 4rem 0;
    }

    .paper-title {
        font-size: 2.5rem;
    }

    .title-word {
        display: block;
        margin: 0;
    }

    .paper-stats {
        justify-content: space-around;
    }

    .paper-links {
        flex-direction: column;
    }

    .paper-btn {
        justify-content: center;
    }

    .video-frame-accent {
        display: none;
    }

    .video-thumbnails {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .resource-icon {
        width: 48px;
        height: 48px;
    }

    .resource-icon svg {
        width: 26px;
        height: 26px;
    }

    .paper-years {
        font-size: 1.25rem;
    }

    .paper-stats {
        gap: 1.5rem;
    }

    .stat-num {
        font-size: 1.5rem;
    }
}

/* ============================================
   MOBILE CONTENT CENTERING
   ============================================ */

@media (max-width: 768px) {
    /* Center all text content on mobile */
    .work-hero,
    .work-hero-content,
    .section-intro,
    .featured-full-content,
    .paper-header,
    .paper-description,
    .resources-header,
    .luxe-header,
    .timeline-content,
    .footer-brand {
        text-align: center;
    }

    /* Center flex containers */
    .paper-links,
    .paper-stats,
    .cta-buttons {
        justify-content: center;
    }

    /* Center resource cards content */
    .resource-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .resource-card::before {
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 4px;
        transform: scaleX(0);
    }

    .resource-card:hover::before {
        transform: scaleX(1);
    }

    .resource-arrow {
        display: none;
    }

    /* Center timeline items */
    .timeline-item {
        text-align: center;
    }

    .timeline-marker {
        left: 50%;
        transform: translateX(-50%);
    }

    .leadership-timeline {
        padding-left: 0;
    }

    /* Center featured project content */
    .featured-full {
        text-align: center;
    }

    .featured-full-content .btn-download {
        margin: 0 auto;
    }

    /* Center project cards */
    .project-luxe-content {
        text-align: center;
    }

    /* Center footer */
    .footer-content {
        text-align: center;
    }

    .footer-links-grid {
        justify-items: center;
    }

    .footer-links-grid ul {
        text-align: center;
    }

    /* Center pull quotes */
    .pull-quote {
        text-align: center;
    }

    /* Center paper project description */
    .paper-description p {
        text-align: center;
    }

    .paper-intro {
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Even more centered on very small screens */
    .role-card {
        text-align: center;
    }

    .resource-content h4 {
        font-size: 1rem;
    }

    .resource-content span {
        font-size: 0.8rem;
    }
}
