/* The About Median page (Edmon, 4 Nov 2026): his letter, the wordmark in the title and the signature, one real case told
   three ways, the closing sentence emphasised, three Median tiles. Tokens from median.css. */
.ab { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) 0 0; }
.ab p { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; margin: 0 0 1.1em; }
.ab-lead { font-family: var(--font-serif); font-size: clamp(34px, 5vw, 60px) !important; line-height: 1.08 !important;
  letter-spacing: -.015em; margin: 0 0 .8em !important; }
.ab-sign { display: flex; align-items: center; gap: 14px; margin: 36px 0 0; }
.ab-sign img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
/* Edmon's photo (1 Dec 2026, in colour): not clickable, draggable, selectable or long-press savable */
.ab-sign img { pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
  -webkit-touch-callout: none; }
.ab-sign p { margin: 0 !important; display: flex; flex-direction: column; font-size: 15px !important; line-height: 1.35 !important; }
.ab-sign b { font-size: 17px; }
.ab-sign span { color: var(--ink-muted); }
[data-in] { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .9s cubic-bezier(.16, 1, .3, 1); }
[data-in].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-in] { opacity: 1; transform: none; transition: none; } }
.a6 { container-type: inline-size; }
/* two lines, each on one line: as large as before, smaller only when the column is too narrow for "իմ մի սովորությունից."
   (about 10 times the type size wide) */
.a6 .ab-lead { font-weight: 400; font-size: min(clamp(34px, 5vw, 60px), 9.6cqi) !important; }
.a6-h1, .a6-h2 { display: block; white-space: nowrap; }
.a6-logo { display: inline-block; margin-right: .03em; }
.a6-logo img { height: .68em; width: auto; vertical-align: baseline; }
.a6-logo-sm img { height: .86em; opacity: .8; }
.ab-sign .a6-logo img { border-radius: 0; filter: none; width: auto; }
.a6-ex { margin: 40px -72px 44px; }
.a6-fact { margin: 0 0 14px !important; font-size: 14px !important; line-height: 1.4 !important; color: var(--ink-muted); }
.a6-fact a { color: inherit; text-decoration: none; }
.a6-fact a:hover { color: var(--ink); }
/* each card's side colour (on the outlets page these come from outlets.css) */
.a6-card.ows-pro-government { --side: var(--side-progov); }
.a6-card.ows-balanced { --side: var(--side-balanced); }
.a6-card.ows-opposition { --side: var(--side-opposition); }
.a6-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.a6-card { margin: 0; padding: 18px 20px 22px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 3px 0 var(--side);
  opacity: 0; transform: translateY(16px); transition: opacity .6s ease calc(.2s + var(--d) * .16s), transform .9s cubic-bezier(.16, 1, .3, 1) calc(.2s + var(--d) * .16s); }
.a6-ex.in .a6-card { opacity: 1; transform: none; }
.a6-card figcaption { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; font-size: 13px; line-height: 1.3; }
.a6-card figcaption b { color: var(--side); font-weight: 700; }
.a6-card figcaption span { color: var(--ink-muted); }
.a6-card p { margin: 0 !important; font-family: var(--font-serif); font-size: 18px !important; line-height: 1.38 !important; }
.a6-card mark { background: none; color: inherit; box-shadow: inset 0 -3px var(--median-amber); }
.a6-close { margin: 56px -120px 0 0; }
.a6-bar { display: flex; gap: 3px; width: 132px; height: 6px; margin: 0 0 22px; }
.a6-bar i { flex: 1; border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.a6-bar i:nth-child(1) { background: var(--side-progov); }
.a6-bar i:nth-child(2) { background: var(--side-balanced); transition-delay: .12s; }
.a6-bar i:nth-child(3) { background: var(--side-opposition); transition-delay: .24s; }
.a6-close.in .a6-bar i { transform: none; }
.a6-close[data-in] { opacity: 1; transform: none; }
.a6-last { margin: 0 !important; font-family: var(--font-serif); font-size: clamp(26px, 2.95vw, 38px) !important; line-height: 1.25 !important;
  letter-spacing: -.01em; }
.a6-l1, .a6-l2 { display: block; }
.a6-l1 { text-wrap: balance; }
@media (min-width: 900px) { .a6-l2 { white-space: nowrap; } }
.a6-last .w { display: inline-block; opacity: 0; filter: blur(6px); transform: translateY(.3em);
  transition: opacity .6s ease, filter .6s ease, transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.35s + var(--w) * 60ms); }
.a6-close.in .a6-last .w { opacity: 1; filter: blur(0); transform: none; }
@media (max-width: 1000px) { .a6-close { margin: 44px 0 0; } }
@media (prefers-reduced-motion: reduce) { .a6-bar i, .a6-last .w { transform: none; opacity: 1; filter: none; transition: none; } }
.a6-go { max-width: 1080px; margin: clamp(64px, 9vw, 120px) auto 0; }
.a6-go h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(26px, 3vw, 36px); margin: 0 0 18px; }
.a6-go ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.a6-go a { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; height: 100%; min-height: 150px;
  padding: 22px; border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: background-color .25s ease; }
