/* Animated Gradient Background for About Section */
.about-section {
    padding: 60px 0;
    background: linear-gradient(270deg, #f8b652, #b7ded7, #8e44ad, #f8b652);
    background-size: 800% 800%;
    animation: gradientFlow 15s ease infinite;
    position: relative;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1500px;
    margin: 0 auto;
}

.manifesto-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
    justify-content: center;
    margin-bottom: 32px;
}

.manifesto {
    flex: 0 1 45%;
    width: 45%;
    max-width: 450px;
    min-width: 375px;
    background: #e6d7ed;
    padding: 32px;
    font-size: 1.1rem;
    font-style: italic;
    font-family: 'Helvetica', sans-serif;
    box-sizing: border-box;
}

.manifesto-text {
    background: linear-gradient(270deg, #8e44ad, #8e44ad, #f8b652, #8e44ad);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: gradientTextFlow 8s ease-in-out infinite;
}

@keyframes gradientTextFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.manifesto-image {
    flex: 1 1 55%;
    width: 55%;
    min-width: 250px;
    max-width: 700px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.manifesto-image iframe {
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px;
    display: block;
}

.manifesto-image > div {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
    position: relative;
}

.spectrum {
    margin-bottom: 32px;
}

.spectrum img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

.spectrum-caption {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-top: 10px;
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 12px 24px;
}

.value-number {
    background: #1e5fff;
    color: white;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-block;
    font-weight: bold;
    line-height: 28px;
    margin-bottom: 8px;
}

.value-title {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.value-description {
    font-size: 0.95rem;
    color: #555;
}

/* Logo positioning (copied from hero.css) */
.logo-container {
    position: absolute;
    top: 28px;
    left: 38px;
    z-index: 20;
}

.site-logo {
    height: 48px;
    width: auto;
    display: block;
}

.about-video-wrapper {
    max-width: 1100px;
    margin: 0 auto 24px auto;
}

.about-intro h1 {
    text-align: center;
    margin: 40px auto 32px auto;
    font-weight: 700;
}

.about-intro p {
    max-width: 2000px;
    margin: 0 auto 32px auto;
    font-size: 1.2rem;
    text-align: center;
}

.about-video-caption {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.about-manifesto-section {
    /* inherits layout from .manifesto-section */
}

.about-spectrum {
    /* inherits layout from .spectrum */
}

.about-values h2 {
    text-align: center;
    font-weight: 700;
}

.about-values h2 span {
    color: #1e5fff;
}


@media (max-width: 768px) {
    .logo-container {
        top: 10px;
        left: 10px;
    }
    .site-logo {
        height: 32px;
    }
}

@media (min-width: 600px) and (max-width: 1024px) {
  .values {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 399px) {
  .manifesto-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .manifesto, .manifesto-image {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 16px 8px;
    box-sizing: border-box;
  }
  .manifesto {
    font-size: 0.95rem;
    padding: 16px 8px;
  }
  .manifesto-image > div {
    max-width: 100vw;
    aspect-ratio: 16/9;
  }
  .manifesto-image iframe {
    border-radius: 8px;
  }
} 