/* ============================================================
   КИРИЛЛ РУСАН — IT-ВЕДУЩИЙ
   Dark editorial · gold accent · dynamic depth
   ============================================================ */

:root {
  --bg:          #0A0807;
  --bg-2:        #0F0C0A;
  --surface:     #1A1614;
  --surface-2:   #241F1B;
  --fg:          #F5F2EC;
  --fg-muted:    #A8A29E;
  --accent:      #E5B84B;
  --accent-2:    #F2C95E;
  --accent-dim:  #B8923A;
  --border:      rgba(245, 242, 236, 0.10);
  --border-2:    rgba(245, 242, 236, 0.20);
  --glass:       rgba(245, 242, 236, 0.04);

  --font-display: 'Golos Text', sans-serif;
  --font-body:    'Onest', 'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(48px, 6.5vw, 96px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .blob { display: none; }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%; max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
  position: relative; z-index: 2;
}

/* ============ DYNAMIC BACKGROUND ============ */
.ambient { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.blob.b1 { width: 50vw; height: 50vw; left: -10vw; top: -8vw;
  background: radial-gradient(circle, rgba(229,184,75,0.30), transparent 70%);
  animation: drift1 24s var(--ease) infinite alternate; }
.blob.b2 { width: 42vw; height: 42vw; right: -8vw; top: 30vh;
  background: radial-gradient(circle, rgba(184,146,58,0.22), transparent 70%);
  animation: drift2 30s var(--ease) infinite alternate; }
.blob.b3 { width: 38vw; height: 38vw; left: 20vw; bottom: -10vw;
  background: radial-gradient(circle, rgba(229,184,75,0.12), transparent 70%);
  animation: drift3 34s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate(14vw, 12vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vw, -8vh) scale(1.1); } }
@keyframes drift3 { to { transform: translate(10vw, -10vh) scale(1.2); } }

/* film grain texture — kills the "flat/cheap" feel */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ SHARED TYPE ============ */
.mono-label {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted);
}
.section-num { color: var(--accent); margin-bottom: 28px; }
.section-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 5.2vw, 4rem); line-height: 1.02; letter-spacing: -0.03em;
}
.section-intro { max-width: 600px; color: var(--fg-muted); margin-top: 22px; font-size: 1.05rem; }
.accent-text { color: var(--accent); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 15px 26px; border-radius: 100px; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-accent { background: var(--accent); color: #1A1408; box-shadow: 0 8px 30px rgba(229,184,75,0.22); }
.btn-accent:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(229,184,75,0.36); }
.btn-ghost { border-color: var(--border-2); color: var(--fg); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 11px 20px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* ============ HEADER ============ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(10, 8, 7, 0.72); backdrop-filter: blur(16px); border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; }
.nav { display: flex; gap: 32px; }
.nav a { font-size: 0.95rem; color: var(--fg-muted); transition: color .2s var(--ease); position: relative; }
.nav a::after { content:''; position:absolute; left:0; bottom:-6px; width:100%; height:1px; background:var(--accent); transform:scaleX(0); transform-origin:left; transition:transform .25s var(--ease); }
.nav a:hover { color: var(--fg); }
.nav a:hover::after { transform: scaleX(1); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--fg); transition: .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { position: fixed; top: 72px; left: 0; right: 0; background: var(--bg-2);
  border-bottom: 1px solid var(--border); flex-direction: column; padding: 24px var(--gutter) 32px; gap: 20px; display: none; z-index: 99; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.2rem; font-family: var(--font-display); }
.mobile-menu .btn { margin-top: 8px; }

/* ============ HERO ============ */
.hero { padding-top: 120px; padding-bottom: 60px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; min-height: calc(100vh - 180px); }
.hero-title { font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 3.9vw, 3.1rem); line-height: 1.05; letter-spacing: -0.02em; margin: 22px 0 26px; max-width: 20ch; }
.hero-sub { max-width: 480px; color: var(--fg-muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 36px 0 48px; }
.stats-band { border-bottom: 1px solid var(--border); padding: clamp(36px, 5vw, 56px) 0; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 6px; padding-left: 24px; border-left: 1px solid var(--border); }
.stats-row .stat:first-child { padding-left: 0; border-left: none; }
.stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-muted); }

.hero-media { position: relative; }
.hero-media-inner { position: relative; will-change: transform; border-radius: 16px; box-shadow: 0 40px 80px rgba(0,0,0,0.5); }
.hero-badge { position: absolute; bottom: 20px; left: -20px; background: var(--bg-2);
  border: 1px solid var(--border-2); padding: 10px 16px; border-radius: 100px; color: var(--accent); }

