/* seo.css: the static pages (about/ story/ videos/ talks/ press/ courses/, <html class="seo">) and the home page's
   "About Marifat Jamal" article (index.html, article.seo-home, after the film's close). Built by tools/build_seo.mjs.
   Everything is scoped under .seo or .seo-home, so on the film page this sheet touches nothing else.
   Ink and paper only; the accent (#2438F0) is used only for the keyboard focus ring, as in the film. Akt, self-hosted. */

/* Akt (same files and ranges as css/tokens.css; URLs relative to this sheet, so they work from every page) */
@font-face { font-family: 'Akt'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/akt-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Akt'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/akt-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Akt'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/akt-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.seo, .seo-home {
  --sx-ink: #14151A;
  --sx-ink-2: #1E2027;
  --sx-paper: #FFFFFF;
  --sx-on-ink: #FFFFFF;
  --sx-on-ink-mute: rgba(255, 255, 255, .68);
  --sx-on-paper: #14151A;
  --sx-on-paper-mute: #4E5058;
  --sx-line-ink: rgba(255, 255, 255, .16);
  --sx-line-paper: rgba(20, 21, 26, .16);
  --sx-accent: #2438F0;
  --sx-gut: clamp(16px, 4vw, 56px);
  --sx-max: 76rem;
  --sx-read: 40rem;
  --sx-f: "Akt", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sx-body: clamp(1.125rem, 1.02rem + .3vw, 1.25rem);   /* 18 -> 20 px */
}

/* ================================================================== static pages */
.seo { background: var(--sx-ink); color: var(--sx-on-ink); color-scheme: light; -webkit-text-size-adjust: 100%; overflow-x: clip; }
.seo *, .seo *::before, .seo *::after { box-sizing: border-box; }
.seo body { margin: 0; font-family: var(--sx-f); font-size: var(--sx-body); line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: break-word; }
.seo h1, .seo h2, .seo h3, .seo p, .seo ul, .seo ol, .seo dl, .seo dd, .seo figure, .seo blockquote { margin: 0; padding: 0; }
.seo ul, .seo ol { list-style: none; }
.seo img { display: block; max-width: 100%; height: auto; }
.seo a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.seo a:hover { text-decoration-thickness: 2px; }
.seo :focus-visible { outline: 3px solid var(--sx-accent); outline-offset: 2px; box-shadow: 0 0 0 7px var(--sx-paper); border-radius: 2px; }
.seo .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.seo-skip { position: absolute; left: var(--sx-gut); top: .75rem; z-index: 10; padding: .5rem 1rem; background: var(--sx-paper); color: var(--sx-ink) !important; transform: translateY(-200%); }
.seo-skip:focus { transform: none; }
.seo small { font-size: .8em; color: inherit; opacity: .8; }

/* the top: ink */
.seo-top { background: var(--sx-ink); color: var(--sx-on-ink); }
.seo-bar { max-width: var(--sx-max); margin: 0 auto; padding: .75rem var(--sx-gut); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; border-bottom: 1px solid var(--sx-line-ink); }
.seo .seo-bar__name { font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.seo-bar__nav ul { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.seo .seo-bar__nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem; font-weight: 600; text-decoration: none; color: var(--sx-on-ink-mute); }
.seo .seo-bar__nav a:hover, .seo .seo-bar__nav a[aria-current="page"] { color: var(--sx-on-ink); text-decoration: underline; text-underline-offset: .35em; }

.seo-head { max-width: var(--sx-max); margin: 0 auto; padding: clamp(2.5rem, 7vw, 6rem) var(--sx-gut) clamp(2.5rem, 6vw, 5rem); display: grid; gap: 2rem; }
.seo-crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; font-size: .875rem; color: var(--sx-on-ink-mute); }
.seo-crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .6; }
.seo .seo-crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.seo .seo-crumbs a[aria-current="page"] { color: var(--sx-on-ink); }
.seo-kick { margin-top: 1.25rem !important; font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: .75rem; }
.seo-kick::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.seo-h1 { margin-top: .75rem !important; font-weight: 700; font-size: clamp(3rem, 10vw, 8rem); line-height: .92; letter-spacing: -.03em; }
.seo-lede { margin-top: 1.5rem; max-width: 44rem; font-size: clamp(1.1875rem, 1rem + .7vw, 1.5rem); line-height: 1.5; color: var(--sx-on-ink); }
.seo-lede p + p { margin-top: 1rem; }
.seo-fig img { width: 100%; max-width: min(26rem, 72vw); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 50% / 50%; }
@media (min-width: 900px) {
  .seo-head--fig { grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem); align-items: end; gap: 4rem; }
}

