/* Homepage Specific Styles for Single-Page Layout */

.editorial-hero {
    padding: 50px 0 120px;
    background: #ffffff;
}

.editorial-hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #000000;
    letter-spacing: -0.03em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.hero-subtext {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 300;
    color: #6d6d6d;
}

.editorial-hero-subtitle {
    font-size: 2rem;
    margin-top: 5rem;
    color: #666;
    max-width: 1000px;
    margin-left: 0;
    margin-right: 0;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
    text-align: left;
}

.editorial-hero-title span.nowrap {
    white-space: nowrap;
}

.scroll-cue {
    text-align: center;
    margin-top: 3rem;
}

#scroll-down-cue {
    font-size: 2.5rem;
    opacity: 0.5;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(18px); }
}

.about-section, .contact-section, .journal-section {
    padding: 0px 0 5px;
    background: #fff;
    
}

.contact-section .work-section {
    margin-top: 4rem;
    padding-top: 0;
    background: transparent;
}

.about-main-grid {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    min-height: 60vh;
}

.about-image-container {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: stretch;
}

.about-portrait {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.about-text-content {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text-content h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000;
}

.about-text-content p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: -0.01em;
    font-size: 2.2rem;
    color: rgba(0, 0, 0, 0.9);
    text-align: left;
    position: relative;
    margin-bottom: 1.5rem;
}

.editorial-section-title {
    font-size: 3rem;
    font-weight: 300;
    margin-top: 12rem;
    margin-bottom: 4rem;
    text-align: center;
    color: #000000;
    letter-spacing: -0.02em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.work-section .editorial-section-title {
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Project Cards */
.project-cards {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    flex: 1 1 350px;
    min-width: 300px;
    max-width: 400px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #000;
}

.project-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.project-card p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid #000;
    background: none;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    border-radius: 999px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    align-self: center;
}

.project-link:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.work-list {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 2;
    list-style: none;
    padding: 0;
}

.work-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.work-list li::before {
    content: '';
    position: absolute;
    left: 0;
    color: #000;
    font-weight: 600;
}

.cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0 2rem 0;
    width: 100%;
    /* Subtle up/down float only */
    transform: translateY(-8px);
    animation: ctaFloatY 3.5s ease-in-out infinite alternate;
}

@keyframes ctaFloatY {
    0%   { transform: translateY(-8px);}
    100% { transform: translateY(0);}
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 252px;
    height: 252px;
    border-radius: 50%;
    border: 1px solid #bbbbbb;
    background: #ffffff;
    color: #000;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: box-shadow 0.3s, border-color 0.3s, background 0.3s, color 0.3s;
    box-shadow: none;
    margin: 0 auto;
    cursor: pointer;
    outline: none;
}

.cta-button:hover,
.cta-button:focus {
    border-color: #000;
    background: rgba(0,0,0,0.03);
    color: #111;
}

.cta-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.journal-intro {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 1rem auto;
    line-height: 1.6;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 8rem auto 1rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.contact-info p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: -0.05em;
    font-size: 2.8rem;
    color: rgba(0, 0, 0, 0.9);
    text-align: left;
    position: relative;
    margin-bottom: 1rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    margin-bottom: 1rem;
}

.contact-method h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
}

.contact-method p {
    margin-bottom: 0;
    color: #666;
}

.contact-method a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-method a:hover {
    color: #666;
}

.contact-info-section {
    margin-top: 2rem;
}

.contact-info-section h3 {
    margin-top: 12rem;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
}

/* Work Services Grid */
.work-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 8rem;
}

.work-service-card {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.work-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #000;
}

.work-service-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.8rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #000;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1;
}

