/* ==========================================================================
   Ghaem Reza — the inner pages (pages/): lists and single items of news, projects, fields and posts, about, contact,
   404. One set of templates for both builds: on a phone a single column under the app bar, on a desktop a measured
   page under the paper header, on the desktop's night with its survey grid. The cards come from kit.css.
   ========================================================================== */

/* the desktop's ground: the night and the survey grid, fixed behind the page (a fixed layer: nothing repaints
   when the page scrolls) */
html.v-d body.page-inner { background: var(--m-bg); }
html.v-d body.page-inner::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 50% at 70% 0%, rgb(79 217 154 / .07), transparent 70%),
    linear-gradient(rgb(91 230 198 / .045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgb(91 230 198 / .045) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 85%);
  mask: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 85%);
}
.page-inner { color: var(--m-text); }
.pg { display: block; }
.pg-wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding: calc(var(--header-h) + 34px) var(--gutter) 40px; }
html.v-d .pg-wrap { padding-bottom: 230px; }   /* the footer's edge (the board's dock, the bridge) rises over the page's end */
html.v-m .pg-wrap { padding: calc(var(--m-bar-h) + env(safe-area-inset-top, 0px) + 14px) var(--m-gut) 8px; }
.pg-wrap h1, .pg-wrap h2, .pg-wrap h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; }
.page-inner .ico { width: 20px; height: 20px; }

/* ---------- breadcrumbs ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0 0 18px; padding: 0; list-style: none; font-size: 13px; color: var(--m-faint); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px; border-inline-start: 1.5px solid currentColor; border-block-end: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
[dir="ltr"] .crumbs li + li::before { transform: rotate(-135deg); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--m-sub); text-decoration: none; }
.crumbs a:hover { color: var(--m-text); }
.crumbs [aria-current] { color: var(--m-text); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 40ch; }

/* ---------- the head of a page ---------- */
.pg-head { display: grid; gap: 14px; max-width: 900px; margin-bottom: 34px; }
.pg-kicker { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: 13.5px; font-weight: 600; color: var(--m-accent); }
.pg-kicker[lang="en"] { font: 700 12.5px/1 var(--font-label); letter-spacing: .16em; text-transform: uppercase; }
.pg-kicker__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--m-accent-soft); }
.pg-kicker__ico .ico { width: 22px; height: 22px; }
.pg-head h1 { margin: 0; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.22; }
.pg-head h1 span { color: var(--m-sub); font-weight: 400; }
.pg-lead { font-size: clamp(15.5px, 1.35vw, 19px); line-height: 1.95; color: var(--m-sub); max-width: 62ch; }
.pg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13.5px; color: var(--m-faint); }
.pg-meta time, .pg-meta__t { display: inline-flex; align-items: center; gap: 6px; }
.pg-meta .ico { width: 17px; height: 17px; }
.pg-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--m-text); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px var(--m-line-2); }
.pg-chip[lang="en"] { font: 700 13px/1 var(--font-label); letter-spacing: .04em; color: var(--m-accent); }
.pg-chip--done { color: var(--m-accent); }
.pg-chip .ico { width: 17px; height: 17px; }
.pg-live-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--m-accent); background: var(--m-accent-soft); box-shadow: inset 0 0 0 1px rgb(61 220 151 / .3); }
.pg-live-chip i, .pg-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--m-accent); flex: none; }
.pg-live-chip i::after, .pg-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: m-ping 2s var(--m-ease) infinite; }
@keyframes m-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(3); opacity: 0; } }
.pg-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.pg-jump a { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 8px 0 18px; border-radius: 999px; color: var(--m-text); text-decoration: none; font-weight: 600; font-size: 14.5px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--m-line-2); }
.pg-jump b { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; font: 400 17px/1 var(--font-display); background: var(--m-accent); color: var(--m-accent-ink); }

