/* ===== 32 МАЯ (Евгений) — theme & bespoke ===== */
:root {
  --bg: #2b2b2b;
  --bg-alt: #232323;
  --fg: #f4f3ee;
  --muted: #a6a49c;
  --accent: #f2e422;          /* yellow */
  --accent-2: #1c1c1c;
  --border: rgba(244, 243, 238, 0.14);
  --card: #333333;
  --font-head: "Rubik", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --shadow: 0 30px 70px -30px rgba(0,0,0,0.7);
}

.brand { font-family: var(--font-head); font-weight: 800; letter-spacing: 0.02em; }
.btn--primary { background: var(--accent); color: #1c1c1c; box-shadow: 0 18px 40px -18px var(--accent); }
.btn--ghost { color: var(--fg); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.nav-links a { color: var(--fg); }
.eyebrow { color: var(--accent); }
.eyebrow::before { background: var(--accent); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--border); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}
.hero__pattern {
  position: absolute;
  inset: -20% -10% -20% -10%;
  z-index: 0;
  background-image: repeating-linear-gradient(
    -24deg,
    transparent 0 70px,
    rgba(242, 228, 34, 0.05) 70px 72px
  );
  background-size: cover;
  -webkit-mask-image: radial-gradient(120% 80% at 70% 30%, #000, transparent 75%);
          mask-image: radial-gradient(120% 80% at 70% 30%, #000, transparent 75%);
}
.hero__pattern::after {
  content: "КРИМ КРИМ КРИМ КРИМ КРИМ КРИМ КРИМ КРИМ КРИМ КРИМ КРИМ КРИМ КРИМ КРИМ";
  position: absolute;
  inset: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 110px);
  line-height: 1.25;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 228, 34, 0.14);
  word-spacing: 14px;
  transform: rotate(-8deg) scale(1.3);
  opacity: 0.8;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; }
.hero__badge {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1c1c1c;
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(80px, 22vw, 320px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.hero__claim {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 64px);
  margin-top: 10px;
  letter-spacing: -0.02em;
}
.hero__claim .accent { color: var(--accent); }
.hero__sub { margin-top: clamp(20px, 3vw, 32px); max-width: 54ch; color: var(--muted); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: clamp(30px, 4vw, 48px); }

/* ---- section variants ---- */
.section--soft { background: var(--bg-alt); }
.section--dark { background: var(--accent-2); }

/* ---- what we do ---- */
.what-list { margin-top: clamp(40px, 5vw, 70px); border-top: 1px solid var(--border); }
.what {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 24px;
  padding: clamp(24px, 3.4vw, 44px) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.45s var(--ease), background 0.35s;
}
.what:hover { padding-left: 20px; background: rgba(242,228,34,0.04); }
.what h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 3vw, 38px); letter-spacing: -0.02em; }
.what:hover h3 { color: var(--accent); }
.what p { color: var(--muted); margin: 0; font-size: 16px; max-width: 52ch; }

/* ---- projects ---- */
.proj {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 42px);
  transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.4s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.proj:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.proj__client { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.proj h3 { font-size: clamp(20px, 2.4vw, 28px); }
.proj p { color: var(--muted); font-size: 15px; margin: 0; }
.proj--big { background: linear-gradient(160deg, #383838, #2a2a2a); }
.proj--wide { grid-column: 1 / -1; }
.bignum {
  margin-top: auto;
  padding-top: 18px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 1;
  color: var(--accent);
}
.bignum small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---- stands ---- */
.stand {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 40px);
  transition: transform 0.5s var(--ease), background 0.4s;
}
.stand:hover { transform: translateY(-6px); background: rgba(242,228,34,0.08); }
.stand h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.4vw, 28px); color: var(--accent); margin-bottom: 8px; }
.stand p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---- gallery on dark ---- */
.gallery__item { background: #1c1c1c; border-color: var(--border); }

/* ровная сетка 3 в ряд (слайды 16:9 — без обрезки) */
.gallery--grid {
  columns: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.gallery--grid .gallery__item { margin-bottom: 0; break-inside: auto; }
.gallery--grid .gallery__item img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
@media (max-width: 960px) {
  .gallery--grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery--grid { grid-template-columns: 1fr; }
}

/* ---- footer ---- */
.site-footer { background: var(--accent); color: #1c1c1c; }
.site-footer a { color: #1c1c1c; opacity: 0.85; }
.site-footer a:hover { opacity: 1; }
.footer-title { font-family: var(--font-head); font-weight: 900; font-size: clamp(44px, 8vw, 110px); line-height: 0.9; margin-bottom: 18px; }
.f-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; margin-bottom: 12px; }
.f-name { font-family: var(--font-head); font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(28,28,28,0.2); opacity: 0.8; }
.site-footer p { margin: 0 0 8px; }

@media (max-width: 720px) {
  .what { grid-template-columns: 1fr; gap: 8px; }
}