.service-list li:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 900px) {
    .editorial-hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .project-card {
        flex: 1 1 300px;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .editorial-hero {
        padding: 120px 0 80px;
    }
    
    .about-section, .contact-section, .journal-section {
        padding: 72px 0 15px;
    }
    
    .contact-section .work-section {
        margin-top: 3rem;
    }
    
    .editorial-section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .writings-content {
        gap: 2rem;
    }
    
    .writings-description {
        font-size: 1.2rem;
        margin-top: 0.5rem;
    }
    
    .writings-bubble-button {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        gap: 0.8rem;
    }
    
    .bubble-arrow {
        font-size: 1.2rem;
    }
    
    .project-card {
        flex: 1 1 100%;
        max-width: none;
    }
    
    .work-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .work-service-card {
        padding: 1.5rem;
    }
    
    .work-service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .service-list li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .about-main-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-image-container {
        flex: none;
        max-width: 100%;
    }
    
    .about-text-content {
        flex: none;
        max-width: 100%;
        padding-left: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.editorial-hero-title,
.editorial-hero-subtitle,
.about-text-content,
.project-card,
.work-list,
.contact-info {
    animation: fadeInUp 0.8s ease-out;
}

/* Writings Section Redesign */
.writings-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    gap: 3rem;
}

.writings-text {
    flex: 1;
}

.writings-description {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.writings-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.writings-bubble-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 380px;
    height: 380px;
    border: 0.7px solid #9f9f9f;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    background: #fff;
    position: relative;
    cursor: pointer;
    outline: none;
    transform: translateY(-18px) translateX(0);
    animation: bubbleFloatXY 4.5s ease-in-out infinite alternate;
}

@keyframes bubbleFloatXY {
    0%   { transform: translateY(-18px) translateX(0) scale(1); }
    25%  { transform: translateY(-10px) translateX(10px) scale(1.01);}
    50%  { transform: translateY(-2px)  translateX(0) scale(1.03);}
    75%  { transform: translateY(-10px) translateX(-10px) scale(1.01);}
    100% { transform: translateY(-18px) translateX(0) scale(1);}
}

.writings-bubble-link:hover,
.writings-bubble-link:focus {
    outline: none;
    border-color: #000;
    background: transparent;
}

.writings-bubble-content {
    width: 80%;
    margin: 0 auto;
}

.writings-bubble-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #111;
    margin-bottom: 1.2rem;
    margin-top: 0;
}

.writings-bubble-desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    color: #222;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 600px), (prefers-reduced-motion: reduce) {
    .writings-bubble-link,
    .cta-container {
        animation: none !important;
        transform: none !important;
    }
}

@media (max-width: 600px) {
    .writings-bubble-link {
        width: 90vw;
        height: 90vw;
        min-width: 220px;
        min-height: 220px;
        max-width: 98vw;
        max-height: 98vw;
    }
    .writings-bubble-title {
        font-size: 1.5rem;
    }
    .writings-bubble-desc {
        font-size: 1rem;
    }
}

.writings-bubble-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    background: transparent;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: box-shadow 0.3s, border-color 0.3s, background 0.3s, color 0.3s;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    border: 1.5px solid #bbbbbb;
}

.writings-bubble-button:hover,
.writings-bubble-button:focus {
    border-color: #000;
    background: transparent;
    color: #111;
}

/* Footer Back to Top Button */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-to-top-btn {
    background: transparent;
    padding: 0.5rem 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
    border: none;
    color: #000000;
}

.back-to-top-btn:hover,
.back-to-top-btn:focus {
    font-size: 1.2rem;
    color: #333;
}

.back-to-top-btn:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-center {
        order: 2;
    }
    
    .footer-left {
        order: 1;
    }
    
    .footer-right {
        order: 3;
    }
}

/* Video Sections */
.video-section {
    padding: 0.02rem 0;
    background: #ffffff;
    position: relative;
    margin-top:12vh;
}

.video-section .container {
    max-width: 100%;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.full-width-video {
    width: 20%;
    height: auto;
    max-width: 500px;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

/* Video positioning - corners */
.video-section:nth-of-type(1) .container {
    justify-content: flex-end;
    padding-right: 2rem;
    margin-right: 25%;
}

/* Fallback image styling */
.full-width-video img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Full-width video background section */
.video-background-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 2;
}

.video-background-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

/* Adjust existing sections for video background */
.video-background-section .cta-container {
    margin: 0;
    transform: none;
    animation: none;
}

.video-background-section .writings-bubble-link {
    transform: none;
    animation: none;
}

/* Mobile responsiveness for videos */
@media (max-width: 768px) {
    .video-section {
        padding: 0.125rem 0;
    }
    
    .video-section .container {
        padding: 0 1rem;
    }
    
    .full-width-video {
        width: 45%;
        max-width: 300px;
    }
    
    /* Maintain corner positioning on mobile */
    .video-section:nth-of-type(1) .container {
        justify-content: flex-end;
        padding-right: 1rem;
        margin-right: 15%;
    }
    
    .video-background-content {
        padding: 2rem 1rem;
        gap: 2rem;
    }
}

/* Ensure videos work well on all devices */
@media (max-width: 480px) {
    .video-section {
        padding: 0.0625rem 0;
    }
    
    .video-section .container {
        padding: 0 0.5rem;
    }
    
    .full-width-video {
        width: 50%;
        max-width: 200px;
    }
    
    /* Maintain corner positioning on small mobile */
    .video-section:nth-of-type(1) .container {
        justify-content: flex-end;
        padding-right: 0.5rem;
        margin-right: 10%;
    }
    
    .video-background-content {
        padding: 1rem 0.5rem;
        gap: 1.5rem;
    }
} 