/* ==========================================================================
   About — "Depth of Field" skin for about.html
   The page was rebuilt on fl- markup, so its components are plain rules like
   fl-system.css (no legacy rule targets these classes). The few legacy rules
   that still reach in (the global yellow h3, the page ground) are beaten at
   the end, in @layer fl-skin.

   The two plates are procedural SVG (silk threads, coral + blue) generated
   once and inlined in the page: still after a one-time draw-in, no idle work.
   ========================================================================== */

.fl-about {
    --_col: 40rem;
    position: relative;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 var(--fl-gutter) calc(var(--fl-s-10) + env(safe-area-inset-bottom, 0px));
    color: var(--fl-ink);
    font-family: var(--fl-font-ui);
}

/* --------------------------------------------------------------------------
   Top bar: Back / Pricing — the same quiet pills as the dashboard
   -------------------------------------------------------------------------- */
.fl-about-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: max(20px, env(safe-area-inset-top, 0px));
}

/* phones: the pills' visible edge 17px in, like every other page's top pills */
@media (max-width: 600px) {
    .fl-about-bar {
        padding-top: calc(env(safe-area-inset-top, 0px) + 17px);
        margin-inline: calc(17px - var(--fl-gutter));
    }
}

/* --------------------------------------------------------------------------
   Opening: the owner's question beside the lens plate
   -------------------------------------------------------------------------- */
.fl-about-hero {
    display: grid;
    gap: var(--fl-s-8);
    align-items: center;
    padding: clamp(32px, 6vh, 64px) 0 clamp(56px, 10vh, 112px);
}

.fl-about-quote {
    margin: 20px 0 0;
    font-family: var(--fl-font-voice);
    font-optical-sizing: auto;
    font-size: clamp(1.95rem, 2.6vw + 1rem, 3.25rem);
    font-weight: 400;
    line-height: 1.07;
    letter-spacing: -0.018em;
    color: var(--fl-ink);
    text-wrap: balance;
    font-synthesis: none;
}

.fl-about-quote em {
    font-style: italic;
    color: var(--fl-coral);
}

@media (min-width: 900px) {
    .fl-about-hero {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: clamp(40px, 6vw, 96px);
        min-height: min(80vh, 760px);
    }
}

/* --------------------------------------------------------------------------
   Plates: framed procedural pieces with a machine-voice caption
   -------------------------------------------------------------------------- */
.fl-plate {
    margin: 0;
}

.fl-plate__frame {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    aspect-ratio: 8 / 7;
    border: 1px solid var(--fl-line);
    border-radius: var(--fl-r-xl);
    background:
        radial-gradient(70% 60% at 50% 50%, color-mix(in srgb, var(--fl-surface-2) 70%, transparent), transparent),
        var(--fl-bg-deep);
    box-shadow: var(--fl-highlight), var(--fl-shadow-3);
}

html.theme-light .fl-plate__frame {
    background:
        radial-gradient(70% 60% at 50% 50%, var(--fl-surface), transparent),
        var(--fl-surface-2);
}

@supports (corner-shape: squircle) {
    .fl-plate__frame {
        corner-shape: superellipse(1.6);
        border-radius: calc(var(--fl-r-xl) * 1.35);
    }
}

.fl-plate__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.fl-plate__caption {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    padding-left: 4px;
    font-family: var(--fl-font-machine);
    font-size: var(--fl-text-label);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fl-ink-3);
}

.fl-plate__caption span { color: var(--fl-ink-2); }
/* on paper the caption sits in the plate's soft shadow, where ink-3 measured
   4.2:1; one step darker keeps it readable (session 5) */
html.theme-light .fl-plate__caption { color: var(--fl-ink-2); }
html.theme-light .fl-plate__caption span { color: var(--fl-ink); }

/* silk */
.fl-plate__thread.is-coral { stroke: var(--fl-coral); }
.fl-plate__thread.is-blue { stroke: var(--fl-blue); }
.fl-plate__thread .bloom { stroke-opacity: 0.08; }
html.theme-light .fl-plate__thread .bloom { stroke-opacity: 0.06; }

/* the light where the threads cross */
.fl-plate .g0 { stop-color: var(--fl-amber); stop-opacity: 0.5; }
.fl-plate .g1 { stop-color: var(--fl-coral); stop-opacity: 0.16; }
.fl-plate .g2 { stop-color: var(--fl-coral); stop-opacity: 0; }
.fl-plate .k0 { stop-color: var(--fl-ink); stop-opacity: 0.85; }
.fl-plate .k1 { stop-color: var(--fl-amber); stop-opacity: 0; }
.fl-plate .lens { fill: var(--fl-coral); fill-opacity: 0.08; }