/* the reading body: paper */
.seo-main { background: var(--sx-paper); color: var(--sx-on-paper); }
.seo-main > * { max-width: var(--sx-max); margin-left: auto; margin-right: auto; padding-left: var(--sx-gut); padding-right: var(--sx-gut); }
.seo-sec { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: .5rem; }
.seo-sec:last-child { padding-bottom: clamp(3rem, 7vw, 6rem); }
.seo-h2 { font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); line-height: 1; letter-spacing: -.02em; padding-bottom: 1rem; border-bottom: 2px solid var(--sx-on-paper); margin-bottom: .5rem !important; }
.seo-year { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.seo-prose > :not(.seo-h2) { max-width: var(--sx-read); }
.seo-prose h3 { margin-top: 2.25rem !important; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.seo-prose p { margin-top: .75rem !important; }
.seo .seo-src { font-size: .8125em; color: var(--sx-on-paper-mute); white-space: nowrap; padding-block: 13px; }
.seo-facts dd a { white-space: nowrap; }
.seo-more { margin-top: 1.5rem !important; font-weight: 600; }
.seo-main .seo-more a { display: inline-flex; align-items: center; min-height: 44px; }

/* key facts */
.seo-facts > div { display: grid; gap: .15rem 2rem; padding: .9rem 0; border-bottom: 1px solid var(--sx-line-paper); }
.seo-facts dt { font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sx-on-paper-mute); padding-top: .2rem; }
@media (min-width: 720px) { .seo-facts > div { grid-template-columns: 11rem minmax(0, 1fr); } }

/* dated lists */
.seo-list > li { display: grid; gap: .25rem 2rem; padding: 1rem 0; border-bottom: 1px solid var(--sx-line-paper); }
.seo-list > li > time { font-size: .9375rem; font-weight: 600; color: var(--sx-on-paper-mute); font-variant-numeric: tabular-nums; padding-top: .15rem; white-space: nowrap; }
.seo-list__t { font-weight: 600; line-height: 1.45; }
.seo-list p.seo-list__t, .seo-list__t { display: block; }
.seo-list__o { display: block; margin-top: .2rem; font-size: .9375em; color: var(--sx-on-paper-mute); }
.seo-list__m { margin-top: .3rem !important; font-size: .9375rem; color: var(--sx-on-paper-mute); }
.seo-list__m b { color: var(--sx-on-paper); font-variant-numeric: tabular-nums; }
.seo-list a { text-decoration-color: rgba(20, 21, 26, .35); }
.seo-list a:hover { text-decoration-color: currentColor; }
@media (min-width: 720px) { .seo-list > li { grid-template-columns: 9.5rem minmax(0, 1fr); } }
.seo-list > li > div { max-width: 48rem; }
.seo-list--rank { counter-reset: r; }

.seo-jump ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.seo .seo-jump a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 4.5rem; padding: 0 1rem; border: 1px solid var(--sx-on-paper); border-radius: 999px; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.seo .seo-jump a:hover { background: var(--sx-on-paper); color: var(--sx-paper); }

/* rows (channels) */
.seo-rows > li { display: grid; gap: .1rem 2rem; padding: .9rem 0; border-bottom: 1px solid var(--sx-line-paper); }
.seo-rows__k { font-weight: 700; }
.seo-rows__v { color: var(--sx-on-paper-mute); }
.seo-rows__v a { color: var(--sx-on-paper); font-weight: 600; }
@media (min-width: 720px) { .seo-rows > li { grid-template-columns: 17rem minmax(0, 1fr); } }

/* quotes */
.seo-quotes { display: grid; gap: 0 3rem; }
@media (min-width: 900px) { .seo-quotes { grid-template-columns: 1fr 1fr; } }
.seo-q { padding: 1.5rem 0; border-bottom: 1px solid var(--sx-line-paper); }
.seo-q blockquote p { font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); line-height: 1.4; font-weight: 500; letter-spacing: -.005em; }
.seo-q blockquote p::before { content: "“"; } .seo-q blockquote p::after { content: "”"; }
.seo-q figcaption { margin-top: .6rem; font-size: .875rem; color: var(--sx-on-paper-mute); }
.seo-prose .seo-q { max-width: var(--sx-read); margin-top: 1.25rem; padding: .25rem 0 .25rem 1.25rem; border-bottom: 0; border-left: 2px solid var(--sx-on-paper); }