/* rotating circular badge */
.spin-badge { position: absolute; top: -28px; right: -28px; width: 116px; height: 116px;
  background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 50%;
  display: grid; place-items: center; z-index: 3; transition: transform .3s var(--ease); }
.spin-badge:hover { transform: scale(1.06); }
.spin-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.spin-badge text { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; fill: var(--accent); text-transform: uppercase; }
.spin-arrow { font-size: 1.6rem; color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ IMAGE PLACEHOLDERS ============ */
.img-placeholder { position: relative;
  background: repeating-linear-gradient(45deg, var(--surface) 0, var(--surface) 14px, var(--surface-2) 14px, var(--surface-2) 28px);
  border: 1px solid var(--border); border-radius: 14px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.img-placeholder span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--fg-muted); line-height: 1.7; padding: 16px; }
.portrait { aspect-ratio: 3 / 4; }
/* real images: cover the slot, keep the rounded frame */
.media { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 14px; }
img.portrait { aspect-ratio: 3 / 4; }
img.about-photo { aspect-ratio: 16 / 9; }
img.tv-img { aspect-ratio: 4 / 5; }
img.case-img { aspect-ratio: 16 / 11; height: auto; border-radius: 0; }
.case-video-thumb { aspect-ratio: 16 / 11; border: none; border-radius: 0;
  background: linear-gradient(150deg, var(--surface-2), var(--surface) 60%, #2a1d0a);
  display: grid; place-items: center; }
.case-card.case-video { cursor: pointer; }
.case-card.case-video:hover .reel-play { transform: scale(1.08); }
.case-video-thumb .reel-play { position: static; transform: none; width: 64px; height: 64px; font-size: 1.3rem; transition: transform .25s var(--ease); }

/* ============ CLIENTS MARQUEE ============ */
.clients { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; overflow: hidden; position: relative; z-index: 2; background: var(--bg-2); }
.marquee { width: 100%; overflow: hidden;
  transform: skewX(var(--skew, 0deg)); transition: transform .25s var(--ease);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 28px; align-items: center; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2.4vw, 1.6rem); color: var(--fg-muted); letter-spacing: 0.02em; white-space: nowrap; transition: color .2s; }
.marquee-track i { color: var(--accent); font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-lead { position: sticky; top: 110px; }
.about-formula { color: var(--accent); margin-top: 24px; line-height: 1.8; }
.about-body p { color: var(--fg-muted); margin-bottom: 20px; font-size: 1.1rem; }
.about-body strong { color: var(--fg); font-weight: 600; }
.about-body .about-pull { color: var(--accent); font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.25; letter-spacing: -0.02em; margin: 28px 0; }
.about-body .about-kicker { color: var(--fg); font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.3; letter-spacing: -0.02em;
  border-left: 2px solid var(--accent); padding-left: 24px; margin-top: 36px; }
.about-photo { aspect-ratio: 16 / 9; margin-top: clamp(48px, 7vw, 90px); }

/* ============ GLASS CARD (shared) ============ */
.glass-card { background: var(--glass); border: 1px solid var(--border); border-radius: 18px;
  backdrop-filter: blur(8px); position: relative; overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.glass-card::before { content:''; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background: linear-gradient(140deg, rgba(229,184,75,0.35), transparent 40%); opacity:0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .3s var(--ease); pointer-events:none; }
.glass-card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.glass-card:hover::before { opacity: 1; }

/* ============ HOW I WORK ============ */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.work-grid .glass-card { padding: 40px; position: relative; overflow: hidden; }
.work-grid .glass-card:first-child { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border-color: var(--accent-dim); }
.work-num { position: absolute; top: 22px; right: 30px; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: rgba(245, 242, 236, 0.05); pointer-events: none; }
.work-grid .mono-label { position: relative; }
.work-grid h3 { font-size: 1.6rem; margin-top: 32px; }
.work-grid .mono-label { color: var(--accent); margin-bottom: 18px; display: block; }
.work-grid h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px; }
.work-grid p { color: var(--fg-muted); font-size: 0.98rem; }

/* ============ FULL-BLEED IMAGE BREAK ============ */
.image-break { position: relative; z-index: 2; margin: clamp(20px, 4vw, 48px) var(--gutter); border-radius: 24px; overflow: hidden; }
.image-break img { width: 100%; height: clamp(320px, 48vw, 620px); object-fit: cover; display: block;
  transform: scale(var(--img-zoom, 1)); will-change: transform; }
.image-break-line { position: absolute; left: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 48px); right: clamp(24px, 4vw, 56px);
  max-width: 18ch; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.6); }

