/* ========================================================================
   About page — single-narrative scroll, brand-voice copy.
   Photos live INSIDE content sections (not as a hero banner).
   ======================================================================== */

.about-page { max-width: 100%; padding: 0; }

/* Text-only hero — centered headline + subheadline, no image */
.about-hero {
    text-align: center;
    padding: 3.5rem 1.5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}
@media (min-width: 768px) { .about-hero { padding: 5rem 2rem 2.5rem; } }
.about-hero__headline {
    font-size: clamp(1.7rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-primary);
    margin: 0 0 0.85rem;
}
.about-hero__subheadline {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.5;
    color: var(--color-text-muted);
    margin: 0;
}

/* Standard content section */
.about-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}
@media (min-width: 768px) { .about-section { padding: 1.5rem 2rem; } }
.about-section__title {
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.85rem;
    line-height: 1.2;
}
.about-section__body {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}
.about-section__body strong { color: var(--color-primary); }

/* Alternating photo+text rows. Each row is a 2-column grid on desktop
   (image one side, text the other). Image stretches to match the text
   column height so the two sides align cleanly on the Y-axis.
   On mobile both columns stack with the image first. */
.about-row {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: stretch;  /* equal-height columns on desktop */
}
@media (min-width: 768px) {
    .about-row {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 3.5rem 2rem;
    }
}
.about-row__image {
    width: 100%;
    height: 100%;          /* fill the column height set by the text side */
    max-height: 760px;     /* allow taller stretches now that Founders is 3 paragraphs */
    object-fit: cover;     /* fill the cell without distortion (centers content) */
    object-position: center;
    border-radius: 0.75rem;
    display: block;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
/* On mobile, image returns to natural ratio so we don't crop content
   in a narrow viewport — there's no equal-height concern when stacked. */
@media (max-width: 767px) {
    .about-row__image {
        height: auto;
        max-height: none;
        object-fit: contain;
        order: -1;
    }
}
.about-row__text {
    max-width: 500px;
    align-self: center;    /* vertically center text within the stretched row */
}

/* (.about-how* removed — production content moved into Founders passage.
   Related translation keys under `about.how.*` kept as inert in
   translations/{en,th}.py for easy re-enable if owner ever wants cards back.) */

/* (.about-adventure* removed — adventure content blended into the
   Founders passage as a third paragraph. about.adventure.* translation
   keys also no longer rendered; kept inert in translations/{en,th}.py
   only because removing them is a 2-file cleanup that adds nothing.) */

/* Closing CTA section */
.about-closing {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
    text-align: center;
}
.about-closing__title {
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1rem;
}
.about-closing__body {
    color: var(--color-text);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 2rem;
}
.about-closing__cta {
    display: inline-block;
    background: var(--color-brand-orange);
    color: white;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: background 0.15s ease;
}
.about-closing__cta:hover { background: var(--color-brand-orange-hover); }
.about-closing__code {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin: 0;
}
.about-closing__code code {
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    background: white;
    border: 1px dashed var(--color-slate-light);
    padding: 0.1rem 0.45rem;
    border-radius: 0.25rem;
    font-weight: 700;
    color: var(--color-primary);
}
