/* STRELA /aboutme — light cinematic layer (PC + mobile)
   Typography: Apple-like system stack (SF / -apple-system), no display fonts */

html[data-theme="light"] body.aboutme-page.am-light,
body.aboutme-page.am-light {
  --am-bg: #eef2f6;
  --am-bg-soft: #e8edf3;
  --am-card: #ffffff;
  --am-card-soft: #f8fafc;
  --am-ink: #1d1d1f;
  --am-muted: #6e6e73;
  --am-faint: #86868b;
  --am-accent: #ffc72c;
  --am-accent-ink: #1d1d1f;
  --am-border: rgba(0, 0, 0, 0.08);
  --am-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --am-display: var(--am-sans);
  --am-body: var(--am-sans);
  --strela-yellow: var(--am-accent);
  --strela-text: var(--am-ink);
  --strela-muted: var(--am-muted);
  --glass-bg: var(--am-card);
  --glass-border: var(--am-border);
  font-family: var(--am-sans) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--am-bg) !important;
  color: var(--am-ink) !important;
}

body.am-light .page-background,
body.am-light .grid-pattern {
  display: none !important;
}

/* /aboutme: хедер без стекла — слева лого+текст, справа только бургер.
   Цвета хедера не трогаем. Hero поднимаем под хедер (без зазора). */
body.aboutme-page.am-light {
  padding-top: 0 !important;
}
body.aboutme-page .hv2-header--menu-only,
body.aboutme-page .hv2-header--menu-only.is-scrolled {
  background: transparent !important;
  box-shadow: none !important;
}
body.aboutme-page .hv2-header--menu-only::before,
body.aboutme-page .hv2-header--menu-only.is-scrolled::before,
body.aboutme-page .hv2-header--menu-only::after,
body.aboutme-page .hv2-header--menu-only.is-scrolled::after {
  opacity: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body.aboutme-page .hv2-header--menu-only .hv2-header-nav {
  display: none !important;
}
body.aboutme-page .hv2-header--menu-only .hv2-brand,
body.aboutme-page .hv2-header--menu-only .hv2-brand-name,
body.aboutme-page .hv2-header--menu-only .hv2-brand-mark,
body.aboutme-page .hv2-header--menu-only .hv2-logo-part {
  color: #fff !important;
}

body.am-light .about-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 64px;
  position: relative;
  z-index: 1;
}

/* ── Hero (only dark surface) ── */
body.am-light .am-hero {
  position: relative;
  left: 50%;
  margin-left: -50vw;
  width: 100vw;
  min-height: min(86vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  margin-top: 0;
  margin-bottom: 36px;
}

body.am-light .am-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0b1220;
}

body.am-light .am-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}

body.am-light .am-hero__slide.is-on { opacity: 1; }

body.am-light .am-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.am-light .am-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(108deg, rgba(4, 8, 18, 0.92) 0%, rgba(4, 8, 18, 0.55) 46%, rgba(4, 8, 18, 0.2) 72%, rgba(4, 8, 18, 0.5) 100%),
    linear-gradient(0deg, rgba(4, 8, 18, 0.88) 0%, transparent 46%);
}

body.am-light .am-hero__inner {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 48px));
  margin: 0 auto 0 max(24px, calc((100vw - 1120px) / 2 + 24px));
  padding: 40px 0 52px;
  color: #f8fafc;
}

body.am-light .am-hero__brand {
  font-family: var(--am-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--am-accent);
  margin-bottom: 12px;
}

body.am-light .hero-section {
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  backdrop-filter: none !important;
  text-align: left !important;
  max-width: none !important;
}

body.am-light .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 199, 44, 0.4);
  background: rgba(255, 199, 44, 0.12);
  color: #fde68a;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

body.am-light .hero-title {
  font-family: var(--am-sans) !important;
  font-size: clamp(32px, 4.8vw, 52px) !important;
  font-weight: 600 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.022em !important;
  margin: 0 0 16px !important;
  color: #f5f5f7 !important;
}

body.am-light .hero-title .text-white,
body.am-light .hero-title .text-gradient {
  color: #f5f5f7 !important;
  background: none !important;
  -webkit-text-fill-color: #f5f5f7 !important;
}

body.am-light .hero-title .text-gradient {
  color: #f5f5f7 !important;
  -webkit-text-fill-color: #f5f5f7 !important;
}

body.am-light .hero-subtitle {
  max-width: 48ch;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.47 !important;
  letter-spacing: -0.01em;
  color: rgba(245, 245, 247, 0.72) !important;
  margin: 0 0 28px !important;
}

