/* Authors page (task 209, v1.0.3): .fta-* only. Brand face PF DinDisplay Pro, amber accent of the 2026 pages. */
@font-face { font-family: 'FTA DinDisplay'; src: url('../fonts/PFDindisplayproRegMedLight/pfdindisplaypro-reg-webfont.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'FTA DinDisplay'; src: url('../fonts/PFDindisplayproRegMedLight/pfdindisplaypro-med-webfont.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }

.fta-page {
    --fta-ink: #14161a; --fta-ink-2: #444a54; --fta-ink-3: #636a75; --fta-line: #e7e3dc;
    --fta-accent: #f7a600; --fta-accent-ink: #1f1a09; --fta-dark: #161a23; --fta-ease: cubic-bezier(.16, 1, .3, 1);
    --fta-display: 'FTA DinDisplay', 'PF DinDisplay Pro', 'Open Sans', sans-serif;
    color: var(--fta-ink); font-variant-numeric: tabular-nums; padding-bottom: 80px;
}
/* The theme floats nav and aside on phones; a float beside the grids squeezed the hero to a third of the width. */
.fta-page nav, .fta-page aside, .fta-page section { float: none; width: auto; }
.fta-page ::selection { background: #ffe0a3; color: var(--fta-ink); }
.fta-page :focus-visible { outline: 2px solid var(--fta-accent); outline-offset: 3px; border-radius: 6px; }
.fta-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.fta-crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: 13px; color: var(--fta-ink-3); }
.fta-crumbs a { color: var(--fta-ink-2); text-decoration: none; }
.fta-crumbs a:hover { color: var(--fta-ink); text-decoration: underline; text-underline-offset: 3px; }
.fta-page h1, .fta-page h2 { font-family: var(--fta-display); font-weight: 500; letter-spacing: -.02em; text-wrap: balance; margin: 0; color: inherit; }
.fta-page h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.02; }
.fta-page h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.08; }
.fta-lead { font-size: 1.125rem; line-height: 1.6; color: var(--fta-ink-2); max-width: 60ch; margin: 18px 0 0; }

.fta-btn { display: inline-flex; align-items: center; gap: 10px; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; color: var(--fta-accent-ink); background: var(--fta-accent); padding: 15px 22px; border: 0; border-radius: 12px; text-decoration: none; cursor: pointer; transition: transform .5s var(--fta-ease), box-shadow .5s var(--fta-ease), background-color .3s; }
.fta-btn:hover { color: var(--fta-accent-ink); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(247, 166, 0, .75); }
.fta-btn svg { width: 18px; height: 18px; transition: transform .5s var(--fta-ease); }
.fta-btn:hover svg { transform: translateX(3px); }
[dir="rtl"] .fta-btn svg { transform: scaleX(-1); }
[dir="rtl"] .fta-btn:hover svg { transform: scaleX(-1) translateX(3px); }
.fta-btn:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.fta-btn-ghost { background: transparent; color: var(--fta-ink); box-shadow: inset 0 0 0 1px var(--fta-line); }
.fta-btn-ghost:hover { color: var(--fta-ink); box-shadow: inset 0 0 0 1px var(--fta-ink-3); }
.fta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }

.fta-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; padding: 36px 0 48px; border-bottom: 1px solid var(--fta-line); }
.fta-stats { display: flex; gap: 44px; justify-content: flex-end; }
.fta-stat span { display: block; font-family: var(--fta-display); font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 500; line-height: 1; }
.fta-stat small { display: block; margin-top: 8px; font-size: 13px; color: var(--fta-ink-3); }

