/* ============================================================
   Layout — структура, секции, компоненты
   ============================================================ */

body {
  background: var(--bg);
  overflow-x: hidden;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

/* ---- Подпись секции (мета-индекс) ---- */
.section-tag {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.section-tag::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid);
}
.section-tag .bar {
  flex: 1; height: 1px;
  background: var(--line-bright);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--gutter);
  mix-blend-mode: difference;
  color: #fff;
  transition: transform 0.45s var(--ease);
}
.nav--hidden { transform: translateY(-110%); }
.nav__brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav__brand sup { color: var(--acid); font-size: 0.6em; }
.nav__links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.8rem);
}
.nav__links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.nav__cart {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
}
@media (max-width: 760px) {
  .nav__links { display: none; }
}

/* ============================================================
   TICKER — бегущая строка
   ============================================================ */
.ticker {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  z-index: var(--z-nav);
  background: var(--acid);
  color: var(--bg);
  border-top: 1px solid var(--bg);
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  gap: 3rem;
  padding-block: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: ticker 28s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span::after { content: "✦"; margin-left: 3rem; opacity: 0.5; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(5rem, 11vh, 8rem);
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
  overflow: hidden;
}
/* ---- Фото-обложка на весь экран (как в Tilda) ---- */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: grayscale(1) contrast(1.05) brightness(0.82);
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(8,9,10,0.72) 0%,
      rgba(8,9,10,0.12) 26%,
      rgba(8,9,10,0.35) 62%,
      rgba(8,9,10,0.92) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
/* нижний блок: текст не перекрывает кадр, живёт в нижней трети */
.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
}
.hero__headline { max-width: 60ch; }
.hero__kicker { display: block; margin-bottom: 1rem; }
.hero__title {
  font-size: clamp(2.6rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero__title em {
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
}
.hero__sub-text {
  margin-top: 1.2rem;
  max-width: 44ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.scroll-cue .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--acid);
  animation: pulse 1.6s var(--ease-in-out) infinite;
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto__text {
  font-size: clamp(1.5rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.manifesto__text b { color: var(--acid); font-weight: 500; }
.manifesto__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(3rem, 7vw, 5rem);
}
.spec {
  background: var(--bg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 200px;
  transition: background var(--dur-fast) var(--ease);
}
.spec:hover { background: var(--bg-elevated); }
.spec__num { color: var(--acid); }
.spec__title { margin-top: auto; }
.spec__desc { color: var(--ink-dim); font-size: 0.92rem; }

/* ============================================================
   COLLECTION — product grid
   ============================================================ */
.collection__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.grid-products {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
}
.product {
  position: relative;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
}
.product--wide { grid-column: span 6; }
.product--tall { grid-column: span 4; }
.product--half { grid-column: span 6; }
.product--half .product__media { aspect-ratio: 4 / 5; }
@media (max-width: 900px) {
  .product, .product--wide, .product--tall, .product--half { grid-column: span 6; }
}
@media (max-width: 560px) {
  .product, .product--wide, .product--tall, .product--half { grid-column: span 12; }
}
.product__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.product--wide .product__media { aspect-ratio: 16 / 11; }
/* ---- СЛОТ ПОД ФОТО ----
   Просто впиши src в <img> внутри .photo-slot — фото закроет подсказку.
   Рекомендуемое соотношение указано в подсказке. Ч/б: фото обесцвечивается. */
.photo-slot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg-elevated);
  overflow: hidden;
}
.photo-slot img {
  position: absolute;
  inset: 0;
  z-index: 2;                              /* фото перекрывает подсказку и рамку */
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);   /* держим ч/б */
  transition: transform 0.9s var(--ease), filter var(--dur-fast) var(--ease);
}
.product:hover .photo-slot img { transform: scale(1.06); filter: grayscale(1) contrast(1.15); }
/* пока src пустой — не показываем «битую» иконку, видна подсказка */
.photo-slot img:not([src]),
.photo-slot img[src=""] { display: none; }
.photo-slot__frame {
  position: absolute;
  inset: 0.7rem;
  border: 1px dashed var(--line-bright);
  pointer-events: none;
  z-index: 1;
}
.photo-slot__hint {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-faint);
  text-align: center;
  padding: 1rem;
}
.photo-slot__hint .plus {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--ink-dim);
}
.product__code {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  z-index: 4;
}
.product__tag {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  z-index: 4;
  background: var(--warn);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
}
.product__tag--soon { background: var(--cyan); }
.product__scan {
  position: absolute;
  inset: 0; z-index: 3;
  background: linear-gradient(transparent, rgba(255,255,255,0.22), transparent);
  height: 40%;
  transform: translateY(-120%);
  pointer-events: none;
}
.product:hover .product__scan { animation: scan 1.4s var(--ease-in-out) infinite; }
.product__add {
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.9rem;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line-bright);
  padding: 0.7rem 0.9rem;
  transform: translateY(calc(100% + 1.1rem));
  opacity: 0;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.product:hover .product__add { transform: translateY(0); opacity: 1; }