body.am-light .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
body.am-light .btn-primary,
body.am-light .btn-secondary,
body.am-light .btn-play-store,
body.am-light .founder-wa-btn,
body.am-light .community-hub-btn,
body.am-light .eco-sphere-cta__btn,
body.am-light .aboutme-gallery-upload-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px !important;
  border-radius: 12px !important;
  font-family: var(--am-sans) !important;
  font-weight: 510 !important;
  font-size: 15px !important;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

body.am-light .btn-primary,
body.am-light .founder-wa-btn,
body.am-light .eco-sphere-cta__btn {
  background: var(--am-accent) !important;
  color: var(--am-accent-ink) !important;
  border: 0 !important;
  box-shadow: 0 10px 24px rgba(255, 199, 44, 0.28) !important;
}

body.am-light .am-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

body.am-light .btn-secondary,
body.am-light .community-hub-btn,
body.am-light .btn-play-store,
body.am-light .aboutme-gallery-upload-btn {
  background: var(--am-card) !important;
  color: var(--am-ink) !important;
  border: 1px solid var(--am-border) !important;
  box-shadow: none !important;
}

body.am-light .community-hub-btn--telegram {
  border-color: rgba(37, 150, 214, 0.35) !important;
  color: #0b7bb8 !important;
}

body.am-light .community-hub-btn--whatsapp {
  border-color: rgba(37, 211, 102, 0.4) !important;
  color: #128c4a !important;
}

body.am-light .btn-primary:hover,
body.am-light .btn-secondary:hover,
body.am-light .community-hub-btn:hover {
  transform: translateY(-1px);
}

/* Stats */
body.am-light .stats-section {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.am-light .stat-card {
  padding: 18px 16px !important;
  border-radius: 16px !important;
  background: var(--am-card) !important;
  border: 1px solid var(--am-border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  text-align: left !important;
}

body.am-light .stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.04);
  color: var(--am-ink);
  margin-bottom: 12px;
}

body.am-light .stat-number {
  font-family: var(--am-sans) !important;
  font-size: 28px !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  color: var(--am-ink) !important;
}

body.am-light .stat-label {
  margin-top: 4px;
  font-size: 13px;
  color: var(--am-muted);
}

/* Filmstrip */
body.am-light .am-film {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 40px;
}

body.am-light .am-film figure {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--am-border);
  background: #dbe3ee;
  aspect-ratio: 4 / 3;
}

body.am-light .am-film img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

body.am-light .am-film figure:hover img { transform: scale(1.04); }

body.am-light .am-film figcaption { display: none; }

/* Cards / sections */
body.am-light .glass-card {
  background: var(--am-card) !important;
  border: 1px solid var(--am-border) !important;
  border-radius: 20px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 32px 28px !important;
  margin: 0 0 56px !important;
  color: var(--am-ink) !important;
  position: relative;
  overflow: hidden;
}

/* No yellow bars / corner glows */
body.am-light .glass-card::before,
body.am-light .glass-card::after,
body.am-light .founder-visual-glow,
body.am-light .am-film {
  display: none !important;
}

body.am-light .glass-card--founder .founder-body--future {
  border: 1px solid var(--am-border) !important;
  border-left: 1px solid var(--am-border) !important;
  background: var(--am-card-soft) !important;
  color: var(--am-muted) !important;
}

body.am-light .am-inline-link {
  color: #0066cc !important;
  font-weight: 510 !important;
  text-decoration: none !important;
}

body.am-light .am-inline-link:hover {
  text-decoration: underline !important;
}

body.am-light .am-stat-icon--svg {
  padding: 6px;
}

body.am-light .am-stat-excavator,
body.am-light .am-stat-icon--svg svg {
  width: 22px;
  height: 22px;
  display: block;
}

body.am-light .hero-badge {
  display: none !important;
}

