/* About Page — Premium Dark */

.about-hero {
    padding-top: 160px;
    padding-bottom: var(--space-4xl);
    position: relative;
    overflow: hidden;
}
.about-hero::after {
    content: none;
}
.about-hero h1 {
    letter-spacing: -0.04em;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.founder-photo {
    position: relative;
}

.founder-img {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    border-radius: var(--radius-2xl);
    box-shadow: none;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-subtle);
}

/* Framed image with a blurred fill of the same photo behind it, so portrait and landscape
   images both show in full (object-fit: contain) without cropping any detail. The frame owns the
   rounded corners, border and clipping; the image sits centered on top of its own blurred backdrop. */
.founder-frame {
    position: relative;
    display: block;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    z-index: 1;
}

.founder-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--fs-bg);
    background-size: cover;
    background-position: center;
    filter: blur(22px) saturate(1.15);
    transform: scale(1.25);
    opacity: 0.5;
    z-index: 0;
}

.founder-frame .founder-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: contain;
    border: none;
    border-radius: 0;
    aspect-ratio: auto;
}

.founder-photo::before {
    content: '';
    position: absolute;
    top: 16px; left: calc(50% - 178px);
    width: 356px;
    height: calc(100% - 16px);
    background: var(--gradient-teal);
    border-radius: var(--radius-2xl);
    opacity: 0.06;
    z-index: 0;
    filter: blur(2px);
}

.founder-role {
    font-family: var(--font-mono);
    color: var(--teal-bright);
    font-size: 0.8rem;
    display: inline-flex;
    padding: 4px 14px;
    background: rgba(56,152,168,0.06);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-teal);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.03em;
}

.founder-bio h2 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.03em;
}

.founder-quote {
    margin-top: var(--space-xl);
    padding: var(--space-lg) var(--space-xl);
    border-left: 3px solid var(--amber);
    background: rgba(248,160,8,0.04);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.7;
    position: relative;
}
.founder-quote::before {
    content: '\201C';
    position: absolute;
    top: 6px; left: 14px;
    font-size: 3rem;
    color: var(--amber-bright);
    opacity: 0.55;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.vision-quote {
    margin-top: var(--space-xl);
    padding: var(--space-xl) var(--space-2xl);
    border-left: 3px solid var(--teal);
    background: rgba(56,152,168,0.04);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-align: left;
    line-height: 1.7;
    position: relative;
}
.vision-quote::before {
    content: '\201C';
    position: absolute;
    top: 4px; left: 16px;
    font-size: 3.5rem;
    color: var(--teal-bright);
    opacity: 0.6;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

@media (min-width: 768px) {
    .founder-grid { grid-template-columns: 260px 1fr; }
    .founder-photo::before { left: -12px; width: 284px; }
}
@media (min-width: 1024px) {
    .founder-grid { grid-template-columns: 320px 1fr; gap: var(--space-4xl); }
    .founder-photo::before { width: 344px; }
}

/* ==================== FOUNDER / ABOUT SLIDESHOW ==================== */
/* The founder photo slot becomes a slideshow when more than one image is configured. Slides are
   stacked and cross fade; controls carry the site's amber accent and terminal, code comment vibe. */
.founder-slideshow {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    z-index: 1;
    outline: none;
}

.founder-slideshow .fs-track {
    position: absolute;
    inset: 0;
}

.founder-slideshow .fs-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.founder-slideshow .fs-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

/* Visitors who prefer reduced motion still get auto advance, but with no cross fade or zoom. */
.founder-slideshow.fs-reduced-motion .fs-slide {
    transition: none;
    transform: none;
}

/* Blurred fill of the same photo behind each slide (see .founder-frame above). */
.founder-slideshow .fs-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--fs-bg);
    background-size: cover;
    background-position: center;
    filter: blur(22px) saturate(1.15);
    transform: scale(1.25);
    opacity: 0.5;
    z-index: 0;
}

.founder-slideshow .founder-img {
    position: relative;
    z-index: 1;
    max-width: none;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    border: none;
    border-radius: 0;
    aspect-ratio: auto;
}

.founder-slideshow .fs-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    z-index: 2;
    padding: var(--space-md, 0.75rem) var(--space-lg, 1rem);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-primary, #f5f5f5);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
    border-bottom-left-radius: var(--radius-2xl);
    border-bottom-right-radius: var(--radius-2xl);
}

.founder-slideshow .fs-comment {
    color: var(--amber, #f5a623);
}

.founder-slideshow .fs-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-primary, #f5f5f5);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.14));
    border-radius: 999px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    z-index: 2;
}

.founder-slideshow:hover .fs-nav,
.founder-slideshow:focus-within .fs-nav {
    opacity: 1;
}

.founder-slideshow .fs-nav:hover,
.founder-slideshow .fs-nav:focus-visible {
    background: rgba(0, 0, 0, 0.7);
    border-color: var(--amber, #f5a623);
}

.founder-slideshow .fs-prev { left: 0.5rem; }
.founder-slideshow .fs-next { right: 0.5rem; }

.founder-slideshow .fs-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 2;
}

.founder-slideshow .fs-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: var(--border-subtle, rgba(255, 255, 255, 0.25));
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.founder-slideshow .fs-dot.is-active {
    background: var(--amber, #f5a623);
    transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
    .founder-slideshow .fs-slide {
        transition: opacity 0.01ms;
        transform: none;
    }
    .founder-slideshow .fs-slide.is-active {
        transform: none;
    }
}
