/* afterglow — about page */

.about-page { background: var(--paper); min-height: 100vh; }

/* ---------- scroll reveal (only active when JS adds .has-reveal) ---------- */
.has-reveal .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    will-change: opacity, transform;
}
.has-reveal .ab-hero-img.reveal { transform: translateY(18px) scale(1.02); }
.has-reveal .reveal.in { opacity: 1; transform: none; }
/* stagger the two hero halves and the cta children */
.has-reveal .ab-hero-img.reveal { transition-delay: 0.08s; }
.has-reveal .ab-cta p.reveal { transition-delay: 0.06s; }
.has-reveal .ab-actions.reveal { transition-delay: 0.12s; }
/* signature touch: the three constants land one by one */
.has-reveal .ab-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(7px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.has-reveal .reveal.in .ab-word { opacity: 1; transform: none; }
.has-reveal .reveal.in .ab-word:nth-of-type(1) { transition-delay: 0.20s; }
.has-reveal .reveal.in .ab-word:nth-of-type(2) { transition-delay: 0.36s; }
.has-reveal .reveal.in .ab-word:nth-of-type(3) { transition-delay: 0.52s; }

@media (prefers-reduced-motion: reduce) {
    .has-reveal .reveal,
    .has-reveal .ab-word { opacity: 1; transform: none; transition: none; }
}

/* ---------- hero ---------- */
.ab-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    max-width: 1200px;
    padding: clamp(3rem, 8vh, 6rem) var(--gutter) clamp(2.5rem, 6vh, 4.5rem);
}
.ab-hero-text { max-width: 36ch; }
.ab-hero h1 {
    font-family: 'SeasonMix', serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6.2vw, 5rem);
    line-height: 1.0;
    letter-spacing: -0.025em;
    margin: 0.7rem 0 1.7rem;
}
.ab-lead {
    font-size: clamp(1.12rem, 1.5vw, 1.4rem);
    line-height: 1.6;
    color: var(--ink);
}
.ab-hero-img {
    margin: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #eceae4;
}
.ab-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.4s var(--ease);
}
.ab-hero-img:hover img { transform: scale(1.03); }

/* ---------- story ---------- */
.ab-story {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(2rem, 6vh, 4rem) var(--gutter) clamp(3rem, 9vh, 6rem);
}
.ab-block {
    padding: clamp(2rem, 5.5vh, 3.6rem) 0;
    border-top: 1px solid var(--rule);
}
.ab-block:first-child { border-top: none; padding-top: 0; }
.ab-block h2 {
    font-family: 'SeasonMix', serif;
    font-weight: 700;
    font-size: clamp(1.55rem, 3.2vw, 2.2rem);
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
}
.ab-block p {
    font-size: clamp(1.05rem, 1.25vw, 1.22rem);
    line-height: 1.75;
    color: var(--ink);
    max-width: 62ch;
}
.ab-sign {
    font-family: 'SeasonMix', serif;
    font-weight: 400;
    font-size: 1.15rem;
    margin-top: 1.5rem;
    color: var(--ink-soft);
}
.ab-sign a { color: var(--ember); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease); }
.ab-sign a:hover { border-color: var(--ember); }

/* ---------- woven story images ---------- */
.ab-figs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.75rem, 2vw, 1.25rem);
    margin: clamp(1.75rem, 5vh, 3rem) 0;
}
.ab-figs figure {
    margin: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #eceae4;
}
.ab-figs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.4s var(--ease);
}
.ab-figs figure:hover img { transform: scale(1.03); }
@media (max-width: 600px) {
    .ab-figs { grid-template-columns: 1fr; }
}

.ab-fig-wide {
    margin: clamp(2rem, 6vh, 3.5rem) 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #eceae4;
}
.ab-fig-wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.4s var(--ease);
}
.ab-fig-wide:hover img { transform: scale(1.03); }

/* ---------- focus states (keyboard accessibility) ---------- */
.about-page a:focus-visible,
.ab-btn:focus-visible {
    outline: 2px solid var(--ember);
    outline-offset: 3px;
    border-radius: 3px;
}

/* ---------- cta ---------- */
.ab-cta {
    background: var(--ink);
    color: var(--paper);
    text-align: center;
    padding: clamp(3.5rem, 10vh, 7rem) var(--gutter);
}
.ab-cta h2 {
    font-family: 'SeasonMix', serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.ab-cta p {
    color: rgba(244, 242, 237, 0.82);
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    line-height: 1.6;
    max-width: 48ch;
    margin: 0 auto clamp(1.9rem, 4vh, 2.6rem);
}
.ab-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.ab-btn {
    display: inline-block;
    padding: 0.95rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.ab-btn.primary { background: var(--ember); color: var(--paper); }
.ab-btn.primary:hover { transform: translateY(-2px); background: #d06e39; }
.ab-btn.ghost { border: 1px solid rgba(244, 242, 237, 0.4); color: var(--paper); }
.ab-btn.ghost:hover { background: rgba(244, 242, 237, 0.1); }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
    .ab-hero { grid-template-columns: 1fr; gap: clamp(1.5rem, 6vw, 2.5rem); }
    .ab-hero-text { max-width: none; }
    .ab-hero-img { aspect-ratio: 3 / 4; max-height: 68vh; }
}
