/* ============================================================
   DELLO CINEMATICS — design system
   dark cinematic theme / acid-lime accent (по мотивам AVA studio)
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --bg: #0b0b0c;
  --bg-2: #101013;
  --bg-3: #141417;
  --card: #151518;
  --card-2: #1b1b1f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f2;
  --muted: #9d9d99;
  --muted-2: #8a8a86;
  --accent: #b6e43d;
  --accent-2: #cdf36a;
  --accent-dim: rgba(182, 228, 61, 0.14);
  --accent-line: rgba(182, 228, 61, 0.38);
  --danger: #ff5c4d;

  --radius: 20px;
  --radius-sm: 14px;
  --container: 1240px;
  --header-h: 76px;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-accent: 0 10px 40px -12px rgba(182, 228, 61, 0.45);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: #0b0b0c;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar {
  display: none;
}

html {
  scrollbar-width: none;
}

/* ---------- utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #0b0b0c;
  font-weight: 800;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

.section {
  padding: 104px 0;
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.section--tight {
  padding: 72px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
}

.section-head__text {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 4.4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.sub {
  color: var(--muted);
  font-size: 17px;
  margin-top: 16px;
  max-width: 560px;
}

.accent {
  color: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease), border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.btn svg {
  flex: 0 0 auto;
}

.btn--primary {
  background: var(--accent);
  color: #0b0b0c;
}

.btn--primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn--ghost {
  border: 1px solid var(--accent-line);
  color: var(--accent);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

.btn--dark {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn--dark:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 11px 22px;
  font-size: 13.5px;
}

.btn--lg {
  padding: 18px 38px;
  font-size: 16px;
}

/* ---------- grain + progress ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes grain {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-4%, 3%);
  }
  100% {
    transform: translate(3%, -2%);
  }
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* ---------- header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(11, 11, 12, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 34px;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.logo__img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.14em;
}

.logo__tag {
  font-size: 9px;
  letter-spacing: 0.34em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
  position: relative;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav a:hover {
  color: var(--text);
}

.nav a.current {
  color: var(--accent);
}

.nav a.current::after {
  width: 100%;
}

.nav a:hover::after {
  width: 100%;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.header__phone {
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--accent);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s var(--ease);
  color: var(--text);
}

.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
}

.burger span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.3s, top 0.35s var(--ease);
}

.burger span:nth-child(1) {
  top: 16px;
}

.burger span:nth-child(2) {
  top: 21px;
}

.burger span:nth-child(3) {
  top: 26px;
}

.burger.active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(11, 11, 12, 0.97);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 28px 40px;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(22px, 6vw, 32px);
  font-weight: 500;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), color 0.3s;
}

.mobile-menu.open a {
  transform: none;
  opacity: 1;
}

.mobile-menu a:hover {
  color: var(--accent);
}

.mobile-menu__foot {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
}

.mobile-menu__foot a {
  border: 0;
  padding: 2px 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  overflow: hidden;
  background: radial-gradient(1100px 520px at 78% -10%, rgba(182, 228, 61, 0.09), transparent 62%), var(--bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: url("../assets/img/hero-poster-desktop.webp") center / cover no-repeat;
  opacity: 1;
}

@media (max-width: 720px) {
  .hero__bg {
    background-image: url("../assets/img/hero-poster-mobile.webp");
  }
}

.hero__bg.loading,
.hero__bg.ready,
.hero.has-video .hero__bg {
  opacity: 1;
}

.hero__bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}

.hero__bg.ready video.is-active {
  opacity: 1;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11, 11, 12, 0.7) 0%, rgba(11, 11, 12, 0.44) 42%, rgba(11, 11, 12, 0.9) 100%),
    radial-gradient(1000px 480px at 78% -12%, rgba(182, 228, 61, 0.12), transparent 62%);
}

.hero__meta {
  position: absolute;
  top: calc(var(--header-h) + 26px);
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.hero__rec {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}

.hero__rec i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--danger);
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.15; }
}

.hero__body {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 48px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 6.6vw, 82px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  max-width: 1020px;
}

.hero__title span {
  color: var(--accent);
}

.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 34px;
}

.hero__sub {
  color: var(--muted);
  font-size: 17.5px;
  max-width: 520px;
}

.hero__sub b {
  color: var(--text);
  font-weight: 600;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 22px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.strip-row {
  display: flex;
  width: max-content;
  animation: strip 46s linear infinite;
}

.strip-row--rev {
  animation-direction: reverse;
  animation-duration: 58s;
}

.hero__strip:hover .strip-row {
  animation-play-state: paused;
}

@keyframes strip {
  to {
    transform: translateX(-50%);
  }
}

.strip-item {
  position: relative;
  width: 208px;
  height: 132px;
  margin-right: 14px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}

.strip-item:hover {
  border-color: var(--accent-line);
  transform: translateY(-4px);
}

.strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.strip-item:hover img {
  transform: scale(1.06);
}

.strip-item::after {
  content: attr(data-tag);
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0b0b0c;
  background: var(--accent);
  padding: 4px 9px;
  border-radius: 999px;
}

/* ---------- ticker ---------- */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  overflow: hidden;
  background: var(--bg-2);
}