/* ---------- blocks and grids ---------- */
.pg-block { margin-top: 56px; }
.pg-block > h2, .pg-h2 { margin: 0 0 8px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.35; }
.pg-sub { margin: 0 0 22px; color: var(--m-sub); max-width: 62ch; }
.pg-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin: 18px 0 0; padding: 0; list-style: none; }
.pg-grid > li { display: grid; }
html.v-m .pg-grid { grid-template-columns: 1fr; gap: 12px; }
html.v-m .pg-grid--fields, html.v-m .pg-grid--posts { gap: 16px; }
.pg-note { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 0; padding: 14px 16px; border-radius: 18px; font-size: 14px; line-height: 1.9; color: var(--m-sub); background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); }
.pg-note .ico { margin-top: 3px; color: var(--m-accent); }
.pg-note--soft { background: transparent; box-shadow: inset 0 0 0 1px var(--m-line); font-size: 13px; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pg-actions .mbtn--accent { flex: 1 1 auto; }
.pg-more { margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--m-line); }
.pg-more__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pg-more__head h2 { margin: 0; font-size: clamp(22px, 2vw, 30px); }

/* ---------- figures ---------- */
.pg-figure { position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); }
.pg-figure img { width: 100%; height: auto; }
.pg-figure--whole { display: grid; place-items: center; padding: 14px; }
.pg-figure--whole img { width: auto; max-width: 100%; max-height: 78vh; border-radius: 16px; }
.pg-figure--photo img { aspect-ratio: 4 / 3; object-fit: cover; height: 100%; }
.pg-figure__cut { position: absolute; inset-inline-start: 4%; bottom: 4%; width: 46% !important; height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; filter: drop-shadow(0 18px 18px rgb(0 0 0 / .55)); }

/* ---------- a page in two: the picture and the facts ---------- */
.pg-split { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; }
html.v-m .pg-split, .pg-split { }
@media (max-width: 900px) { .pg-split { grid-template-columns: 1fr; } }
html.v-m .pg-split { grid-template-columns: 1fr; }
.pg-facts { display: grid; gap: 16px; padding: 22px; border-radius: 28px; background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); }
.pg-facts__title { margin: 0; font-size: 20px; }
.pg-facts__dial { display: grid; justify-items: center; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--m-line); }
.pg-facts__dial .dial { width: 168px; }
.pg-facts__dial .dial__n { font-size: 42px; }
.pg-facts__dial > span:last-child { font-size: 13px; color: var(--m-faint); }
.pg-dl { display: grid; gap: 0; margin: 0; }
.pg-dl > div { display: grid; grid-template-columns: minmax(96px, auto) 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--m-line); }
.pg-dl > div:last-child { border-bottom: 0; }
.pg-dl dt { font-size: 13px; color: var(--m-faint); }
.pg-dl dd { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.7; }
.pg-dl dd[lang="en"] { font-family: var(--font-label); text-align: end; }
.pg-dl--tight > div { padding: 7px 0; grid-template-columns: minmax(84px, auto) 1fr; }
.pg-dl--tight dd { font-size: 13.5px; font-weight: 500; }
.pg-facts__map { margin: 0; display: grid; gap: 6px; }
.pg-facts__map svg { width: 100%; max-width: 280px; height: auto; justify-self: center; overflow: visible; }
.pg-facts__map figcaption { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--m-sub); }
.pg-facts .pg-actions { margin-top: 2px; }

/* ---------- the ongoing projects: the map beside the dials ---------- */
.pg-live { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; margin-top: 18px; }
@media (max-width: 1000px) { .pg-live { grid-template-columns: 1fr; } }
html.v-m .pg-live { grid-template-columns: 1fr; }
.pg-live__map { margin: 0; position: sticky; top: calc(var(--header-h) + 16px); }
html.v-m .pg-live__map { position: static; }
.pg-live .pg-grid { margin: 0; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
html.v-m .pg-live .pg-grid { grid-template-columns: 1fr; }
.mmap__label { font: 600 7px var(--font-body); fill: var(--m-sub); text-anchor: middle; paint-order: stroke; stroke: var(--m-card); stroke-width: 3px; }
.pg-grid--live .lcrd { padding-bottom: 20px; }

/* ---------- news: the item's lines, the tender's items ---------- */
.pg-article { max-width: 900px; }
.pg-article .pg-figure { margin-bottom: 8px; }
.pg-items { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 14px; }
.pg-items li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); font-weight: 600; }
.pg-items__ico, .pg-work__ico, .pg-reach__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--m-accent); background: var(--m-accent-soft); flex: none; }