body.am-light .section-tag {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  color: var(--am-faint) !important;
  margin-bottom: 8px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.am-light .section-tag span {
  background: var(--am-faint) !important;
}

body.am-light .section-title {
  font-family: var(--am-sans) !important;
  font-size: clamp(24px, 2.8vw, 32px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: var(--am-ink) !important;
  margin: 0 0 18px !important;
}

body.am-light .section-title span {
  color: var(--am-ink) !important;
}

body.am-light .about-text p,
body.am-light .mission-intro,
body.am-light .founder-body,
body.am-light .community-hub-lead,
body.am-light .chart-platform-note,
body.am-light .social-footer-note,
body.am-light .social-fund-note,
body.am-light .community-hub-note,
body.am-light .about-app-fund__text,
body.am-light .eco-sphere-cta__hint,
body.am-light .community-hub-gallery-sub,
body.am-light .founder-foot {
  color: var(--am-muted) !important;
  line-height: 1.6 !important;
}

body.am-light .about-fond-link,
body.am-light .social-footer-note a,
body.am-light .social-fund-note a,
body.am-light .contact-map-open-full {
  color: #0066cc !important;
  font-weight: 510;
}

body.am-light .about-page h1,
body.am-light .about-page h2,
body.am-light .about-page h3,
body.am-light .about-page h4,
body.am-light .about-page p,
body.am-light .about-page a,
body.am-light .about-page span,
body.am-light .about-page button,
body.am-light .about-page .stat-label,
body.am-light .about-page .feature-text,
body.am-light .about-page .timeline-content,
body.am-light .about-page .founder-copy {
  font-family: var(--am-sans) !important;
}

/* Header: only STRELA wordmark keeps logo font (Ethnocentric) */
body.am-light .hv2-brand,
body.am-light .hv2-brand-name,
body.am-light .hv2-brand .hv2-lock,
body.am-light .hv2-brand .hv2-lock-a,
body.am-light .hv2-brand .hv2-lock-b,
body.am-light .hv2-brand .hv2-brand-sub:not(.hv2-brand-sub--section) {
  font-family: var(--hv2-brand-font, "Ethnocentric RG", "Outfit", system-ui, sans-serif) !important;
}

body.am-light .hv2-brand-sub--section {
  font-family: var(--am-sans) !important;
  letter-spacing: 0.02em !important;
  font-weight: 600 !important;
}

body.am-light .feature-item,
body.am-light .goal-card,
body.am-light .chart-stat-item,
body.am-light .community-hub-stat,
body.am-light .contact-item,
body.am-light .am-role {
  background: var(--am-card-soft) !important;
  border: 1px solid var(--am-border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  color: var(--am-ink) !important;
}

body.am-light .feature-icon,
body.am-light .goal-icon,
body.am-light .am-role__icon {
  background: rgba(0, 0, 0, 0.04) !important;
  color: var(--am-ink) !important;
  border: 0 !important;
}

body.am-light .goal-number {
  color: var(--am-faint) !important;
  font-family: var(--am-sans) !important;
  font-weight: 600 !important;
}

body.am-light .goal-card h3,
body.am-light .feature-text h4,
body.am-light .am-role h4,
body.am-light .founder-lead,
body.am-light .contact-info h3,
body.am-light .timeline-content h3,
body.am-light .community-hub-gallery-title {
  color: var(--am-ink) !important;
}

body.am-light .goal-card p,
body.am-light .feature-text p,
body.am-light .am-role p,
body.am-light .timeline-content p {
  color: var(--am-muted) !important;
}

/* Roles grid (replaces hub) */
body.am-light .am-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 22px;
}

body.am-light .am-role {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px !important;
  text-align: left;
  width: 100%;
  cursor: pointer;
  font: inherit;
  transition: border-color .15s ease, background .15s ease;
}

body.am-light .am-role.is-on {
  border-color: rgba(15, 23, 42, 0.22) !important;
  background: #fff !important;
}

body.am-light .am-role__more {
  display: none;
  margin: 8px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: var(--am-muted) !important;
}

body.am-light .am-role.is-on .am-role__more {
  display: block;
}

/* Value pillars + benefits + quiet product links */
body.am-light .am-pillars,
body.am-light .am-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

body.am-light .am-pillar,
body.am-light .am-benefit {
  text-align: left;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid var(--am-border);
  background: var(--am-card-soft);
  color: var(--am-ink);
  font: inherit;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

body.am-light .am-benefit {
  cursor: default;
}

body.am-light .am-pillar.is-on,
body.am-light .am-pillar:hover {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.2);
}

body.am-light .am-pillar__n {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--am-faint);
  margin-bottom: 8px;
}

body.am-light .am-pillar h3,
body.am-light .am-benefit h4 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--am-ink) !important;
}

body.am-light .am-pillar p,
body.am-light .am-benefit p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--am-muted) !important;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .25s ease, opacity .2s ease, margin .2s ease;
}

body.am-light .am-pillar.is-on p,
body.am-light .am-benefit p {
  max-height: 120px;
  opacity: 1;
  margin-top: 0;
}

body.am-light .am-pillar:not(.is-on) p {
  max-height: 0;
  opacity: 0;
}

body.am-light .am-benefit__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.04);
  color: var(--am-ink);
  margin-bottom: 12px;
  font-size: 15px;
}

body.am-light .am-benefit .am-inline-link {
  display: inline-flex;
  margin-top: 10px;
  font-size: 13px;
}

body.am-light .am-product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 18px;
}