.ticker__track {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: strip 36s linear infinite;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.ticker__item::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- works ---------- */
.works {
  background: var(--bg);
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all 0.3s var(--ease);
}

.filter-btn:hover {
  color: var(--text);
  border-color: var(--muted);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0b0c;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  transition: transform 0.5s var(--ease), border-color 0.4s, opacity 0.4s, filter 0.4s;
}

.card--wide {
  grid-column: span 2;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-line);
}

.card.hidden {
  display: none;
}

.card--static {
  cursor: default;
}

.card--static:hover {
  transform: none;
  border-color: var(--line);
}

.card--static:hover .card__media img {
  transform: none;
  filter: saturate(0.92);
}

.card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.card--wide .card__media {
  aspect-ratio: 16 / 9;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: saturate(0.92);
}

.card:hover .card__media img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 12, 0.88) 0%, rgba(11, 11, 12, 0.05) 55%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}

.card:hover .card__overlay,
.card:focus-visible .card__overlay,
.card:focus-within .card__overlay {
  opacity: 1;
}

.card__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  transform: translateY(12px);
  transition: transform 0.45s var(--ease);
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  transform: translateY(12px);
  transition: transform 0.5s var(--ease) 0.04s;
}

.card:hover .card__title,
.card:hover .card__meta,
.card:focus-visible .card__title,
.card:focus-visible .card__meta,
.card:focus-within .card__title,
.card:focus-within .card__meta {
  transform: none;
}

@media (hover: none) {
  .card__overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(11, 11, 12, 0.86) 0%, rgba(11, 11, 12, 0.05) 62%);
  }
  .card__title,
  .card__meta {
    transform: none;
  }
}

.card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  padding: 6px 12px;
  border-radius: 999px;
}

.card__duration {
  position: absolute;
  right: 16px;
  bottom: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(6px);
  padding: 6px 11px;
  border-radius: 8px;
  color: var(--accent);
}

.card__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(182, 228, 61, 0.92);
  color: #0b0b0c;
  display: grid;
  place-items: center;
  opacity: 0.94;
  transition: transform 0.45s var(--ease), opacity 0.3s;
}

.card:hover .card__play {
  transform: scale(1.12);
}

.works__foot {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 9, 0.94);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1100px, 88vw);
  max-height: 82vh;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  animation: lbin 0.4s var(--ease);
}

.lightbox video {
  display: none;
  max-width: min(860px, 86vw);
  max-height: 82vh;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  background: #000;
}

@keyframes lbin {
  from {
    transform: scale(0.96);
    opacity: 0;
  }
}

.lb-close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: all 0.3s;
}

.lb-close:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(90deg);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: all 0.3s;
}

.lb-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lb-prev {
  left: 26px;
}

.lb-next {
  right: 26px;
}

