/* =========================================================
   WORK IN PROGRESS — дополняет styles.css (токены и база оттуда)
   Раскладка: те же листы со скруглением на светлом фоне,
   акцент страницы — «индикатор готовности» как у пилюли в шапке.
   ========================================================= */

/* ---------- HERO ---------- */
.wip-hero {
  container-type: inline-size;
  position: relative; overflow: hidden;
  margin-top: 5px;
  display: flex; flex-direction: column; gap: 40px;
  padding: 32px 32px 36px;
  border-radius: var(--r-xl);
  background: var(--black); color: #fff;
}
.wip-hero__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.wip-hero__status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 30px; background: #1b1a22;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: -.02em; text-transform: uppercase;
}
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(234, 254, 32, .6); animation: rec 1.6s ease-out infinite; }
@keyframes rec { 70% { box-shadow: 0 0 0 9px rgba(234, 254, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(234, 254, 32, 0); } }

.wip-hero__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: 15.6cqw; line-height: .86; letter-spacing: -.075em;
  margin-left: -.06em;
}
.wip-hero__bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 48px; align-items: end; }
.wip-hero__lead { max-width: 420px; font-family: var(--f-display); font-size: clamp(18px, 1.53vw, 22px); line-height: 1.3; letter-spacing: -.026em; color: rgba(255, 255, 255, .7); }

.build { display: flex; flex-direction: column; gap: 12px; }
.build__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: -.02em; text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
.build__pct { font-family: var(--f-ui); font-weight: 600; font-size: clamp(36px, 4vw, 58px); line-height: 1; letter-spacing: -.06em; color: #fff; font-variant-numeric: tabular-nums; }
.build__bar { position: relative; height: 14px; border-radius: 20px; background: #26252d; overflow: hidden; }
.build__fill {
  position: absolute; inset: 0 auto 0 0; width: 72%; border-radius: inherit;
  background: repeating-linear-gradient(-45deg, var(--lime) 0 10px, #d6ea10 10px 20px);
  background-size: 28.28px 100%;
  transform-origin: left; animation: fill-in 1.6s var(--ease) both, stripes 1.2s linear infinite;
}
@keyframes fill-in { from { transform: scaleX(0); } }
@keyframes stripes { to { background-position: 28.28px 0; } }
.build__ticks {
  display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none;
  font-family: var(--f-mono); font-size: 11.2px; letter-spacing: -.02em; text-transform: uppercase; color: rgba(255, 255, 255, .45);
}
.build__ticks li:nth-child(-n+3) { color: rgba(255, 255, 255, .8); }
.build__ticks li:nth-child(4) { color: var(--lime); }

/* ---------- ПОДХОД ---------- */
.approach { display: grid; grid-template-columns: minmax(0, 627fr) minmax(0, 697fr); gap: 68px; align-items: start; }
.approach__text { display: flex; flex-direction: column; gap: 20px; }
.approach__note { font-size: 16px; line-height: 1.4; letter-spacing: -.03em; color: var(--muted); max-width: 560px; }
.approach__list { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.approach__list li { position: relative; padding: 14px 18px 14px 40px; border-radius: 14px; background: var(--surface); font-size: 15.5px; line-height: 1.4; letter-spacing: -.025em; color: var(--ink); }
.approach__list li::before { content: ""; position: absolute; left: 18px; top: 1.32em; width: 10px; height: 2px; border-radius: 2px; background: var(--pink); }

/* ---------- ЭТАПЫ ---------- */
.steps-wrap { margin-top: 50px; }
.steps { padding: 50px 31px 31px; border-radius: var(--r-lg); background: var(--surface); }
.steps__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.steps__meta { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: -.02em; color: var(--muted); }
.steps__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 0; padding: 0; list-style: none; }
.step {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  min-height: 260px; padding: 24px; border-radius: var(--r-md); background: var(--tile);
  transition: background-color .3s, transform .4s var(--ease);
}
.step:hover { transform: translateY(-3px); }
.step__num { font-family: var(--f-mono); font-size: 11.2px; color: var(--muted); }
.step__title { margin: auto 0 0; font-family: var(--f-ui); font-weight: 600; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.1; letter-spacing: -.05em; }
.step__text { font-size: 14px; line-height: 1.4; letter-spacing: -.03em; color: var(--ink-2); }
.step__line { position: relative; display: block; height: 4px; margin-top: 8px; border-radius: 4px; background: #e4e4e4; overflow: hidden; }
.step__line::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--ink); border-radius: inherit; }
.step--active { background: var(--lime); }
.step--active .step__num, .step--active .step__text { color: rgba(0, 0, 0, .65); }
.step--active .step__line { background: rgba(0, 0, 0, .12); }

/* ---------- ГАЛЕРЕЯ ---------- */
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery__titles { display: flex; flex-direction: column; gap: 24px; }
.gallery__count { font-family: var(--f-mono); font-size: 14.4px; text-transform: uppercase; letter-spacing: -.02em; color: var(--muted); font-variant-numeric: tabular-nums; }
.gallery__more { margin-top: 36px; }

/* ---------- СВЕЖЕЕ ---------- */
.fresh { padding: 50px 0 50px 36px; border-radius: var(--r-lg); background: #000; color: #fff; overflow: hidden; }
.fresh__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-right: 36px; margin-bottom: 40px; }
.fresh__title { margin-top: 24px; }
.fresh__nav { display: flex; gap: 8px; }
.fresh__arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); color: #fff; font-size: 18px;
  transition: background-color .25s, color .25s;
}
.fresh__arrow:hover { background: #fff; color: #000; }
.fresh__track {
  display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory; padding-right: 36px;
  scrollbar-width: none;
}
.fresh__track::-webkit-scrollbar { display: none; }
.fresh__item { flex: 0 0 clamp(240px, 28vw, 400px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 4px; }
.fresh__img { aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; background: #1b1a22; cursor: zoom-in; }
.fresh__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.fresh__item:hover .fresh__img img { transform: scale(1.04); }
.fresh__meta {
  display: flex; justify-content: space-between; padding: 14px 18px; border-radius: var(--r-md); background: #141319;
  font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: -.02em; color: rgba(255, 255, 255, .7);
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1100px) {
  .steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .wip-hero__bottom { grid-template-columns: 1fr; gap: 32px; }
  .approach { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .wip-hero { padding: 20px 20px 24px; gap: 28px; }
  .wip-hero__title { font-size: 21cqw; }
  .build__ticks { font-size: 9px; }
  .build__ticks li:not(:nth-child(4)) { visibility: hidden; }
  .steps { padding: 32px 16px 16px; }
  .steps__list { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step__title { margin-top: 12px; }
  .fresh { padding: 32px 0 32px 16px; }
  .fresh__head { padding-right: 16px; }
  .fresh__nav { display: none; }
  .fresh__track { padding-right: 16px; }
  .fresh__item { flex-basis: 72vw; }
}