/* ---------- fields ---------- */
.fcrd { display: grid; height: 100%; border-radius: 26px; overflow: hidden; background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); color: var(--m-text); text-decoration: none; transition: transform .35s var(--m-ease), box-shadow .35s; }
.fcrd:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgb(79 217 154 / .35); }
.fcrd__pic { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.fcrd__pic img { width: 100%; height: 100%; object-fit: cover; }
.fcrd__ico { position: absolute; bottom: -22px; inset-inline-start: 18px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; color: var(--m-accent-ink); background: var(--m-accent); box-shadow: 0 0 0 5px var(--m-card); }
.fcrd__ico .ico { width: 26px; height: 26px; }
.fcrd__body { position: relative; display: grid; align-content: start; gap: 8px; padding: 34px 20px 20px; }
.fcrd__n { position: absolute; top: 14px; inset-inline-end: 18px; font: 400 18px/1 var(--font-display); color: var(--m-faint); }
.fcrd__body b { font: 700 19px/1.5 var(--font-display); }
.fcrd__body > span:not(.fcrd__n):not(.fcrd__points) { font-size: 14px; line-height: 1.9; color: var(--m-sub); }
.fcrd__points { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.fcrd__points small { padding: 4px 10px; border-radius: 999px; font-size: 12px; color: var(--m-sub); box-shadow: inset 0 0 0 1px var(--m-line-2); }
.pg-checks { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.pg-checks li { display: flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--m-line); }
.pg-checks li:last-child { border-bottom: 0; }
.pg-checks .ico { color: var(--m-accent); width: 18px; height: 18px; }
.pg-grade { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: var(--m-accent-soft); box-shadow: inset 0 0 0 1px rgb(79 217 154 / .25); }
.pg-grade__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--m-accent); color: var(--m-accent-ink); flex: none; }
.pg-grade span:last-child { display: grid; line-height: 1.6; }
.pg-grade small { font-size: 12.5px; color: var(--m-sub); }
.pg-grade b { font-size: 14.5px; }
.pg-work { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 16px; }
.pg-work li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); font-weight: 600; font-size: 14.5px; line-height: 1.7; }
.pg-rows { margin-top: 16px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
html.v-m .pg-rows { grid-template-columns: 1fr; }
.pg-next { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 56px; padding: 18px 22px; border-radius: 26px; background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); color: var(--m-text); text-decoration: none; }
.pg-next > small { font-size: 13px; color: var(--m-faint); }
.pg-next > span { display: flex; align-items: center; gap: 12px; flex: 1; }
.pg-next b { font: 700 19px/1.5 var(--font-display); }
.pg-next__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--m-accent); background: var(--m-accent-soft); }
.pg-next > .ico { color: var(--m-accent); }