/* ============ CASES ============ */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; align-items: start; }
.case-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.case-card:hover { border-color: var(--border-2); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.case-img { border: none; border-radius: 0; aspect-ratio: 16 / 11; }
.case-body { padding: 22px 24px 26px; }
.case-body .mono-label { color: var(--accent); font-size: 11px; }
.case-body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; margin: 12px 0 10px; }
.case-body p { color: var(--fg-muted); font-size: 0.95rem; }

/* ============ TV ============ */
.tv-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.tv-role { font-size: 1.2rem; margin-top: 24px; }
.tv-role strong { color: var(--accent); }
.tv-list { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.tv-list li { color: var(--fg-muted); padding-left: 0; }
.tv-list .mono-label { display: block; color: var(--accent); margin-bottom: 6px; }
.tv-img { aspect-ratio: 4 / 3; }

/* ============ IT JOKES (photo + quotes) ============ */
.jokes-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 20px; margin-top: 56px; align-items: stretch; }
.joke-photo { aspect-ratio: 4 / 5; min-height: 100%; }
.joke-quotes { display: flex; flex-direction: column; gap: 20px; }
.joke { background: var(--glass); border: 1px solid var(--border); border-radius: 18px; backdrop-filter: blur(8px);
  padding: 32px; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.42; letter-spacing: -0.01em; flex: 1;
  display: flex; align-items: center; }
.joke:first-child { background: linear-gradient(160deg, var(--surface-2), var(--surface)); border-color: var(--accent-dim); font-size: 1.3rem; }

/* ============ SERVICES ============ */
.services-list { margin-top: 56px; border-top: 1px solid var(--border); }
.service-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 28px; align-items: baseline;
  padding: 38px 0; border-bottom: 1px solid var(--border); }
.service-index, .service-main { transition: transform .35s var(--ease); }
.service-row:hover .service-index, .service-row:hover .service-main { transform: translateX(16px); }
.service-index { color: var(--accent); padding-top: 6px; }
.service-main h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: 12px; transition: color .25s; }
.service-row:hover .service-main h3 { color: var(--accent); }
.service-main p { color: var(--fg-muted); max-width: 680px; }
.service-main p strong { color: var(--accent); font-weight: 600; }
.service-tag { white-space: nowrap; padding-top: 10px; }

/* ============ PROCESS ============ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }
.process-step { border-top: 2px solid var(--accent); padding-top: 24px; }
.process-step .mono-label { color: var(--accent); }
.process-step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; margin: 16px 0 12px; letter-spacing: -0.02em; }
.process-step p { color: var(--fg-muted); font-size: 0.98rem; }

/* ============ REVIEWS ============ */
.reviews-grid { columns: 3; column-gap: 24px; margin-top: 56px; }
.review-card { padding: 32px; display: flex; flex-direction: column; gap: 24px; break-inside: avoid; margin-bottom: 24px; }
.reviews-grid .review-card:nth-child(3n+1) { padding-bottom: 44px; }
.review-card p { font-size: 1.08rem; line-height: 1.5; }
.review-card footer { display: flex; flex-direction: column; gap: 2px; }
.review-card footer strong { font-family: var(--font-display); font-weight: 600; }
.review-card footer span { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted); }

/* ============ VIDEO ============ */
.video-placeholder { aspect-ratio: 16 / 9; margin-top: 56px; }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin-top: 56px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface); box-shadow: 0 30px 70px rgba(0,0,0,0.45); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============ FAQ ============ */
.faq-list { margin-top: 56px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; padding: 28px 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem); letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color .2s; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.6rem; transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--fg-muted); padding-bottom: 28px; max-width: 760px; }

/* ============ BOOKING ============ */
.booking { background: var(--surface); border-radius: 28px; margin: 0 var(--gutter); border: 1px solid var(--border); overflow: hidden; }
.booking .container { padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(56px, 8vw, 100px); }
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.booking-contacts { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.booking-contacts a { font-family: var(--font-display); font-size: 1.3rem; color: var(--fg); transition: color .2s var(--ease); width: fit-content; border-bottom: 1px solid transparent; }
.booking-contacts a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.booking-photo { aspect-ratio: 4 / 3; margin-top: 32px; }
.booking-form { display: flex; flex-direction: column; gap: 20px; padding: 32px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted); }
.field input, .field select, .field textarea { background: var(--bg); border: 1px solid var(--border-2); border-radius: 10px;
  padding: 14px 16px; color: var(--fg); font-family: var(--font-body); font-size: 1rem; transition: border-color .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--fg-muted); text-align: center; }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 40px; margin-top: var(--section-y); position: relative; z-index: 2; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand .wordmark { font-size: 1.3rem; }