body.am-light .am-product-links a {
  font-size: 14px;
  font-weight: 510 !important;
  color: var(--am-ink) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.14);
  padding-bottom: 1px;
}

body.am-light .am-product-links a:hover {
  border-bottom-color: var(--am-ink);
}

body.am-light .am-role__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 18px;
}

body.am-light .am-role h4 {
  font-family: var(--am-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}

body.am-light .am-role p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

body.am-light .eco-sphere-cta {
  text-align: center;
  margin-top: 8px;
}

body.am-light .ecosystem-visual,
body.am-light .connection-line,
body.am-light .ecosystem-center,
body.am-light .ecosystem-nodes {
  display: none !important;
}

/* Chart / timeline */
body.am-light .chart-container {
  background: var(--am-card-soft);
  border: 1px solid var(--am-border);
  border-radius: 14px;
  padding: 12px;
}

body.am-light .chart-stat-value,
body.am-light .community-hub-stat__value,
body.am-light .modal-stat-value {
  color: var(--am-ink) !important;
  font-family: var(--am-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
}

body.am-light .chart-stat-label,
body.am-light .community-hub-stat__label,
body.am-light .modal-stat-label {
  color: var(--am-muted) !important;
}

body.am-light .timeline-dot {
  background: var(--am-accent) !important;
  box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.25) !important;
}

body.am-light .timeline-date {
  color: var(--am-faint) !important;
  font-weight: 510 !important;
  letter-spacing: -0.01em;
}

body.am-light .timeline-item::before,
body.am-light .timeline::before {
  background: rgba(15, 23, 42, 0.12) !important;
}

/* Founder */
body.am-light .founder-visual-glow { display: none !important; }

body.am-light .founder-photo-ring {
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12) !important;
}

body.am-light .founder-wa-btn {
  background: #25d366 !important;
  color: #fff !important;
}

/* Community merged */
body.am-light .community-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin: 16px 0;
}

body.am-light .community-hub-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

body.am-light .community-hub-gallery__item {
  border-radius: 14px !important;
  overflow: hidden;
  border: 1px solid var(--am-border);
  background: var(--am-card-soft);
}

body.am-light .socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

body.am-light .strela-brand-socials--aboutme,
body.am-light .strela-brand-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 14px;
}

body.am-light .strela-brand-socials a,
body.am-light .strela-brand-socials__link {
  border-radius: 12px !important;
  border: 1px solid var(--am-border) !important;
  background: var(--am-card-soft) !important;
  color: var(--am-ink) !important;
}

body.am-light .contact-item-text span,
body.am-light .contact-item-text p {
  color: var(--am-muted) !important;
}

body.am-light .contact-item-text a {
  color: var(--am-ink) !important;
  font-weight: 700;
}

body.am-light .aboutme-map-iframe {
  border-radius: 14px !important;
  border: 1px solid var(--am-border) !important;
  background: #fff;
}

body.am-light .footer-cta {
  text-align: center;
  background: var(--am-card) !important;
}

/* Pinterest mosaic: CSS columns + mixed aspect ratios (override aboutme 4/3 grid) */
body.am-light .community-hub-gallery.am-masonry,
body.am-light .am-masonry {
  display: block !important;
  column-count: 3;
  column-gap: 12px;
  margin-top: 10px;
  grid-template-columns: none !important;
  grid-auto-rows: auto !important;
}

body.am-light .am-masonry__item,
body.am-light .community-hub-gallery.am-masonry > .community-hub-gallery__item {
  display: inline-block !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  border-radius: 14px !important;
  overflow: hidden;
  position: relative;
  aspect-ratio: auto !important;
  height: auto !important;
  background: #e8edf3 !important;
}

body.am-light .am-masonry__item img,
body.am-light .community-hub-gallery.am-masonry .community-hub-gallery__item img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: cover !important;
  aspect-ratio: 4 / 5 !important;
  transform-origin: center;
  animation: amKen 14s ease-in-out infinite;
  will-change: transform;
}

body.am-light .community-hub-gallery.am-masonry > .am-masonry__item:nth-child(6n+1) img { aspect-ratio: 3 / 4 !important; animation-duration: 16s; animation-delay: -2s; }
body.am-light .community-hub-gallery.am-masonry > .am-masonry__item:nth-child(6n+2) img { aspect-ratio: 1 / 1 !important; animation-duration: 12s; animation-delay: -5s; }
body.am-light .community-hub-gallery.am-masonry > .am-masonry__item:nth-child(6n+3) img { aspect-ratio: 5 / 4 !important; animation-duration: 15s; animation-delay: -1s; }
body.am-light .community-hub-gallery.am-masonry > .am-masonry__item:nth-child(6n+4) img { aspect-ratio: 2 / 3 !important; animation-duration: 18s; animation-delay: -7s; }
body.am-light .community-hub-gallery.am-masonry > .am-masonry__item:nth-child(6n+5) img { aspect-ratio: 4 / 3 !important; animation-duration: 13s; animation-delay: -3s; }
body.am-light .community-hub-gallery.am-masonry > .am-masonry__item:nth-child(6n) img { aspect-ratio: 5 / 6 !important; animation-duration: 17s; animation-delay: -9s; }