@media (hover: none) {
  .product__add { transform: translateY(0); opacity: 1; }
}
.product__add span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.product__add .plus { color: var(--acid); font-size: 1.1rem; }
.product__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 0.9rem;
}
.product__name { font-weight: 600; letter-spacing: -0.01em; }
.product__price { display: flex; align-items: baseline; gap: 0.55rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--ink); white-space: nowrap; }
.product__old { color: var(--ink-faint); text-decoration: line-through; font-size: 0.72rem; }
.product__sizes { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; color: var(--ink-dim); padding-top: 0.5rem; }
.product__sizes b { color: var(--ink); font-weight: 400; }

/* ============================================================
   COMBO — наборы
   ============================================================ */
.countdown--sm { margin-top: 0; gap: clamp(0.8rem, 2vw, 1.5rem); }
.countdown--sm .count__num { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }

.grid-combos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
@media (max-width: 900px) { .grid-combos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .grid-combos { grid-template-columns: 1fr; } }

.combo-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.combo-card:hover { border-color: var(--line-bright); transform: translateY(-3px); }

.combo-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.combo-card__badge {
  position: absolute;
  top: 0.8rem; right: 0.8rem;
  z-index: 2;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.55rem;
}
.combo-card__pair {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.combo-card__pair img {
  width: 50%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform var(--dur) var(--ease);
}
.combo-card:hover .combo-card__pair img { transform: scale(1.05); }
.combo-card__plus {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--bg);
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--ink);
}

.combo-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  flex: 1;
}
.combo-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}
.combo-card__desc { color: var(--ink-dim); font-size: 0.86rem; line-height: 1.45; }
.combo-card__foot {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.combo-card__price { font-family: var(--font-mono); font-size: 0.95rem; }
.combo-card__price .product__old { font-size: 0.78rem; margin-left: 0.4rem; }
.combo-card__add { width: 100%; text-align: center; }
.combo-card__add span { display: block; }

/* ============================================================
   DROP — следующий релиз
   ============================================================ */
.drop {
  background: var(--bg-deep);
  border-block: 1px solid var(--line);
}
.drop__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
@media (max-width: 820px) { .drop__inner { grid-template-columns: 1fr; } }
.countdown {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-top: 2rem;
}
.count__unit { display: flex; flex-direction: column; gap: 0.4rem; }
.count__num {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.count__label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); }
.drop__visual {
  aspect-ratio: 1;
  border: 1px solid var(--line-bright);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(255,255,255,0.08), transparent 70%),
    var(--bg-elevated);
}
.drop__visual .glyph {
  font-size: clamp(6rem, 22vw, 16rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 0.8;
  text-shadow: 0 0 60px rgba(255,255,255,0.18);
}

/* ============================================================
   NEWSLETTER / CTA
   ============================================================ */
.signup__inner { text-align: center; }
.field {
  display: flex;
  max-width: 560px;
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  border: 1px solid var(--line-bright);
  transition: border-color var(--dur-fast) var(--ease);
}
.field:focus-within { border-color: var(--acid); }
.field input {
  flex: 1;
  padding: 1.1rem 1.3rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.field input::placeholder { color: var(--ink-faint); }
.btn {
  position: relative;
  padding: 1.1rem 1.8rem;
  background: var(--acid);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  overflow: hidden;
  transition: color var(--dur-fast) var(--ease);
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--cyan);
  transform: translateY(101%);
  transition: transform var(--dur-fast) var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn span { position: relative; z-index: 1; }
/* контурная кнопка (вторичный CTA) */
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.45);
}
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); }
.btn--ghost:hover { border-color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: 4rem; /* место под ticker */
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .footer__top { grid-template-columns: 1fr 1fr; } }
.footer__brand { font-size: clamp(2.5rem, 9vw, 6rem); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em; line-height: 0.85; }
.footer__brand sup { color: var(--acid); font-size: 0.4em; }
.footer__col h4 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1.2rem; }
.footer__col a { display: block; padding: 0.3rem 0; color: var(--ink-dim); transition: color var(--dur-fast) var(--ease); }
.footer__col a:hover { color: var(--acid); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
}
