:root {
  --asphalt: #141414;
  --ink: #1c1c1c;
  --mute: #6a6a6a;
  --dust: #cfcbc4;
  --slab: #e8e4dc;
  --paper: #f2efe8;
  --signal: #d95a1a;
  --signal-deep: #b44712;
  --white: #fff;
  --display: "Yanone Kaffeesatz", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

body.lock { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }

.skip {
  position: fixed;
  z-index: 200;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  color: var(--white);
  background: var(--asphalt);
  transform: translateY(-140%);
}
.skip:focus { transform: none; }

/* —— floating header over photo —— */

.top {
  position: fixed;
  z-index: 60;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 16px clamp(16px, 3vw, 40px);
  color: var(--white);
  transition: background .25s, color .25s, box-shadow .25s;
}

.top.solid {
  color: var(--ink);
  background: rgba(242, 239, 232, .94);
  box-shadow: 0 1px 0 var(--dust);
  backdrop-filter: blur(10px);
}

.logo img {
  width: 168px;
  filter: brightness(0) invert(1);
  transition: filter .25s;
}

.top.solid .logo img { filter: none; }

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
}

.nav a {
  font-size: 14px;
  font-weight: 600;
  opacity: .92;
}

.nav a:hover { color: var(--signal); opacity: 1; }
.top.solid .nav a:hover { color: var(--signal-deep); }

.tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}

.cab {
  padding: 8px 12px;
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
}

.cab:hover {
  color: var(--white);
  background: var(--signal);
  border-color: var(--signal);
}

.burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.burger i {
  display: block;
  height: 2px;
  background: currentColor;
}

.drawer {
  position: fixed;
  z-index: 55;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 100px 28px 40px;
  background: var(--asphalt);
  color: var(--white);
}

.drawer a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-family: var(--display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: .01em;
}

/* —— Hero: photo full, hard slab bottom (не плашка-карточка) —— */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--asphalt);
}

.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
  filter: saturate(.85) contrast(1.05);
}

.hero-slab {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 36px clamp(16px, 3vw, 40px) 44px;
  color: var(--white);
  background: var(--asphalt);
  border-top: 4px solid var(--signal);
}

.brand {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(42px, 8vw, 84px);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: .9;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 18ch;
  margin: 0 0 14px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.25;
}

.lead {
  max-width: 48ch;
  margin: 0 0 22px;
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.5;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  color: var(--white);
  background: var(--signal);
  font-size: 14px;
  font-weight: 700;
}

.btn:hover { background: var(--signal-deep); }

.btn.solid {
  background: var(--asphalt);
}

.btn.solid:hover { background: var(--signal); }

.link {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.45);
  padding-bottom: 2px;
}

.link:hover { border-color: var(--signal); color: var(--signal); }

.link.dark {
  color: var(--ink);
  border-color: var(--dust);
}

.link.dark:hover {
  color: var(--signal-deep);
  border-color: var(--signal);
}

/* —— Filmstrip audiences —— */

.who {
  padding: 56px 0 20px;
  background: var(--slab);
}

.who-head {
  padding: 0 clamp(16px, 3vw, 40px) 22px;
}

.who-head h2,
.reg-head h2,
.floor-news h2,
.floor-call h2 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  text-transform: uppercase;
}

.who-head p {
  margin: 0;
  color: var(--mute);
  font-size: 15px;
}

.tape {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--dust);
  border-bottom: 1px solid var(--dust);
}

.tape::-webkit-scrollbar { height: 0; }

.door {
  position: relative;
  flex: 0 0 min(72vw, 420px);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 28px 24px;
  color: var(--white);
  scroll-snap-align: start;
  background:
    linear-gradient(180deg, transparent 20%, rgba(20,20,20,.92) 100%),
    var(--shot) center / cover;
  border-right: 1px solid rgba(255,255,255,.18);
  transition: filter .25s;
}

.door:hover { filter: saturate(1.1) brightness(1.05); }

.door-plain {
  background:
    linear-gradient(160deg, #2a2a2a 0%, #141414 60%, #3a220f 100%);
}

.door-kk {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.65);
}

.door strong {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1;
}

.door em {
  font-style: normal;
  font-size: 14px;
  color: rgba(255,255,255,.75);
}

/* —— Registry with dotted leaders —— */

.reg {
  padding: 64px clamp(16px, 3vw, 40px);
}

.reg-wrap { max-width: 980px; }

.reg-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}

.reg-head a {
  color: var(--signal-deep);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.reg-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.reg-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--dust);
}

.reg-list a:hover .reg-name { color: var(--signal-deep); }

.reg-name {
  flex: 0 1 auto;
  font-size: 18px;
  font-weight: 600;
}

.reg-dots {
  flex: 1 1 auto;
  min-width: 24px;
  height: 1em;
  background: radial-gradient(circle, var(--mute) 1px, transparent 1.5px) 0 70% / 6px 6px repeat-x;
  opacity: .45;
}

.reg-meta {
  flex: 0 0 auto;
  color: var(--mute);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* —— Marquee figures —— */

.meter {
  overflow: hidden;
  padding: 28px 0;
  color: var(--white);
  background: var(--asphalt);
  border-top: 4px solid var(--signal);
}

.meter-track {
  display: flex;
  width: max-content;
  animation: crawl 28s linear infinite;
}

.meter-group {
  display: flex;
  gap: 56px;
  padding-right: 56px;
  white-space: nowrap;
}

.meter-group span {
  font-size: 18px;
  color: rgba(255,255,255,.7);
}

.meter-group b {
  margin-right: 8px;
  color: var(--white);
  font-family: var(--display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: .02em;
}

@keyframes crawl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .meter-track { animation: none; }
}

/* —— News + contact floor —— */

.floor {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 0;
  border-top: 1px solid var(--dust);
}

.floor-news,
.floor-call {
  padding: 48px clamp(16px, 3vw, 40px);
}

.floor-news { border-right: 1px solid var(--dust); }

.floor-news ol {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.floor-news li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--dust);
}

.floor-news time {
  color: var(--signal-deep);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
}

.floor-news a {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.floor-news a:hover { color: var(--signal-deep); }

.more {
  display: inline-block;
  margin-top: 8px;
  color: var(--signal-deep);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.floor-call {
  background: var(--slab);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.floor-call p {
  margin: 0 0 8px;
  color: var(--mute);
  font-size: 15px;
}

/* —— Footer —— */

.foot {
  padding: 40px clamp(16px, 3vw, 40px) 24px;
  background: var(--asphalt);
  color: rgba(255,255,255,.78);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.foot img {
  width: 150px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.foot p {
  margin: 0;
  max-width: 28ch;
  font-size: 13px;
  line-height: 1.5;
}

.foot h3 {
  margin: 0 0 12px;
  color: var(--signal);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.foot-grid > div {
  display: grid;
  gap: 8px;
  align-content: start;
}

.foot a {
  font-size: 14px;
}

.foot a:hover { color: var(--signal); }

.foot-end {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

/* —— Responsive —— */

@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .top { grid-template-columns: 1fr auto; }
  .floor { grid-template-columns: 1fr; }
  .floor-news { border-right: 0; border-bottom: 1px solid var(--dust); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .brand { font-size: clamp(36px, 12vw, 56px); }
  .door { flex-basis: 85vw; min-height: 240px; }
  .door strong { font-size: 34px; }
  .reg-list a { flex-wrap: wrap; }
  .reg-dots { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-end { flex-direction: column; }
}