.footer-brand p { color: var(--fg-muted); font-size: 0.9rem; margin-top: 6px; }
.footer-social { display: flex; gap: 24px; }
.footer-social a { color: var(--fg-muted); transition: color .2s var(--ease); }
.footer-social a:hover { color: var(--accent); }
.footer-copy { width: 100%; padding-top: 24px; border-top: 1px solid var(--border); margin-top: 8px; }

/* ============ BLOG ============ */
.blog-hero { padding-top: 140px; padding-bottom: 20px; }
.blog-hero .mono-label { color: var(--accent); }
.blog-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; margin-top: 16px; }
.blog-hero p { color: var(--fg-muted); font-size: 1.15rem; margin-top: 20px; max-width: 640px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 8px; }
.post-card { display: flex; flex-direction: column; padding: 32px; border-radius: 20px; text-decoration: none; color: var(--fg);
  height: 100%; transition: transform .4s var(--ease), border-color .4s var(--ease); }
.post-card:hover { transform: translateY(-4px); }
.post-card .post-tag { color: var(--accent); }
.post-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.01em; margin: 16px 0 12px; }
.post-card p { color: var(--fg-muted); font-size: 0.98rem; line-height: 1.6; flex: 1; }
.post-card .post-more { color: var(--accent); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 20px; }

/* Article reading */
.article { padding-top: 130px; }
.article-head { max-width: 760px; margin: 0 auto; }
.article-head .mono-label { color: var(--accent); }
.article-head h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; letter-spacing: -0.02em; margin: 16px 0 20px; }
.article-meta { color: var(--fg-muted); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; }
.prose { max-width: 720px; margin: 48px auto 0; }
.prose p, .prose li { font-size: 1.12rem; line-height: 1.72; color: var(--fg-soft, #d9d2c9); }
.prose p { margin-bottom: 24px; }
.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1.2; letter-spacing: -0.01em; margin: 48px 0 18px; }
.prose h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.28rem; margin: 36px 0 14px; }
.prose ul { margin: 0 0 24px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--fg); }
.prose blockquote { border-left: 2px solid var(--accent); padding: 6px 0 6px 24px; margin: 32px 0; font-family: var(--font-display);
  font-weight: 500; font-size: 1.3rem; line-height: 1.4; color: var(--fg); }
.prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(229,184,75,0.4); }
.prose a:hover { border-bottom-color: var(--accent); }
.article-cta { max-width: 720px; margin: 56px auto 0; padding: 40px; border-radius: 20px; text-align: center; }
.article-cta h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-bottom: 20px; }
.breadcrumb { max-width: 760px; margin: 0 auto 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; }
.breadcrumb a { color: var(--fg-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ============ FLOATING CONTACTS ============ */
.float-contacts { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 12px;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.float-contacts.visible { opacity: 1; transform: none; pointer-events: auto; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 6px 24px rgba(0,0,0,0.4); transition: transform .25s var(--ease); }
.float-btn:hover { transform: scale(1.08); }
.float-btn.tg { background: #2AABEE; }
.float-btn.wa { background: #25D366; }

/* ============ GALLERY CARDS + LIGHTBOX ============ */
.case-card[data-gallery] { cursor: pointer; position: relative; }
.case-card[data-gallery] .case-img { transition: transform .6s var(--ease); }
.case-card[data-gallery]:hover .case-img { transform: scale(1.05); }
.case-card[data-gallery]::after {
  content: 'СМОТРЕТЬ ФОТО →'; position: absolute; top: 16px; right: 16px; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; color: #1A1408;
  background: var(--accent); padding: 7px 12px; border-radius: 100px;
  opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease); pointer-events: none; }
.case-card[data-gallery]:hover::after, .case-card[data-gallery]:focus-visible::after { opacity: 1; transform: none; }
.case-card[data-gallery]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(8, 6, 5, 0.92); backdrop-filter: blur(10px); padding: clamp(16px, 4vw, 48px);
  opacity: 0; transition: opacity .35s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-stage { margin: 0; display: flex; flex-direction: column; gap: 18px; max-width: min(1100px, 100%); max-height: 100%; }
.lb-stage img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 12px;
  opacity: 0; transform: scale(0.97); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.lightbox.shown .lb-stage img { opacity: 1; transform: none; }
.lb-caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.lb-title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.lb-role { color: var(--accent); }
.lb-counter { margin-left: auto; }
.lb-close { position: fixed; top: 22px; right: 26px; z-index: 2; background: none; border: none; color: var(--fg);
  font-size: 1.6rem; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; transition: background .2s; }
.lb-close:hover { background: rgba(255,255,255,0.1); }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.06); border: 1px solid var(--border-2);
  color: var(--fg); width: 54px; height: 54px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; transition: background .2s, transform .2s; }
.lb-nav:hover { background: var(--accent); color: #1A1408; }
.lb-prev { left: clamp(12px, 3vw, 40px); }
.lb-next { right: clamp(12px, 3vw, 40px); }
@media (max-width: 600px) { .lb-nav { width: 44px; height: 44px; font-size: 1.4rem; } .lb-prev{left:8px;} .lb-next{right:8px;} }

/* reviews: read-full */
.review-excerpt { font-size: 1.08rem; line-height: 1.5; }
.review-more { align-self: flex-start; margin-top: -8px; background: none; border: none; cursor: pointer;
  color: var(--accent); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0; transition: opacity .2s var(--ease); }
.review-more:hover { opacity: 0.7; }
.rlightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(8, 6, 5, 0.92); backdrop-filter: blur(10px); padding: clamp(20px, 5vw, 64px); opacity: 0; transition: opacity .35s var(--ease); }
.rlightbox[hidden] { display: none; }
.rlightbox.open { opacity: 1; }
.rlb-card { max-width: 640px; width: 100%; max-height: 84vh; overflow-y: auto; padding: clamp(28px, 4vw, 44px); border-radius: 20px; }
.rlb-text { font-size: 1.15rem; line-height: 1.6; color: var(--fg); }
.rlb-foot { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; }
.rlb-foot strong { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.rlb-foot span { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-muted); }

/* video trigger on service rows */
.video-trigger { margin-top: 18px; background: none; border: 1px solid var(--border-2); color: var(--fg);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 100px; cursor: pointer; transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease); }
.video-trigger:hover { border-color: var(--accent); color: var(--accent); }
.service-row:hover .video-trigger { border-color: var(--border-2); }
.service-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; }
.service-page-link { color: var(--accent); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.03em;
  text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .25s var(--ease); }