.lb-count {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-weight: 700;
}

/* ---------- services ---------- */
.services {
  background: var(--bg-2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  background: linear-gradient(165deg, var(--card-2) 0%, var(--card) 60%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 36px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -30%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 228, 61, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}

.service-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-6px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card--wide {
  grid-column: span 2;
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.service-card__num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.service-card__price {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.3vw, 25px);
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
}

.service-card__desc {
  color: var(--muted);
  font-size: 15.5px;
}

.service-card__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px 26px;
  margin-top: 4px;
}

.service-card__list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--muted);
  font-size: 15px;
}

.service-card__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-2px);
}

.service-card__foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-card__link svg {
  transition: transform 0.35s var(--ease);
}

.service-card__link:hover svg {
  transform: translateX(5px);
}

/* ---------- stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  background: rgba(182, 228, 61, 0.03);
  transition: background 0.4s, transform 0.5s var(--ease), box-shadow 0.4s;
}

.stat:hover {
  background: var(--accent-dim);
  transform: translateY(-5px);
  box-shadow: 0 24px 60px -30px rgba(182, 228, 61, 0.35);
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.stat__label {
  font-weight: 800;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
}

.stat__desc {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 6px;
}

/* ---------- steps ---------- */
.steps {
  background: var(--bg-2);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease);
}

.step:hover {
  border-color: var(--accent-line);
  transform: translateY(-5px);
}

.step__num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
  line-height: 1;
  letter-spacing: 0.02em;
  transition: -webkit-text-stroke 0.4s, color 0.4s;
}

.step:hover .step__num {
  color: var(--accent);
  -webkit-text-stroke: 0;
}

.step__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 20px;
  line-height: 1.3;
}

.step__desc {
  color: var(--muted);
  font-size: 15px;
  margin-top: 10px;
}

/* ---------- reviews ---------- */
.reviews__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 46px;
}

.rev-nav {
  display: flex;
  gap: 10px;
}

.rev-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}

.rev-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.rev-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.rev-viewport::-webkit-scrollbar {
  display: none;
}

.rev-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 4px;
}

.rev-card {
  scroll-snap-align: start;
  width: 400px;
  max-width: 84vw;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}

.rev-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-4px);
}

.rev-card__quote {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
}

.rev-card__text {
  color: #cfcfcc;
  font-size: 15px;
  margin-top: 14px;
  flex: 1;
}

.rev-card__foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.rev-card__ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  flex: 0 0 auto;
  overflow: hidden;
}

.rev-card__ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rev-card__name {
  font-weight: 800;
  font-size: 15px;
}

.rev-card__role {
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

/* ---------- about ---------- */
.about {
  background: var(--bg-2);
}

.about__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.about__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10.2;
  background: #0a0a0b;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.about__media:hover img {
  transform: scale(1.04);
}

.about__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(11, 11, 12, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.about__text p {
  color: var(--muted);
  font-size: 16.5px;
  margin-top: 18px;
}

.about__text p b {
  color: var(--text);
  font-weight: 700;
}

.about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.3s;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.about__actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- faq ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.4s;
}

.faq-item.open {
  border-color: var(--accent-line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 22px 24px;
  font-weight: 700;
  font-size: 16px;
  transition: color 0.3s;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-q__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}

.faq-item.open .faq-q__icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #0b0b0c;
  border-color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-a__inner {
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 15.5px;
}

.faq-a__inner b {
  color: var(--text);
}

/* ---------- cta form ---------- */
.cta {
  position: relative;
}

.cta__panel {
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(900px 300px at 85% -20%, rgba(182, 228, 61, 0.14), transparent 60%),
    linear-gradient(160deg, var(--card-2), var(--card));
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  overflow: hidden;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.12;
}

.cta__desc {
  color: var(--muted);
  font-size: 16.5px;
  margin-top: 18px;
  max-width: 430px;
}

.cta__points {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta__points li {
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 15.5px;
}

.cta__points svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--accent);
}