/* cards (links to the other pages) */
.seo-cards { display: grid; gap: 0 2rem; }
@media (min-width: 720px) { .seo-cards { grid-template-columns: 1fr 1fr; } }
.seo .seo-cards a { display: flex; flex-direction: column; gap: .15rem; padding: 1.1rem 0; border-bottom: 1px solid var(--sx-line-paper); text-decoration: none; }
.seo-cards b { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); letter-spacing: -.015em; }
.seo-cards b::after { content: " →"; }
.seo-cards span { color: var(--sx-on-paper-mute); font-size: .9375rem; }
.seo .seo-cards a:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }

/* courses */
.seo-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
@media (min-width: 900px) { .seo-proof { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.seo-proof li { display: flex; flex-direction: column; gap: .35rem; padding-top: .75rem; border-top: 2px solid var(--sx-on-paper); }
.seo-proof b { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1; letter-spacing: -.03em; }
.seo-proof span { font-size: .9375rem; color: var(--sx-on-paper-mute); line-height: 1.35; }
.seo-courses { display: grid; gap: 1.5rem; margin-top: 1rem; }
@media (min-width: 900px) { .seo-courses { grid-template-columns: 1fr 1fr; } }
.seo-course { padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--sx-on-paper); border-radius: 4px; display: flex; flex-direction: column; gap: .75rem; }
.seo-course .seo-kick { margin-top: 0 !important; color: var(--sx-on-paper-mute); }
.seo-course .seo-kick::after { content: none; }
.seo-course__name { font-size: clamp(2.5rem, 1.6rem + 3.5vw, 4.5rem); line-height: .95; letter-spacing: -.03em; font-weight: 700; }
.seo-course__line { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 600; line-height: 1.3; }
.seo-course__facts li { padding: .45rem 0; border-bottom: 1px solid var(--sx-line-paper); }
.seo-course > p:last-child { margin-top: auto !important; padding-top: .5rem; }
.seo .seo-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 1.5rem; border-radius: 999px; background: var(--sx-on-paper); color: var(--sx-paper); font-weight: 700; text-decoration: none; }
.seo .seo-btn:hover { background: #000; }
.seo .seo-btn--big { min-height: 60px; padding: 0 2rem; font-size: 1.125em; }
.seo-cta { margin: 1.5rem 0 1rem !important; }

/* the footer: ink */
.seo-foot { background: var(--sx-ink); color: var(--sx-on-ink); }
.seo-foot__grid { max-width: var(--sx-max); margin: 0 auto; padding: clamp(3rem, 7vw, 5rem) var(--sx-gut) 2rem; display: grid; gap: 2rem 3rem; }
@media (min-width: 720px) { .seo-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.seo-foot__h { font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sx-on-ink-mute); margin-bottom: .5rem !important; }
.seo .seo-foot a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.seo .seo-foot a:hover, .seo .seo-foot a[aria-current="page"] { text-decoration: underline; }
.seo-foot__fine { max-width: var(--sx-max); margin: 0 auto !important; padding: 1.25rem var(--sx-gut) 2.5rem; font-size: .875rem; color: var(--sx-on-ink-mute); border-top: 1px solid var(--sx-line-ink); }

/* ================================================================== home: article#about, after the film's close */
/* A quiet editorial footer on ink, under the close's last screen. It is real page text (crawlers read it in the
   source); the film scenes are inserted before it (js/engine.js). It sits in <main>, so a route (#story...) hides it. */
.seo-home { position: relative; z-index: 1; background: var(--sx-ink); color: var(--sx-on-ink); font-family: var(--sx-f); font-size: 18px; line-height: 1.6; border-top: 1px solid var(--sx-line-ink); }
.seo-home *, .seo-home *::before, .seo-home *::after { box-sizing: border-box; }
.seo-home__in { max-width: none; margin: 0; padding: clamp(4rem, 9vw, 7rem) clamp(16px, 2.2vw, 32px) clamp(3rem, 6vw, 4.5rem);   /* the film's own gutter (--gut), so it lines up with the close above */
  display: grid; gap: 1.75rem 4rem; grid-template-areas: "kick" "name" "bio" "facts" "nav" "lang"; }
@media (min-width: 1000px) {
  .seo-home__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "kick bio" "name bio" "facts bio" "nav nav" "lang lang"; align-items: start; }
}
.seo-home__kick { grid-area: kick; margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: .75rem; }
.seo-home__kick::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.seo-home__name { grid-area: name; margin: 0; font-family: var(--sx-f); font-weight: 700; font-size: clamp(2.75rem, 6vw, 5.5rem); line-height: .92; letter-spacing: -.03em; }
.seo-home__bio { grid-area: bio; max-width: 40rem; }
.seo-home__bio p { margin: 0; }
.seo-home__bio p + p { margin-top: 1rem; }
.seo-home__bio p:first-child { font-size: clamp(1.1875rem, 1.05rem + .45vw, 1.375rem); line-height: 1.5; }
.seo-home__facts { grid-area: facts; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; align-self: end; }
.seo-home__facts > div { padding: .7rem 0; border-top: 1px solid var(--sx-line-ink); }
.seo-home__facts dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-on-ink-mute); }
.seo-home__facts dd { margin: .1rem 0 0; font-weight: 600; line-height: 1.35; }
.seo-home__nav { grid-area: nav; margin-top: 1rem; border-top: 1px solid var(--sx-line-ink); }
.seo-home__nav ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
@media (min-width: 720px) { .seo-home__nav ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .seo-home__nav ul { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.seo-home__nav a { display: flex; flex-direction: column; gap: .1rem; min-height: 44px; padding: 1rem 0; color: var(--sx-on-ink); text-decoration: none; font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); letter-spacing: -.01em; }
.seo-home__nav a::after { content: none; }
.seo-home__nav a span { font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--sx-on-ink-mute); line-height: 1.35; }
.seo-home__nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.seo-home__nav a:hover span { text-decoration: none; }
.seo-home a { color: inherit; }
/* the same profile and courses in Uzbek and Russian (SEO review, 4 Oct 2026: the home page did not link them) */
.seo-home__lang { grid-area: lang; margin: -1rem 0 0; font-size: 15px; color: var(--sx-on-ink-mute); }
.seo-home__lang a { display: inline-block; padding: .625rem 0; color: var(--sx-on-ink); font-weight: 600; }

/* ================================================================== SEO pass 2 (4 Oct 2026): languages, FAQ */
/* language switch (about/ and courses/ in en, uz, ru): three pills in the ink bar; the current one is paper on ink */
.seo-lang ul { display: flex; gap: .25rem; }
.seo .seo-lang a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 .625rem; border-radius: 999px; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; color: var(--sx-on-ink-mute); }
.seo .seo-lang a:hover { color: var(--sx-on-ink); text-decoration: underline; text-underline-offset: .35em; }
.seo .seo-lang a[aria-current] { color: var(--sx-ink); background: var(--sx-on-ink); }
.seo .seo-lang a[aria-current]:hover { text-decoration: none; }
/* on a uz/ru page, a nav link to a page that exists only in English */
.seo-en { font-size: .6875rem; font-weight: 700; letter-spacing: .06em; opacity: .7; vertical-align: super; margin-left: .15em; }
/* her quote in Uzbek, its Russian translation under it (ru pages) */
.seo-q__tr { margin-top: .75rem; font-size: .9375em; line-height: 1.5; color: var(--sx-on-paper-mute); }
/* FAQ (courses): question as h3, answer as one paragraph */
.seo-faq h3 + p { margin-top: .5rem; }