body.am-light .community-hub-gallery.am-masonry > .am-masonry__item--tall img { aspect-ratio: 2 / 3 !important; }
body.am-light .community-hub-gallery.am-masonry > .am-masonry__item--wide img { aspect-ratio: 16 / 11 !important; }

body.am-light .am-masonry__item:hover img {
  animation-play-state: paused;
  transform: scale(1.05);
  transition: transform .35s ease;
}

@keyframes amKen {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); }
  50% { transform: scale(1.07) translate3d(0, -1.5%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  body.am-light .am-masonry__item img {
    animation: none !important;
  }
}

/* Site footer: socials + cities + soft contact once */
body.am-light .am-site-foot {
  margin: 8px 0 96px;
  padding: 28px 8px 12px;
  border-top: 1px solid var(--am-border);
}

body.am-light .am-site-foot__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 28px 24px;
}

body.am-light .am-site-foot__label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--am-faint);
}

body.am-light .am-site-foot__soft {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--am-muted);
}

body.am-light .am-site-foot__soft a {
  color: var(--am-ink) !important;
  font-weight: 510 !important;
  text-decoration: none;
}

body.am-light .am-site-foot__soft a:hover {
  text-decoration: underline;
}

body.am-light .strela-brand-socials--aboutme-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

body.am-light .strela-brand-socials--aboutme-foot a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px !important;
  border: 1px solid var(--am-border) !important;
  background: var(--am-card) !important;
  color: var(--am-ink) !important;
  font-size: 16px;
}

body.am-light .am-site-foot__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

body.am-light .am-site-foot__cities a {
  font-size: 13px;
  color: var(--am-muted) !important;
  text-decoration: none;
  font-weight: 500 !important;
}

body.am-light .am-site-foot__cities a:hover {
  color: var(--am-ink) !important;
  text-decoration: underline;
}

@media (max-width: 900px) {
  body.am-light .am-site-foot__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  body.am-light .am-pillars,
  body.am-light .am-benefits {
    grid-template-columns: 1fr;
  }

  body.am-light .am-masonry,
  body.am-light .community-hub-gallery.am-masonry {
    column-count: 2;
  }
}

@media (max-width: 560px) {
  body.am-light .am-masonry,
  body.am-light .community-hub-gallery.am-masonry {
    column-count: 2;
    column-gap: 8px;
  }

  body.am-light .am-masonry__item {
    margin-bottom: 8px !important;
  }
}

body.am-light .footer-cta h2 {
  font-family: var(--am-sans) !important;
  font-size: clamp(26px, 3.4vw, 36px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: var(--am-ink) !important;
}

body.am-light .footer-cta p {
  color: var(--am-muted) !important;
}

body.am-light .chart-modal-content {
  background: var(--am-card) !important;
  color: var(--am-ink) !important;
  border: 1px solid var(--am-border);
}

/* Mobile */
@media (max-width: 900px) {
  body.am-light .am-hero {
    min-height: min(78vh, 680px);
  }

  body.am-light .am-hero__inner {
    width: calc(100% - 28px);
    margin-left: 14px;
    padding: 28px 0 36px;
  }

  body.am-light .stats-section {
    grid-template-columns: 1fr 1fr !important;
  }

  body.am-light .am-film {
    grid-template-columns: 1fr 1fr;
  }

  body.am-light .am-roles {
    grid-template-columns: 1fr;
  }

  body.am-light .community-hub-stats {
    grid-template-columns: 1fr;
  }

  body.am-light .glass-card {
    padding: 22px 16px !important;
    margin-bottom: 18px !important;
  }

  body.am-light .about-page {
    width: calc(100% - 20px);
  }
}

@media (max-width: 560px) {
  body.am-light .am-film {
    grid-template-columns: 1fr;
  }

  body.am-light .hero-cta {
    width: 100%;
  }

  body.am-light .hero-cta a,
  body.am-light .footer-cta .btn-primary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.am-light .am-hero__slide,
  body.am-light .am-film img {
    transition: none !important;
  }
}