html.theme-light .fl-plate .g0 { stop-opacity: 0.42; }
html.theme-light .fl-plate .k0 { stop-color: #fff; stop-opacity: 1; }

.fl-plate--paths {
    max-width: 980px;
    margin: clamp(16px, 3vh, 40px) auto 0;
}

.fl-plate--paths .fl-plate__frame { aspect-ratio: 900 / 520; }

@media (max-width: 640px) {
    .fl-plate--paths .fl-plate__frame { aspect-ratio: 1 / 1; }
}

/* --------------------------------------------------------------------------
   How it works: three steps on one thread
   -------------------------------------------------------------------------- */
.fl-about-steps {
    padding: clamp(48px, 9vh, 96px) 0;
    border-top: 1px solid var(--fl-line);
}

.fl-about-steps__list {
    display: grid;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.fl-about-step {
    position: relative;
    padding: 0 0 32px 36px;
}

/* the thread between the steps */
.fl-about-step::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 26px;
    bottom: 2px;
    width: 1px;
    background: linear-gradient(var(--fl-coral), var(--fl-blue));
    opacity: 0.45;
}

.fl-about-step:last-child { padding-bottom: 0; }
.fl-about-step:last-child::before { content: none; }

/* a ring on the thread */
.fl-about-step::after {
    content: '';
    position: absolute;
    left: 1px;
    top: 4px;
    width: 11px;
    height: 11px;
    border: 1.5px solid var(--fl-coral);
    border-radius: 50%;
}

.fl-about-step:nth-child(2)::after { border-color: color-mix(in srgb, var(--fl-coral) 50%, var(--fl-blue)); }
.fl-about-step:nth-child(3)::after { border-color: var(--fl-blue); }

.fl-about-step__num {
    display: block;
    font-family: var(--fl-font-machine);
    font-size: var(--fl-text-label);
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--fl-ink-3);
}

.fl-about-step__title {
    margin: 10px 0 8px;
    font-family: var(--fl-font-voice);
    font-optical-sizing: auto;
    font-size: var(--fl-text-title);
    font-weight: 460;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-shadow: none;
}

.fl-about-step__text {
    margin: 0;
    max-width: 34ch;
    font-size: var(--fl-text-body);
    line-height: 1.6;
    color: var(--fl-ink-2);
    text-wrap: pretty;
}

@media (min-width: 760px) {
    .fl-about-steps__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(28px, 4vw, 64px);
    }

    .fl-about-step { padding: 34px 0 0; }

    .fl-about-step::before {
        left: 22px;
        right: calc(-1 * clamp(28px, 4vw, 64px));
        top: 5px;
        bottom: auto;
        width: auto;
        height: 1px;
        background: linear-gradient(90deg, var(--fl-coral), var(--fl-blue));
    }

    .fl-about-step::after { left: 0; top: 0; }
}

/* --------------------------------------------------------------------------
   Memberships
   -------------------------------------------------------------------------- */
.fl-about-plans {
    display: grid;
    gap: 28px;
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--fl-line);
    border-radius: var(--fl-r-xl);
    background: var(--fl-surface);
    box-shadow: var(--fl-highlight), var(--fl-shadow-2);
}

@supports (corner-shape: squircle) {
    .fl-about-plans {
        corner-shape: superellipse(1.6);
        border-radius: calc(var(--fl-r-xl) * 1.35);
    }
}

.fl-about-plans__head {
    margin: 0 0 16px;
    font-family: var(--fl-font-voice);
    font-optical-sizing: auto;
    font-size: 1.375rem;
    font-weight: 460;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--fl-ink);
}

.fl-about-plans__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fl-about-plans__list li {
    position: relative;
    padding-left: 28px;
    font-size: var(--fl-text-body);
    line-height: 1.5;
    color: var(--fl-ink-2);
}

.fl-about-plans__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 16px;
    height: 16px;
    background: var(--fl-coral);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fl-about-plans__col.is-free li::before { background: var(--fl-ink-3); }

.fl-about-plans__more {
    padding-top: 22px;
    border-top: 1px solid var(--fl-line);
}

@media (min-width: 640px) {
    .fl-about-plans { grid-template-columns: 1fr 1fr; column-gap: 40px; }
    .fl-about-plans__col.is-free { padding-left: 40px; border-left: 1px solid var(--fl-line); }
    .fl-about-plans__more { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   Reading sections: a voice lede, then body
   -------------------------------------------------------------------------- */
.fl-about-copy {
    max-width: var(--_col);
    margin: 0 auto;
    padding: clamp(64px, 11vh, 120px) 0 clamp(32px, 5vh, 56px);
}

.fl-about-copy .fl-eyebrow { margin: 0 0 22px; }

.fl-about-copy p {
    margin: 0 0 18px;
    font-size: var(--fl-text-body-l);
    line-height: 1.7;
    color: var(--fl-ink-2);
    text-wrap: pretty;
}

.fl-about-copy .fl-about-lede {
    margin-bottom: 26px;
    font-family: var(--fl-font-voice);
    font-optical-sizing: auto;
    font-size: clamp(1.25rem, 1.1vw + 0.95rem, 1.75rem);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.008em;
    color: var(--fl-ink);
}

/* --------------------------------------------------------------------------
   Signature
   -------------------------------------------------------------------------- */
.fl-about-foot {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding-top: clamp(72px, 12vh, 128px);
    text-align: center;
}

.fl-about-foot .fl-rule { margin-bottom: 22px; }

.fl-about-sign {
    margin: 10px 0 0;
    font-size: var(--fl-text-body);
    color: var(--fl-ink-3);
}

.fl-about-sign .fl-name {
    margin-left: 4px;
    font-family: var(--fl-font-voice);
    font-size: 1.625rem;
    font-weight: 400;
    color: var(--fl-ink);
}

.fl-about-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 12px;
    margin: 0;
    font-size: var(--fl-text-small);
    color: var(--fl-ink-3);
}

.fl-about-info__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--fl-ink-4);
}

