:root {
  --bg: #ffffff;
  --text: #121417;
  --muted: #5e6269;
  --line: #e2e4e8;
  --dark: #080a0c;
  --dark-2: #111418;
  --yellow: #ffc400;
  --yellow-2: #f3a900;
  --max: 1030px;
  --shadow: 0 12px 34px rgba(14, 18, 24, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 96px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; transform: translateY(-150%); padding: 10px 14px; border-radius: 6px; background: var(--yellow); color: #000; font-weight: 700; }
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 50;
  height: 57px;
  background: #050607;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.header-inner { height: 100%; display: grid; grid-template-columns: 220px 1fr 258px; gap: 26px; align-items: center; }
.brand { display: inline-flex; width: 205px; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 31px; }
.main-nav a { color: #f4f4f4; font-size: 12px; font-weight: 800; letter-spacing: .03em; white-space: nowrap; transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--yellow); }
.header-search { height: 32px; border: 1px solid #575b61; display: flex; align-items: center; background: rgba(255,255,255,.015); }
.header-search input { min-width: 0; width: 100%; height: 100%; padding: 0 12px; border: 0; outline: 0; background: transparent; color: #fff; font-size: 12px; }
.header-search input::placeholder { color: #9b9da1; }
.header-search button { width: 39px; height: 100%; border: 0; background: transparent; color: #fff; display: grid; place-items: center; }
.header-search svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-button { display: none; width: 42px; height: 40px; border: 1px solid #333; background: #111; padding: 9px; }
.menu-button span { display: block; height: 2px; margin: 4px 0; background: #fff; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 326px;
  overflow: hidden;
  color: #fff;
  background: #090c0f;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 38% 30%, rgba(52, 61, 70, .25), transparent 38%),
    linear-gradient(90deg, #090c0f 0%, #090c0f 42%, rgba(9,12,15,.93) 54%, rgba(9,12,15,.2) 80%, rgba(9,12,15,.16));
}
.hero-art {
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  width: 63%;
  height: 100%;
  background: url("assets/hero-car.webp") right center / cover no-repeat;
  filter: saturate(.9) contrast(1.05);
}
.hero-content { position: relative; padding-top: 31px; padding-bottom: 29px; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; margin-bottom: 22px; font-size: 12px; color: #dfe0e1; }
.breadcrumbs a { color: var(--yellow); }
.hero h1 { max-width: 540px; margin: 0; font-size: clamp(35px, 4vw, 45px); line-height: 1.05; letter-spacing: -.035em; }
.title-rule, .section-rule { width: 42px; height: 3px; margin-top: 12px; background: var(--yellow); }
.hero-lead { max-width: 520px; margin: 21px 0 5px; font-weight: 700; }
.hero-copy { max-width: 570px; margin: 0; font-weight: 600; line-height: 1.85; }
.hero-values { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 38px; max-width: 670px; margin-top: 23px; }
.value-item { display: grid; grid-template-columns: 31px 1fr; gap: 12px; align-items: start; }
.value-icon { display: grid; place-items: center; color: var(--yellow); }
.value-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.value-item h2 { margin: 0 0 3px; font-size: 13px; }
.value-item p { margin: 0; color: #d4d6d9; font-size: 11px; line-height: 1.65; }

.section { padding: 35px 0; }
.section-title { margin: 0; font-size: 27px; line-height: 1.2; letter-spacing: -.025em; }
.mission-section { background: #fff; }
.mission-grid { display: grid; grid-template-columns: 294px 1fr; gap: 30px; align-items: center; }
.mission-photo-wrap { width: 294px; height: 253px; border-radius: 8px; overflow: hidden; background: #ddd; }
.mission-photo { width: 100%; height: 100%; object-fit: cover; }
.mission-content > p { max-width: 660px; margin: 17px 0 30px; color: #3f4247; line-height: 1.8; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.stat { min-width: 0; }
.stat svg { width: 34px; height: 34px; margin-bottom: 7px; fill: none; stroke: var(--yellow-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stat strong { display: block; font-size: 27px; line-height: 1.15; }
.stat span { display: block; margin-top: 5px; color: #3f4247; font-size: 12px; }

.authors-section { padding-top: 24px; background: linear-gradient(180deg, #f8f8f9, #fff 80%); }
.authors-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 14px; }
.author-card { min-width: 0; padding: 10px 10px 14px; border: 1px solid #e8e9eb; border-radius: 8px; background: #fff; text-align: center; box-shadow: 0 3px 11px rgba(0,0,0,.025); transition: transform .2s ease, box-shadow .2s ease; }
.author-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.author-image-link { display: block; width: 107px; height: 107px; margin: 0 auto 8px; border-radius: 50%; overflow: hidden; background: #e7e8e9; }
.author-card img { width: 100%; height: 100%; object-fit: cover; }
.author-card h3 { margin: 2px 0 0; font-size: 17px; }
.author-card > strong { display: block; min-height: 38px; margin-top: 2px; color: #f0a500; font-size: 12px; line-height: 1.35; }
.author-card > p { min-height: 58px; margin: 5px 0 8px; color: #414449; font-size: 11px; line-height: 1.65; }
.socials { display: flex; justify-content: center; gap: 14px; }
.socials a { width: 22px; height: 22px; border-radius: 50%; background: #f2f3f4; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.socials a:hover, .socials a:focus-visible { color: #000; background: var(--yellow); }

.community-cta { position: relative; display: grid; grid-template-columns: 48px 1fr 225px 134px; gap: 15px; align-items: center; margin-top: 24px; padding: 17px 19px; color: #fff; background: linear-gradient(115deg, #090b0d, #171a1e); border-radius: 8px; }
.cta-icon { display: grid; place-items: center; color: var(--yellow); }
.cta-icon svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.cta-copy h2 { margin: 0 0 2px; font-size: 16px; }
.cta-copy p { margin: 0; max-width: 520px; color: #d5d7da; font-size: 11px; line-height: 1.55; }
.community-cta input, .footer-newsletter input { min-width: 0; height: 34px; padding: 0 12px; border: 1px solid #50545a; outline: 0; color: #fff; background: rgba(255,255,255,.03); }
.community-cta input:focus, .footer-newsletter input:focus { border-color: var(--yellow); }
.community-cta button, .footer-newsletter button { height: 34px; border: 0; color: #070707; background: linear-gradient(90deg, #ffb700, #ffce14); font-weight: 800; }
.form-status { position: absolute; left: 82px; bottom: 1px; margin: 0; color: #ffe084; font-size: 10px; }

.site-footer { padding: 22px 0 14px; color: #d7d9dc; background: linear-gradient(135deg, #111418, #07090b); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .72fr .9fr .9fr 1.18fr; gap: 43px; align-items: start; }
.footer-about img { width: 177px; }
.footer-about p, .footer-newsletter p { margin: 10px 0 14px; color: #aeb2b7; font-size: 11px; line-height: 1.7; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 29px; height: 29px; border: 1px solid #4e5257; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 12px; }
.footer-col { display: flex; flex-direction: column; gap: 7px; }
.footer-col h2, .footer-newsletter h2 { margin: 0 0 5px; color: #fff; font-size: 13px; }
.footer-col a { color: #d4d6d8; font-size: 11px; }
.footer-col a:hover, .footer-col a.active { color: var(--yellow); }
.footer-newsletter { position: relative; }
.footer-newsletter input, .footer-newsletter button { width: 100%; }
.footer-newsletter button { margin-top: 5px; }
.footer-newsletter .form-status { position: static; margin-top: 5px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #363a3f; color: #9fa3a8; font-size: 10px; }
.footer-bottom p { margin: 0; }
.footer-bottom span { color: var(--yellow); }

@media (max-width: 980px) {
  .container { width: min(calc(100% - 42px), var(--max)); }
  .header-inner { grid-template-columns: 185px 1fr auto; gap: 16px; }
  .main-nav { gap: 17px; }
  .header-search { width: 42px; border-color: transparent; }
  .header-search input { display: none; }
  .hero-art { width: 72%; opacity: .7; }
  .hero-values { gap: 22px; }
  .mission-grid { grid-template-columns: 250px 1fr; }
  .mission-photo-wrap { width: 250px; height: 235px; }
  .authors-grid { grid-template-columns: repeat(3, 1fr); }
  .community-cta { grid-template-columns: 44px 1fr 210px 125px; }
  .footer-grid { grid-template-columns: 1.3fr repeat(3,1fr); }
  .footer-newsletter { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 260px 160px; gap: 12px; align-items: end; }
  .footer-newsletter h2, .footer-newsletter p { grid-column: 1; }
  .footer-newsletter p { margin-bottom: 0; }
  .footer-newsletter input { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
  .footer-newsletter button { grid-column: 3; grid-row: 1 / span 2; align-self: end; margin: 0; }
}

@media (max-width: 760px) {
  body { font-size: 14px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header { height: 61px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand { width: 185px; }
  .menu-button { display: block; }
  .main-nav {
    position: absolute;
    top: 61px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 14px 15px;
    background: #07090b;
    border-top: 1px solid #24272b;
    box-shadow: 0 15px 24px rgba(0,0,0,.28);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px; border-bottom: 1px solid #24272b; }
  .header-search { display: none; }
  .hero { min-height: 0; }
  .hero-art { width: 100%; opacity: .48; background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, #090c0f 0%, rgba(9,12,15,.94) 65%, rgba(9,12,15,.66)); }
  .hero-content { padding-top: 25px; padding-bottom: 28px; }
  .breadcrumbs { margin-bottom: 17px; }
  .hero h1 { font-size: 36px; }
  .hero-lead, .hero-copy { max-width: 92%; }
  .hero-values { grid-template-columns: 1fr; gap: 14px; max-width: 460px; }
  .value-item { grid-template-columns: 28px 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-photo-wrap { width: 100%; height: min(67vw, 350px); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .authors-grid { grid-template-columns: repeat(2, 1fr); }
  .community-cta { grid-template-columns: 43px 1fr; }
  .community-cta input, .community-cta button { grid-column: 1 / -1; width: 100%; }
  .form-status { position: static; grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 27px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-newsletter { grid-column: 1 / -1; display: block; }
  .footer-newsletter input, .footer-newsletter button { width: 100%; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 470px) {
  .hero h1 { font-size: 32px; }
  .section-title { font-size: 24px; }
  .authors-grid { grid-template-columns: 1fr; }
  .author-card { padding-inline: 18px; }
  .author-card > p { min-height: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-about, .footer-newsletter { grid-column: auto; }
}