.fta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 40px 24px; padding: 48px 0 56px; }
/* Cards in a row share the row height; the count line sits at the bottom, so a two-line rubric does not push it out of line. */
.fta-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.fta-card:hover { color: inherit; }
.fta-photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: #dcd8d1; }
.fta-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); filter: saturate(.92); transition: transform 1.1s var(--fta-ease), filter .6s var(--fta-ease); }
.fta-card:hover .fta-photo img { transform: scale(1.07); filter: saturate(1.05); }
.fta-name { display: block; margin: 14px 0 2px; font-size: 17px; font-weight: 700; }
.fta-meta { display: block; font-size: 14px; line-height: 1.45; color: var(--fta-ink-3);  margin-bottom: 10px; }
.fta-count { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--fta-line); font-size: 14px; color: var(--fta-ink-2); line-height: 24px; }
.fta-count b { font-size: 16px; color: var(--fta-ink); }
.fta-count em { font-style: normal; color: #8a5a00; font-weight: 600; }

.fta-join { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; padding: 64px; background: var(--fta-dark); color: #eef0f3; border-radius: 20px; }
.fta-join h2 { color: #fff; }
.fta-join p { color: #b9bec7; line-height: 1.6; margin: 14px 0 26px; max-width: 46ch; }
.fta-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; align-content: center; }
.fta-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; margin: 0; }
.fta-steps i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #3a3f4a; color: var(--fta-accent); font-style: normal; font-weight: 700; }
.fta-steps strong { display: block; color: #fff; font-size: 16px; }
.fta-steps span { color: #b9bec7; font-size: 15px; line-height: 1.5; }

.fta-apply { display: grid; grid-template-columns: 1fr 360px; gap: 64px; padding: 36px 0 0; }
.fta-form { display: grid; gap: 18px; max-width: 640px; margin-top: 32px; }
.fta-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.fta-form input, .fta-form select, .fta-form textarea { width: 100%; font-family: inherit; font-size: 16px; line-height: 1.4; color: var(--fta-ink); background: #fff; border: 1px solid #d6d0c6; border-radius: 12px; padding: 13px 14px; caret-color: var(--fta-accent); transition: border-color .3s, box-shadow .3s; }
.fta-form input:focus, .fta-form select:focus, .fta-form textarea:focus { outline: 0; border-color: var(--fta-accent); box-shadow: 0 0 0 4px rgba(247, 166, 0, .18); }
.fta-form textarea { min-height: 150px; resize: vertical; }
.fta-form ::placeholder { color: var(--fta-ink-3); }
.fta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fta-hint { font-weight: 400; font-size: 13px; color: var(--fta-ink-3); }
.fta-page [hidden] { display: none !important; }
.fta-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fta-error { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fdecea; color: #8c1d18; }
.fta-ok { margin-top: 32px; padding: 26px 28px; border-radius: 16px; background: #edf7ee; color: #1d4d22; line-height: 1.6; max-width: 640px; }
.fta-next { align-self: start; position: sticky; top: 90px; padding: 28px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(20, 22, 26, .06), 0 14px 32px -20px rgba(20, 22, 26, .3); }
.fta-next h2 { font-size: 1.5rem; }
.fta-next ol { margin: 14px 0 0; padding-inline-start: 18px; color: var(--fta-ink-2); line-height: 1.55; }
.fta-next li { margin: 8px 0; }

/* One authored entrance: content rises out of a soft blur, staggered per row. Visible by default without JS. */
.fta-motion .fta-rv { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .9s var(--fta-ease), transform .9s var(--fta-ease), filter .9s var(--fta-ease); transition-delay: calc(var(--i, 0) * 50ms); }
.fta-motion .fta-rv.is-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
    .fta-btn, .fta-btn svg, .fta-photo img { transition: none; }
}

@media (max-width: 860px) {
    .fta-wrap { padding: 0 16px; }
    .fta-hero, .fta-join, .fta-apply { grid-template-columns: 1fr; gap: 28px; }
    .fta-stats { justify-content: flex-start; }
    .fta-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
    .fta-join { padding: 32px 22px; }
    .fta-row { grid-template-columns: 1fr; }
    .fta-next { position: static; }
    .fta-name { font-size: 16px; }
    .fta-meta, .fta-count { font-size: 13px; }
}