.form {
  display: grid;
  gap: 16px;
  align-content: start;
}

.form__body {
  display: grid;
  gap: 16px;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.input,
.textarea,
.select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  color: var(--text);
  font: inherit;
  font-size: 15.5px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  appearance: none;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--muted-2);
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(182, 228, 61, 0.05);
  box-shadow: 0 0 0 3px rgba(182, 228, 61, 0.12);
}

.textarea {
  resize: vertical;
  min-height: 96px;
}

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23b6e43d' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}

.select option {
  background: var(--card-2);
  color: var(--text);
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.check input {
  appearance: none;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.25s;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.check input::after {
  content: "✓";
  font-size: 12px;
  font-weight: 900;
  color: #0b0b0c;
  opacity: 0;
  transition: opacity 0.2s;
}

.check input:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.check input:checked::after {
  opacity: 1;
}

.check a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check a:hover {
  color: var(--accent);
}

.form__body .check {
  margin-top: 10px;
}

.form__body .check + .btn {
  margin-top: 12px;
}

.form__note {
  font-size: 12.5px;
  color: var(--muted-2);
}

.form__success {
  display: none;
  border: 1px solid var(--accent-line);
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  padding: 22px;
  color: var(--accent);
  font-weight: 700;
}

.form.sent .form__success {
  display: block;
}

.form.sent .form__body {
  display: none;
}

.form__error {
  display: none;
  border: 1px solid rgba(255, 92, 77, 0.45);
  background: rgba(255, 92, 77, 0.08);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  color: #ffb4ad;
  font-size: 14px;
  line-height: 1.5;
}

.form__error p + p {
  margin-top: 8px;
}

.form__error a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__error a:hover {
  color: var(--accent);
}

.form.error .form__error {
  display: block;
}

.form.sent .form__error {
  display: none;
}

.btn:disabled,
.btn[aria-busy="true"] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding-top: 72px;
  background: var(--bg);
  overflow: hidden;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
}

.footer__about p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 18px;
  max-width: 300px;
}

.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.footer__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 20px;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__list a,
.footer__list span {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.3s;
}

.footer__list a:hover {
  color: var(--accent);
}

.footer__word {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 13vw, 200px);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  margin-top: 64px;
  user-select: none;
  pointer-events: none;
}

.footer__word em {
  font-style: normal;
  color: var(--accent);
  -webkit-text-stroke: 0;
}

.footer__bottom {
  border-top: 1px solid var(--line);
  margin-top: -14px;
  padding: 26px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 13px;
}

.footer__bottom nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer__bottom a {
  color: var(--muted-2);
  transition: color 0.3s;
}

.footer__bottom a:hover {
  color: var(--accent);
}

/* floating tg */
.float-tg {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #0b0b0c;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 40px -8px rgba(182, 228, 61, 0.5);
  transition: transform 0.4s var(--ease), background 0.3s;
}

.float-tg:hover {
  transform: translateY(-4px) scale(1.05);
  background: var(--accent-2);
}