/* ---------- the blog ---------- */
.bfeat { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0; border-radius: 30px; overflow: hidden; background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); color: var(--m-text); text-decoration: none; }
html.v-m .bfeat { grid-template-columns: 1fr; }
@media (max-width: 900px) { .bfeat { grid-template-columns: 1fr; } }
.bfeat__pic { display: block; min-height: 300px; }
.bfeat__pic img { width: 100%; height: 100%; object-fit: cover; }
html.v-m .bfeat__pic { min-height: 0; aspect-ratio: 16 / 10; }
.bfeat__body { display: grid; align-content: center; gap: 12px; padding: 28px; }
.bfeat__body b { font: 700 clamp(22px, 2.2vw, 30px)/1.45 var(--font-display); }
.bfeat__body > span:not(.prow__tag) { color: var(--m-sub); line-height: 1.95; }
.bfeat__body small { display: inline-flex; align-items: center; gap: 6px; color: var(--m-faint); font-size: 13px; }
.bcrd { display: grid; align-content: start; gap: 8px; height: 100%; padding: 10px 10px 20px; border-radius: 26px; background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); color: var(--m-text); text-decoration: none; }
.bcrd__pic { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; margin-bottom: 6px; }
.bcrd__pic img { width: 100%; height: 100%; object-fit: cover; }
.bcrd .prow__tag, .bcrd b, .bcrd > span:last-child { padding-inline: 8px; }
.bcrd b { font-size: 17px; line-height: 1.65; }
.bcrd > span:last-child { font-size: 14px; color: var(--m-sub); line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pg-post { max-width: 860px; margin-inline: auto; }
.pg-head--post { margin-bottom: 24px; }
.pg-prose { max-width: 68ch; }
.pg-post .pg-prose { margin: 30px auto 0; }
.pg-prose p { margin: 0 0 1.1em; font-size: 17px; line-height: 2.1; color: rgb(241 244 240 / .84); }
html.v-m .pg-prose p { font-size: 16px; }
.pg-prose .pg-prose__lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 2; color: var(--m-text); font-weight: 500; }
.pg-actions--post { max-width: 68ch; margin-inline: auto; }

/* ---------- about ---------- */
.pg-stats { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); margin-bottom: 18px; }
html.v-m .pg-stats { grid-template-columns: 1fr 1fr; }
.pg-stats > div { display: grid; gap: 4px; padding: 20px; border-radius: 24px; background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); }
.pg-stats b { font: 400 clamp(42px, 4.4vw, 64px)/1 var(--font-display); color: var(--m-accent); }
.pg-stats span { font-size: 14px; color: var(--m-sub); }
.pg-split--story { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 34px; margin-top: 30px; }
.pg-split--story .pg-figure img { aspect-ratio: 4 / 5; }
.pg-time { position: relative; display: grid; gap: 0; margin: 14px 0 0; padding: 0; list-style: none; }
.pg-time li { position: relative; display: grid; grid-template-columns: 86px 1fr; gap: 14px; padding-bottom: 20px; }
.pg-time li:not(:last-child)::before { content: ""; position: absolute; top: 34px; bottom: 0; inset-inline-start: 18px; width: 2px; background: linear-gradient(var(--m-accent), var(--m-line)); opacity: .5; }
.pg-time b { font: 700 24px/1.3 var(--font-display); color: var(--m-accent); }
.pg-time strong { display: block; font-size: 15.5px; }
.pg-time p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.9; color: var(--m-sub); }
.pg-certs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(460px, 1fr)); margin-top: 18px; }
html.v-m .pg-certs { grid-template-columns: 1fr; }
@media (max-width: 1000px) { .pg-certs { grid-template-columns: 1fr; } }
.pg-cert { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 16px; border-radius: 26px; background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); scroll-margin-top: calc(var(--header-h) + 20px); }
html.v-m .pg-cert { grid-template-columns: 110px 1fr; gap: 14px; }
.pg-cert:target { box-shadow: inset 0 0 0 1.5px var(--m-accent); }
.pg-cert__pic { margin: 0; border-radius: 14px; overflow: hidden; background: #EDEDE6; align-self: start; box-shadow: 0 16px 28px -16px rgb(0 0 0 / .9); }
.pg-cert__pic img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.pg-cert__body { display: grid; align-content: start; gap: 6px; min-width: 0; }
.pg-cert__body b { font: 700 18px/1.5 var(--font-display); }
.pg-cert__body b [lang="en"] { font: 700 14px/1 var(--font-label); color: var(--m-accent); }
.pg-cert__body > small { color: var(--m-faint); font-size: 13px; }
.pg-cert__body p { margin: 4px 0; font-size: 14px; line-height: 1.9; color: var(--m-sub); }
.pg-cert__drawn { font-size: 12px; color: var(--m-faint); }
.pg-board { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin-top: 18px; }
html.v-m .pg-board { grid-template-columns: 1fr 1fr; }
.pg-board li { display: grid; justify-items: center; gap: 4px; padding: 20px 14px; border-radius: 24px; text-align: center; background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); }
.pg-board__pic { display: block; width: 92px; height: 92px; margin-bottom: 8px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--m-bg-2), 0 0 0 5px var(--m-line-2); }
.pg-board__pic svg, .pg-board__pic img { width: 100%; height: 100%; }
.pg-board b { font-size: 14.5px; }
.pg-board small { font-size: 12.5px; color: var(--m-faint); line-height: 1.6; }
.pg-cta h2 { font-size: clamp(24px, 2.6vw, 36px); }
.pg-cta .pg-actions { margin-top: 6px; }

