/* November design revision: a true business-card homepage, original circular SVG gear,
   correctly proportioned expanded Kazakhstan outline and one-line clickable labels. */
.hero .hero-grid{grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);gap:clamp(24px,2.7vw,42px)}
.mechanism-art{height:clamp(460px,51vw,540px)}
/* Preserve map aspect ratio: enlarge UNIFORMLY rather than stretching vertically. */
.country-outline{width:148%;max-width:none;height:100%;left:-24%;top:-11%;opacity:1;
  object-fit:contain;filter:drop-shadow(0 0 14px rgba(48,230,236,.45)) brightness(1.26)}
.gear-cluster{width:min(56%,334px);top:45%}
.system-hud{top:45%}
.system-plaque{min-width:0;width:clamp(148px,15.6vw,200px);max-width:30%;text-decoration:none;cursor:pointer}
.system-plaque .plaque-name{display:block;min-width:0;flex:1;white-space:nowrap;overflow:visible;overflow-wrap:normal;font-size:clamp(.61rem,.82vw,.82rem);letter-spacing:-.024em}
.system-plaque .plaque-icon{width:24px;flex-basis:24px}
.system-plaque .plaque-icon svg{width:23px;height:23px}
.system-plaque:hover,.system-plaque:focus-visible{color:#fff;text-decoration:none;outline-color:#d2fff7;border-color:#b0fff1}
.system-plaque .plaque-point{pointer-events:none}
.brand-gear-core{z-index:2;filter:drop-shadow(0 0 7px rgba(41,214,205,.32))}
.satellite-gear{background-image:url('/assets/img/gear-redrawn-rim.svg');opacity:.5}
/* The pointer is a short triangle at the INTERNAL edge of the gear rim. */
.gear-motion{position:absolute;inset:0;transform-origin:50% 50%}
.gear-motion>.brand-gear-ring{filter:drop-shadow(0 0 6px rgba(44,220,217,.46))}
.gear-selector{filter:drop-shadow(0 0 5px rgba(52,239,233,.7))}
.system-plaque .plaque-name{word-break:keep-all}
.topic-anchor-section{background:#f3f8f8;padding:36px 0 56px}
.topic-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.topic-detail{scroll-margin-top:110px;border:1px solid #d6e8e6;border-radius:18px;background:white;padding:24px}
.topic-detail:target{outline:3px solid #25b6b0;outline-offset:4px}
.topic-detail .topic-number{color:#0b8884;font-size:.74rem;font-weight:900;letter-spacing:.12em}
.topic-detail h3{margin:8px 0 12px;font-size:clamp(1.03rem,1.5vw,1.25rem);white-space:nowrap}
.topic-detail p{font-size:.91rem;color:#587078;margin:0 0 16px}
.topic-detail a{font-weight:700;font-size:.88rem;text-decoration:none;white-space:nowrap}
body[data-page="home"] .final-screen{min-height:unset}
body[data-page="home"] .final-screen .site-footer{width:100%}
body[data-page="home"] .site-footer{padding-top:32px;padding-bottom:19px}
body[data-page="home"] .footer-grid{padding-bottom:24px}
body[data-page="home"] .hero .hero-grid{padding-block:clamp(25px,3.5vw,55px)}
/* Full titles in ordinary content. On compact screens we reduce font rather than wrap. */
.service-card h3,.topic-detail h3,.nav-main a,.footer-title{white-space:nowrap;overflow-wrap:normal;word-break:normal}
@media(max-width:1120px) and (min-width:901px){
 .hero .hero-grid{grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);gap:20px}
 .mechanism-art{height:475px}
 .gear-cluster{width:59%}
 .system-plaque{width:clamp(130px,14vw,166px)}
 .system-plaque .plaque-name{font-size:.63rem}
}
@media(max-width:900px){
 .hero .hero-grid{grid-template-columns:1fr}
 .mechanism-art{height:420px}
 .country-outline{width:132%;left:-16%;height:91%;top:-6%}
 .system-plaque{width:176px}
 .system-plaque .plaque-name{font-size:.73rem}
}
@media(max-width:650px){
 .hero .hero-grid{gap:16px}
 .mechanism-art{height:390px}
 .country-outline{width:146%;left:-23%;height:88%;top:-6%;opacity:.92}
 .gear-cluster{width:51%;top:33%}
 .system-hud{top:33%}
 .system-plaque{width:calc(50% - 18px);min-height:54px;max-width:none;padding:8px 9px;gap:5px}
 .system-plaque .plaque-name{font-size:clamp(.59rem,2.6vw,.71rem);letter-spacing:-.03em;line-height:1.2}
 .system-plaque .plaque-icon{width:20px;flex-basis:20px}
 .system-plaque .plaque-icon svg{width:20px;height:20px}
 .topic-detail-grid{grid-template-columns:1fr}
 .topic-detail{padding:18px}
}
@media(max-width:365px){
 .system-plaque .plaque-icon{display:none}
 .system-plaque .plaque-name{font-size:.66rem}
 .system-plaque{justify-content:center}
 .mechanism-art{height:375px}
 .gear-cluster{top:32%}
 .system-hud{top:32%}
}

/* Headings must never split individual Cyrillic letters across lines.
   The desktop headline is scaled to fit its actual column instead. */
.hero h1{overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
@media(min-width:901px){
 .hero h1{font-size:clamp(2.13rem,3.12vw,3.0rem)!important}
}
@media(max-width:365px){
 .hero h1{font-size:clamp(1.83rem,8vw,2.16rem)!important}
}