.a6-go a:hover { background: color-mix(in srgb, var(--ink) 9%, var(--surface)); }
.a6-go-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--paper); }
.a6-go-ic .a6-bi { width: 40px; height: 40px; }
.a6-go-ic { width: 66px; height: 66px; border-radius: var(--radius); }
.a6-go b { font-size: 20px; font-weight: 700; }
.a6-go a > .icon { position: absolute; right: 20px; top: 22px; width: 20px; height: 20px; color: var(--ink-muted); transition: transform .25s ease, color .25s ease; }
.a6-go a:hover > .icon { transform: translateX(3px); color: var(--ink); }
@media (max-width: 1000px) { .a6-ex { margin: 32px 0 36px; } }
@media (max-width: 700px) {
  .a6-cards { grid-template-columns: 1fr; }
  .a6-go ul { grid-template-columns: 1fr; gap: 8px; }
  .a6-go a { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; min-height: 0; padding: 14px 16px; border-radius: var(--radius); }
  .a6-go-ic { width: 44px; height: 44px; border-radius: var(--radius); }
  .a6-go-ic .a6-bi { width: 27px; height: 27px; }
  .a6-go b { font-size: 17px; }
  .a6-go a > .icon { position: static; margin-left: auto; }
}

/* Redesign A (Edmon, 8 Nov 2026): the closing words are simply there, no blur-in */
.a6-last .w { opacity: 1; filter: none; transform: none; transition: none; }

/* Redesign A, the rest (Edmon, 8 Nov 2026: About to match the new look): serif headings at 84% width, the three headlines
   as plain text with their side's line on the left (as on the outlets comparisons), no boxes, nothing fading in, the last
   links as underlined words between thin rules. */
.ab-lead, .a6-last, .a6-card p { font-stretch: var(--head-stretch); }
.ab-lead { font-weight: 700 !important; letter-spacing: -0.02em; }
.a6-cards { gap: 28px; }
.a6-card { padding: 2px 0 2px 18px; border-radius: 0; background: none; box-shadow: none; border-left: 4px solid var(--side);
  opacity: 1; transform: none; transition: none; }
.a6-card p { font-weight: 600; }
.a6-bar i { transform: none; transition: none; border-radius: 0; }
.a6-go { max-width: 760px; }
.a6-go h2 { font-family: var(--font-serif); font-stretch: var(--head-stretch); font-weight: 700; font-size: 1.5rem; margin: 0; }
.a6-go ul { display: block; border-bottom: 1px solid var(--rule); }
.a6-go li + li { border-top: 1px solid var(--rule); }
.a6-go a { display: block; min-height: 0; height: auto; padding: 16px 0; border-radius: 0; background: none; font-family: var(--font-serif);
  font-stretch: var(--head-stretch); font-size: 1.25rem; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 4px; }
.a6-go a:hover { background: none; text-decoration-thickness: 2px; }
@media (max-width: 700px) { .a6-cards { gap: 22px; } .a6-go a { display: block; padding: 14px 0; } }
/* "Where to start" as a front page's "Inside" index (Edmon, 8 Nov 2026: the underlined list was too raw): three columns
   between thin vertical rules, Median's own icon, the title in the serif, one line on what is there; no underlines until hover. */
.a6-go { max-width: 1080px; }
.a6-go-h { font-family: var(--font-sans) !important; font-stretch: normal !important; font-size: var(--fs-meta) !important; font-weight: 700 !important;
  letter-spacing: .02em; color: var(--ink-muted); margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; }
.a6-go-h::after { content: none !important; }
.a6-go ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); border-bottom: 0; }
.a6-go li + li { border-top: 0; border-left: 1px solid var(--rule); }
.a6-go a { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 4px; font-family: var(--font-sans); font-stretch: normal; font-size: 1rem;
  font-weight: 400; color: var(--ink); text-decoration: none; }
.a6-go li:first-child a { padding-left: 0; }
.a6-go a:hover { text-decoration: none; }
.a6-go a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.a6-go .a6-go-ic { width: 40px; height: 40px; margin-bottom: 10px; }
.a6-go b { font-family: var(--font-serif); font-stretch: var(--head-stretch); font-size: 1.4rem; font-weight: 700; line-height: 1.15; }
.a6-go a span { color: var(--ink-muted); font-size: .95rem; line-height: 1.45; }
@media (max-width: 700px) {
  .a6-go ul { grid-template-columns: minmax(0, 1fr); }
  .a6-go li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .a6-go a { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 16px 0; }
  .a6-go .a6-go-ic { grid-row: 1 / span 2; width: 34px; height: 34px; margin: 2px 0 0; }
  .a6-go li:first-child a { padding-left: 0; }
}

/* Who funds Median (Edmon, 14 Nov 2026): after the letter, in the letter's column; a thin rule above, the heading in the
   serif, two paragraphs, the date and the address quiet (the three rules removed: Edmon, 14 Nov 2026). */
.ab-fund { padding: 0; margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(28px, 3.5vw, 40px); border-top: 1px solid var(--rule);
  scroll-margin-top: calc(var(--header-h, 64px) + 24px); }
.ab-fund h2 { font-family: var(--font-serif); font-stretch: var(--head-stretch); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .7em; }
.ab-fund .ab-fund-meta { font-size: 14px !important; line-height: 1.5 !important; color: var(--ink-muted); margin: 0 !important; }
.ab-fund-meta a { color: inherit; text-underline-offset: 3px; }
.ab-fund-meta a:hover { color: var(--ink); }