/* ---------- contact ---------- */
.pg-contact { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
html.v-m .pg-contact { grid-template-columns: 1fr; }
@media (max-width: 900px) { .pg-contact { grid-template-columns: 1fr; } }
.pg-reach { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pg-reach a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); color: var(--m-text); text-decoration: none; transition: box-shadow .3s; }
.pg-reach a:hover { box-shadow: inset 0 0 0 1px rgb(79 217 154 / .4); }
.pg-reach a > span:last-child { display: grid; line-height: 1.7; }
.pg-reach small { font-size: 12.5px; color: var(--m-faint); }
.pg-reach b { font-size: 16px; }
.pg-reach b[dir="ltr"] { font-family: var(--font-latin); text-align: start; }
.pg-reach a > span:last-child > span { font-size: 13px; color: var(--m-accent); }
.pg-catalog { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px; border-radius: 28px; background: linear-gradient(160deg, rgb(79 217 154 / .1), transparent 60%), var(--m-card); box-shadow: inset 0 0 0 1px rgb(79 217 154 / .22); scroll-margin-top: calc(var(--header-h) + 20px); }
html.v-m .pg-catalog { grid-template-columns: 1fr; }
@media (max-width: 760px) { .pg-catalog { grid-template-columns: 1fr; } }
.pg-catalog__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--m-accent); color: var(--m-accent-ink); }
.pg-catalog__ico .ico { width: 28px; height: 28px; }
.pg-catalog h2 { margin: 0 0 4px; font-size: 22px; }
.pg-catalog p { color: var(--m-sub); font-size: 14.5px; line-height: 1.9; }
.page-contact .faq { margin-top: 18px; max-width: 900px; }

/* ---------- 404 ---------- */
.pg-404 { min-height: 70vh; }
.pg-404__n { margin: 0; font: 400 clamp(110px, 16vw, 220px)/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--m-accent); opacity: .7; }
.pg-ways { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 0; padding: 0; list-style: none; }
html.v-m .pg-ways { grid-template-columns: 1fr; }
.pg-ways a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 16px; border-radius: 20px; background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); color: var(--m-text); text-decoration: none; font-weight: 600; }
.pg-ways a > .ico:last-child { margin-inline-start: auto; color: var(--m-accent); }

/* ---------- arriving (scroll-driven where the browser can, never with reduced motion or on a weak machine) ---------- */
@supports (animation-timeline: view()) {
  html:not(.gr-static):not([data-tier="lite"]) .pg-grid > li, html:not(.gr-static):not([data-tier="lite"]) :is(.pg-cert, .pg-stats > div, .pg-time li, .pg-block > h2) {
    animation: pg-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%;
  }
  html:not(.gr-static):not([data-tier="lite"]) .dial__fill { animation: pg-dial linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
}
@keyframes pg-rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes pg-dial { from { stroke-dasharray: 0 100; } }
html.gr-static .pg-live-chip i::after, html.gr-static .pg-dot::after, html.gr-static .mmap__pulse { animation: none; }