/* ---------- cookie ---------- */
.cookie {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 110;
  max-width: 460px;
  background: rgba(20, 20, 23, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  display: flex;
  gap: 18px;
  align-items: center;
  transform: translateY(140%);
  transition: transform 0.6s var(--ease);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.cookie.show {
  transform: none;
}

.cookie p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.cookie a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie a:hover {
  color: var(--accent);
}

.cookie .btn {
  flex: 0 0 auto;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .grain,
  .hero__rec i,
  .strip-row,
  .ticker__track {
    animation: none !important;
  }
  .btn:hover,
  .card:hover,
  .service-card:hover,
  .stat:hover,
  .step:hover,
  .rev-card:hover {
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav {
    gap: 20px;
  }
  .header__phone {
    display: none;
  }
}

@media (max-width: 1024px) {
  .section {
    padding: 84px 0;
  }
  .nav,
  .header__contacts .btn {
    display: none;
  }
  .header__inner {
    gap: 18px;
  }
  .header__contacts {
    gap: 10px;
    margin-left: auto;
  }
  .logo__text {
    min-width: 0;
  }
  .burger {
    display: block;
    margin-left: auto;
  }
  .hero__row {
    flex-direction: column;
    align-items: flex-start;
  }
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cta__panel {
    grid-template-columns: 1fr;
    padding: 44px 36px;
    gap: 40px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 68px 0;
  }
  .header__contacts .icon-btn {
    display: none;
  }
  .logo__name {
    font-size: 13px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 36px;
  }
  .hero {
    min-height: 92svh;
  }
  .hero__meta {
    display: flex;
    top: calc(var(--header-h) + 16px);
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .hero__meta #timecode,
  .hero__meta span:last-child {
    display: none;
  }
  .hero__cta {
    width: 100%;
  }
  .hero__cta .btn {
    flex: 1 1 auto;
  }
  .strip-item {
    width: 156px;
    height: 102px;
  }
  .works-grid {
    grid-template-columns: 1fr;
  }
  .card--wide {
    grid-column: span 1;
  }
  .card__media {
    aspect-ratio: 4 / 3.4;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 28px 24px;
  }
  .service-card--wide {
    grid-column: span 1;
  }
  .service-card__foot {
    flex-wrap: wrap;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .cta__panel {
    padding: 34px 22px;
    border-radius: 22px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .reviews__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .rev-nav {
    align-self: flex-end;
  }
  .cookie {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
  }
  .lb-nav {
    display: grid;
    width: 44px;
    height: 44px;
  }
  .lb-prev {
    left: 10px;
  }
  .lb-next {
    right: 10px;
  }
  .lb-close {
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
  }
  .lb-count {
    bottom: 16px;
  }
  .float-tg {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 420px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .logo__tag {
    display: none;
  }
}

/* ============================================================
   INNER PAGES
   ============================================================ */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 84px) 0 68px;
  background: radial-gradient(1000px 460px at 84% -22%, rgba(182, 228, 61, 0.09), transparent 62%), var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.crumbs a {
  transition: color 0.3s;
}

.crumbs a:hover {
  color: var(--accent);
}

.crumbs i {
  font-style: normal;
  color: var(--muted-2);
}

.crumbs span {
  color: var(--accent);
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 5.2vw, 60px);
  line-height: 1.08;
  text-transform: uppercase;
  margin-top: 24px;
  max-width: 940px;
}

.page-hero__sub {
  color: var(--muted);
  font-size: 17px;
  margin-top: 20px;
  max-width: 620px;
}

.page-hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* service details */
.detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
  background: linear-gradient(165deg, var(--card-2) 0%, var(--card) 60%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px;
  transition: border-color 0.4s;
}

.detail:hover {
  border-color: var(--accent-line);
}

.detail + .detail {
  margin-top: 22px;
}

.detail--flip .detail__media {
  order: 2;
}

.detail__media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  border: 1px solid var(--line);
}

.detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.detail:hover .detail__media img {
  transform: scale(1.04);
}

.detail__num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.detail__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  margin-top: 12px;
}

.detail__desc {
  color: var(--muted);
  font-size: 16px;
  margin-top: 14px;
}

.detail-list {
  list-style: none;
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px 26px;
}

.detail-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 15px;
}

.detail-list svg {
  color: var(--accent);
  flex: 0 0 auto;
  margin-top: 3px;
}

.detail__foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.detail__foot .btn {
  margin-left: auto;
}

/* contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color 0.4s, transform 0.5s var(--ease);
}

a.contact-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-4px);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.contact-card__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 800;
}

.contact-card__value {
  display: block;
  font-weight: 800;
  font-size: 17px;
  margin-top: 6px;
  transition: color 0.3s;
}

a.contact-card:hover .contact-card__value {
  color: var(--accent);
}

.contact-card__hint {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 6px;
}

/* map */
.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 22px;
  height: 420px;
  background: var(--card);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.32) contrast(0.94);
}

/* legal pages */
.legal {
  max-width: 860px;
  padding-bottom: 40px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 38px 0 14px;
}