.service-page-link:hover { border-bottom-color: var(--accent); }
.tv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.tv-actions .video-trigger { margin-top: 0; }
.tv-img[data-gallery] { cursor: pointer; transition: transform .5s var(--ease), filter .35s var(--ease); }
.tv-img[data-gallery]:hover { filter: brightness(1.06); }

/* video lightbox */
.vlightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(8, 6, 5, 0.94); backdrop-filter: blur(10px); padding: clamp(16px, 4vw, 64px); opacity: 0; transition: opacity .35s var(--ease); }
.vlightbox[hidden] { display: none; }
.vlightbox.open { opacity: 1; }
.vlb-stage { width: min(1100px, 100%); }
.vlb-stage .video-embed { margin-top: 0; }
.vlightbox.vertical .vlb-stage { width: min(420px, 100%); }
.vlightbox.vertical .video-embed { aspect-ratio: 9 / 16; }

/* reels strip (vertical cuts) */
.reels { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.reel.reel-wide { flex-basis: 300px; aspect-ratio: 16 / 9; }
.reel { flex: 0 0 168px; aspect-ratio: 9 / 16; position: relative; cursor: pointer; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: linear-gradient(165deg, var(--surface-2), var(--surface));
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 16px; text-align: left;
  transition: border-color .25s var(--ease), transform .25s var(--ease); }
.reel:hover { border-color: var(--accent); transform: translateY(-4px); }
.reel-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px;
  display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #1A1408; font-size: 1rem; }
.reel-label { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; line-height: 1.2; position: relative; z-index: 1; }
@media (max-width: 520px) { .reel { flex-basis: calc(50% - 8px); } }

/* ============ REVEAL (premium: blur-in, gated on JS+motion so content is visible without either) ============ */
html.motion .reveal { opacity: 0; transform: translateY(34px); filter: blur(8px); will-change: opacity, transform, filter;
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
html.motion .reveal.in { opacity: 1; transform: none; filter: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .jokes-grid { grid-template-columns: 1fr; }
  .joke-photo { aspect-ratio: 16 / 10; }
  .reviews-grid { columns: 2; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .tv-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .work-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { order: -1; max-width: 320px; }
  .hero { min-height: auto; padding-top: 100px; }
  .hero-title { max-width: none; }
  .spin-badge { width: 92px; height: 92px; top: -20px; right: -8px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .stats-row .stat:nth-child(3) { padding-left: 0; border-left: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-lead { position: static; }
  .cases-grid { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 40px 1fr; }
  .service-tag { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .reviews-grid { columns: 1; }
  .process-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stats-row .stat { padding-left: 0; border-left: none; }
  .booking { margin: 0; border-radius: 0; }
}
