/* Clean, modern design inspired by minimalist aesthetics */

/* Custom Fonts */
@font-face {
    font-family: 'ABC Diatype';
    src: url('fonts/ABCDiatype-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ABC Synt';
    src: url('fonts/ABCSynt-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'ABC Diatype', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #F5F5F5;
    color: #000000;
    line-height: 1.6;
    font-size: 16px;
    letter-spacing: -0.011em;
    font-weight: 400;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Header styles */
.header-content {
    text-align: left;
    margin-bottom: 80px;
}

.portrait {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 30px;
    border-radius: 50%;
}

header h1 {
    font-family: 'ABC Synt', 'Times New Roman', 'Georgia', serif;
    font-size: 72px;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0;
}

/* Bio section */
.bio {
    text-align: left;
    margin-bottom: 80px;
}

.bio p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 40px;
    color: #333;
    max-width: 700px;
}

.masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

#frog-perch {
    display: none;
}

.mobile-only {
    display: none;
}

/* Header menu */
.menu {
    margin-top: 20px;
    font-size: 16px;
    color: #ccc;
}

.menu a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.menu a:hover {
    color: #000;
}

/* Small label above a section title */
.eyebrow {
    font-size: 14px;
    color: #888;
    margin-bottom: 12px;
}

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

.frog h2 a {
    color: #62b34a;
    text-decoration: none;
}

.frog h2 a:hover {
    opacity: 0.8;
}

/* Main content sections */
section {
    margin-bottom: 80px;
}

h2 {
    font-family: 'ABC Synt', 'Times New Roman', 'Georgia', serif;
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 40px;
    text-align: left;
    letter-spacing: -0.02em;
}

h3 {
    font-family: 'ABC Synt', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 32px;
    font-weight: 600;
    margin: 50px 0 20px 0;
    letter-spacing: -0.02em;
}

/* Links */
a {
    color: #666;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

/* Product links */
.product-link {
    margin-top: 20px;
    text-align: left;
}

.experience-link {
    color: #666 !important;
    font-weight: 500;
}

/* Story content */
.story-content p {
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Lists */
ul {
    list-style: none;
    margin: 30px 0;
}

ul li {
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #666;
}

.features-list {
    margin: 30px 0;
}

.features-list li {
    margin-bottom: 16px;
    padding-left: 24px;
    line-height: 1.6;
}

/* Press coverage */
.press-coverage {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.press-coverage p {
    margin-bottom: 20px;
    font-weight: 600;
    text-align: left;
}

.press-list {
    margin: 0;
}

.press-list li {
    margin-bottom: 12px;
    font-size: 16px;
}

/* Images and media */
.andrew-images,
.roman-images {
    margin: 40px 0;
}

.andrew-images img,
.roman-images img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.video-embed {
    margin: 40px 0;
}

.video-embed iframe {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    border: none;
}

.replika-video {
    margin: 40px 0;
}

.replika-video video {
    max-width: 500px;
    width: 100%;
    height: auto;
}

/* Logo */
.logo-story {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    padding: 30px 0;
}

.replika-logo {
    width: 240px;
    height: auto;
}

.logo-story p {
    max-width: 400px;
    margin: 0;
    line-height: 1.6;
}

/* Vertical media */
.vertical-image {
    max-width: 50%;
    width: auto;
    height: auto;
    margin: 0 auto;
    display: block;
}

.small-image {
    max-width: 25% !important;
    width: auto !important;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Character grid */
.character-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.character-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.character-grid img:hover {
    transform: scale(1.05);
}

/* Mindpet characters */
.mindpet-characters {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.mindpet-characters img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Departure notes */
.departure-note {
    font-size: 14px !important;
    color: #666 !important;
    margin-top: 30px !important;
    font-style: italic;
}

/* Section divider */
.section-divider {
    text-align: left;
    margin: 80px 0;
    font-size: 24px;
    color: #ccc;
}

/* Footer */
footer {
    padding-top: 60px;
    padding-bottom: 80px;
    text-align: left;
}

footer p {
    font-size: 14px;
}

footer a {
    color: #666;
    margin: 0 10px;
}

footer a:hover {
    color: #000;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .container {
        padding: 36px 20px 60px;
    }

    .header-content {
        margin-bottom: 40px;
    }

    #frog-perch {
        display: block;
        width: 130px;
        height: 130px;
        flex: 0 0 130px;
        margin-right: -10px;
    }

    header h1 {
        font-size: 32px;
        line-height: 1.1;
    }
    
    h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    .bio {
        margin-bottom: 56px;
    }

    .bio p {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .story-content p {
        margin-bottom: 20px;
    }

    .section-divider {
        margin: 48px 0;
    }
    
    .portrait {
        width: 160px;
        height: 160px;
    }
    
    .menu {
        font-size: 14px;
        line-height: 1.8;
        margin-top: 12px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline;
    }
    
    section {
        margin-bottom: 56px;
    }

    .andrew-images,
    .roman-images,
    .video-embed,
    .replika-video,
    .logo-story {
        margin: 28px 0;
    }

    .press-coverage {
        margin: 28px 0 0;
        padding: 24px 0 0;
    }
    
    .andrew-images img,
    .roman-images img {
        max-width: 100%;
    }
    
    .video-embed iframe {
        aspect-ratio: 16/9;
    }
    
    .replika-video video {
        max-width: 280px;
    }
    
    .vertical-image {
        max-width: 80%;
    }
    
    .small-image {
        max-width: 40% !important;
        width: auto !important;
    }
    
    .logo-story {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .replika-logo {
        width: 180px;
    }
    
    .character-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .mindpet-characters {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .mindpet-characters img {
        max-width: 250px;
    }
}