.legal p {
  color: var(--muted);
  font-size: 15.5px;
}

.legal p + p {
  margin-top: 12px;
}

.legal ul {
  list-style: none;
  margin: 14px 0;
  display: grid;
  gap: 9px;
}

.legal li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 15.5px;
}

.legal li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 10px;
  flex: 0 0 auto;
}

.legal a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: var(--accent);
}

/* 404 */
.notfound {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 60px) 24px 90px;
}

.notfound__code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(96px, 24vw, 250px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent-line);
  user-select: none;
}

.notfound__code em {
  font-style: normal;
  color: var(--accent);
  -webkit-text-stroke: 0;
}

.notfound h1 {
  font-family: var(--font-display);
  font-size: clamp(19px, 3vw, 28px);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 26px;
}

.notfound p {
  color: var(--muted);
  margin-top: 14px;
  max-width: 460px;
}

.notfound .btn {
  margin-top: 30px;
}

/* lightbox caption */
.lb-caption {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 80vw;
}

@media (max-width: 1024px) {
  .detail {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 28px;
  }
  .detail--flip .detail__media {
    order: 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 48px;
  }
  .detail {
    padding: 22px;
  }
  .detail__foot {
    gap: 14px;
  }
  .detail__foot .btn {
    margin-left: 0;
    width: 100%;
  }
  .detail__foot--wedding {
    gap: 24px;
  }
  .detail__foot--wedding .btn {
    margin-top: 4px;
  }
  .map {
    height: 320px;
  }
}



/* ---------- blog / article ---------- */
.article {
  max-width: 860px;
  margin: 0 auto;
}

.article__cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 40px;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 20px;
  color: var(--muted-2);
  font-size: 14px;
}

.article__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article__meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.article h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(23px, 3.4vw, 34px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 52px 0 18px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.article h3 {
  font-size: 20px;
  line-height: 1.35;
  margin: 32px 0 12px;
  color: var(--text);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.article p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
  margin: 0 0 18px;
}

.article strong {
  color: var(--text);
  font-weight: 700;
}

.article a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.article a:hover {
  color: var(--accent-2);
}

.article ul,
.article ol {
  margin: 0 0 22px 22px;
  color: var(--muted);
}

.article li {
  margin-bottom: 9px;
  padding-left: 4px;
}

.article li::marker {
  color: var(--accent);
}

.article blockquote {
  border-left: 2px solid var(--accent);
  padding: 8px 0 8px 22px;
  margin: 30px 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.6;
}

.article__note {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 30px 0;
}

.article__note p {
  margin-bottom: 10px;
}

.article__note p:last-child {
  margin-bottom: 0;
}

.article__toc {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin: 0 0 38px;
}

.article__toc-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.article__toc ol {
  margin: 0 0 0 18px;
  columns: 2;
  column-gap: 32px;
}

.article__toc li {
  margin-bottom: 7px;
  break-inside: avoid;
}

.article__toc a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

.article__toc a:hover {
  color: var(--accent);
}

.article__author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 26px;
}

.article__author img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
}

.article__author-name {
  color: var(--text);
  font-weight: 800;
}

.article__author-role {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.article__back {
  margin-top: 32px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-line);
}

.article-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.7s var(--ease), filter 0.5s;
}

/* keep the face in frame when this still is cropped */
img[src$="services/short-film.webp"] {
  object-position: center top;
}

.article-card:hover .article-card__media img {
  transform: scale(1.04);
  filter: saturate(1.05);
}

.article-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  flex: 1;
}

.article-card__meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  text-transform: uppercase;
}

.article-card__desc {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.article-card__link {
  margin-top: auto;
  padding-top: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 720px) {
  .article__cover {
    margin-bottom: 28px;
  }
  .article p {
    font-size: 16px;
  }
  .article h2 {
    margin-top: 40px;
  }
  .article__toc ol {
    columns: 1;
  }
  .article__author {
    align-items: flex-start;
  }
}
