/* ========================================
   RED DYNAMO - Exact Squarespace Replica
   ======================================== */

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

body {
    font-family: 'Josefin Sans', Helvetica, Arial, sans-serif;
    background: #fff;
    color: #000;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Top Black Bar
   ======================================== */
.top-bar {
    height: 40px;
    background: #000;
    width: 100%;
}

/* ========================================
   Site Container
   ======================================== */
.site-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ========================================
   Header
   ======================================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 0 60px;
}

.header-left {
    flex-shrink: 0;
}

.logo {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #c41230;
    display: block;
    margin-bottom: 2px;
}

.tagline {
    font-size: 18px;
    font-weight: 400;
    color: #444;
    letter-spacing: 0.02em;
}

.main-nav {
    padding-top: 15px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #666;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #000;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    height: 2px;
    background: #333;
    width: 100%;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    padding: 20px 0 30px;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    padding: 12px 0;
}

.mobile-nav a {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #666;
}

/* ========================================
   Project Grid
   ======================================== */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-bottom: 80px;
}

.project-item {
    display: block;
    text-align: center;
}

.project-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: 15px;
}

.project-thumb img,
.project-thumb .placeholder-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-item:hover .project-thumb img,
.project-item:hover .placeholder-thumb {
    transform: scale(1.03);
}

.project-title {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #666;
    text-transform: uppercase;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0 60px;
    border-top: 1px solid #eee;
}

.footer p {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #999;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: color 0.2s;
}

.social-links a:hover {
    color: #666;
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   About Page
   ======================================== */
.page-content {
    padding-bottom: 80px;
}

.hero-image {
    width: 100%;
    margin-bottom: 50px;
}

.hero-image img {
    width: 100%;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 60px;
    align-items: start;
}

.about-main h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #000;
}

.about-main p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

.about-sidebar {
    padding-top: 10px;
}

.founder-photo {
    width: 100%;
    margin-bottom: 20px;
}

.founder-photo img {
    width: 100%;
}

.founder-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.founder-bio {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: #555;
}

/* Illustration on About page */
.about-illustration {
    max-width: 400px;
    margin: 40px auto;
}

.about-illustration img {
    width: 100%;
}

.illustration-caption {
    font-size: 11px;
    font-style: italic;
    color: #999;
    margin-top: 10px;
    text-align: center;
}

/* ========================================
   Project Page
   ======================================== */
.project-page-content {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.project-page-content h2 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    color: #333;
}

.project-page-content > p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin: 30px 0;
    background: #000;
}

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

.video-container .video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 13px;
    letter-spacing: 0.1em;
}

.video-caption {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-top: -15px;
    margin-bottom: 40px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.video-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.back-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #999;
    margin-top: 40px;
    transition: color 0.2s;
}

.back-link:hover {
    color: #333;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-simple {
    max-width: 600px;
    padding: 20px 0 80px;
}

.contact-simple h2 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #333;
    margin-bottom: 20px;
}

.contact-simple > p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
    color: #555;
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 35px;
}

.contact-details p,
.contact-address p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    color: #555;
}

.contact-details strong,
.contact-address strong {
    font-weight: 600;
    color: #333;
}

.contact-details a {
    color: #c41230;
    transition: color 0.2s;
}

.contact-details a:hover {
    color: #333;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 40px 0 80px;
}

.contact-form h3 {
    font-size: 14px;
    font-weight: 400;
    color: #555;
    margin-bottom: 5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: #555;
    margin-bottom: 8px;
}

.form-group label span {
    font-size: 11px;
    color: #999;
    font-weight: 300;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #999;
}

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

.submit-btn {
    background: #333;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #555;
}

.contact-info-section h4 {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #bbb;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-info-section p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: #555;
    margin-bottom: 5px;
}

.contact-info-section strong {
    font-weight: 600;
    color: #333;
}

.contact-info-block {
    margin-bottom: 40px;
}

/* ========================================
   Illustration Page
   ======================================== */
.illustration-content {
    padding: 40px 0 80px;
}

.illustration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.illustration-item {
    margin-bottom: 0;
}

.illustration-item img {
    width: 100%;
    height: auto;
    display: block;
}

.illustration-caption {
    font-size: 11px;
    font-style: italic;
    color: #999;
    margin-top: 10px;
    text-align: center;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .site-container {
        padding: 0 40px;
    }
    
    .project-grid {
        gap: 25px;
    }
    
    .about-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-sidebar {
        padding-top: 0;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        height: 30px;
    }
    
    .site-container {
        padding: 0 25px;
    }
    
    .header {
        padding: 30px 0 40px;
    }
    
    .logo {
        font-size: 28px;
    }
    
    .tagline {
        font-size: 13px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        margin-top: 10px;
    }
    
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .project-title {
        font-size: 11px;
    }
    
    .video-grid,
    .video-grid-3 {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .illustration-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .site-container {
        padding: 0 20px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .illustration-grid {
        grid-template-columns: 1fr;
    }
}