.fl-about-info a,
.fl-about-legal a {
    color: inherit;
    text-decoration: none;
    transition: color var(--fl-dur-2) var(--fl-ease-out);
}

.fl-about-info a {
    position: relative;
    color: var(--fl-ink-2);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--fl-coral) 55%, transparent);
    text-underline-offset: 3px;
}

/* the address is one 18px line; a transparent band makes it 44px to tap */
.fl-about-info a::before {
    content: '';
    position: absolute;
    top: -13px;
    right: 0;
    bottom: -13px;
    left: 0;
}

.fl-about-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 22px;
    margin-top: 6px;
    font-size: var(--fl-text-small);
    color: var(--fl-ink-3);
}

.fl-about-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

@media (hover: hover) {
    .fl-about-info a:hover,
    .fl-about-legal a:hover { color: var(--fl-ink); }
}

/* --------------------------------------------------------------------------
   Arrival: focus pull as each block scrolls in; plates draw their threads
   (classes set by initScrollReveal in about.html; without script, all shows)
   -------------------------------------------------------------------------- */
.fl-about .fl-reveal:not(.is-in) { opacity: 0; }

.fl-about .fl-reveal.is-in {
    animation: fl-focus-in var(--fl-dur-4) var(--fl-ease-out) both;
    animation-delay: calc(var(--i, 0) * 80ms);
}

/* plates rise without the blur (a blurred layer over a drawing SVG is costly) */
.fl-about .fl-plate.fl-reveal.is-in { animation-name: fl-rise; }

.fl-plate .s { stroke-dasharray: 1 2; }
.fl-plate.fl-reveal:not(.is-in) .s { stroke-dashoffset: 1; }

.fl-plate.fl-reveal.is-in .s {
    animation: fl-plate-draw 1.9s var(--fl-ease-in-out) both;
    animation-delay: calc(var(--d, 0ms) + 260ms);
}

.fl-plate--paths.fl-reveal.is-in .s { animation-duration: 2.3s; }

@keyframes fl-plate-draw {
    from { stroke-dashoffset: 1; }
    to { stroke-dashoffset: 0; }
}

.fl-plate__light,
.fl-plate__thread .bloom {
    transition: opacity 1.4s var(--fl-ease-out) 1.7s;
}

.fl-plate.fl-reveal:not(.is-in) :is(.fl-plate__light, .bloom) { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
    .fl-about .fl-reveal.is-in,
    .fl-plate.fl-reveal.is-in .s { animation: none; }
    .fl-plate__light,
    .fl-plate__thread .bloom { transition: none; }
}

/* --------------------------------------------------------------------------
   Legacy rules that still reach this page
   -------------------------------------------------------------------------- */
@layer fl-skin {
    /* about_firstlook.css paints every h3 yellow */
    html body .fl-about h3 { color: var(--fl-ink) !important; }

    /* style.css: html.theme-dark a { color: #f0f0f0 !important } */
    html body .fl-about-legal a { color: var(--fl-ink-3) !important; }
    html body .fl-about-info a { color: var(--fl-ink-2) !important; }

    @media (hover: hover) {
        html body :is(.fl-about-legal, .fl-about-info) a:hover { color: var(--fl-ink) !important; }
    }
}

/* --------------------------------------------------------------------------
   Session 8 (fork B3, desktop review #20): on a wide screen the Back /
   Pricing pills sat at the content column (x 180 at 1440) - every other page
   puts them 20px from the screen edges. Fixed there now, over the same
   ground-colour fade the member pages' top bar has; the page keeps the bar's
   old height as padding, so nothing below moves.
   -------------------------------------------------------------------------- */
@media (min-width: 601px) {
    .fl-about {
        padding-top: calc(max(20px, env(safe-area-inset-top, 0px)) + 44px);
    }
    .fl-about-bar {
        position: fixed;
        z-index: 40;
        top: 0;
        left: 0;
        right: 0;
        padding: max(20px, env(safe-area-inset-top, 0px)) 20px 14px;
        background: linear-gradient(var(--fl-bg) 62%, transparent);
        pointer-events: none;
    }
    .fl-about-bar > * {
        pointer-events: auto;
    }
}
