/* ==========================================================
   Stepan Kudryash — Portfolio
   Палитра снята с аватарки: глубокий чёрный фон,
   тёплый янтарный контровой свет, медь и золото волос.
   ========================================================== */

:root {
  --bg: #080605;
  --bg-2: #0f0b08;
  --surface: rgba(255, 236, 214, 0.035);
  --surface-2: rgba(255, 236, 214, 0.06);
  --border: rgba(240, 178, 106, 0.16);
  --border-strong: rgba(240, 178, 106, 0.38);

  --amber: #f0b26a;      /* контровой свет */
  --gold: #ffd59a;       /* блики на волосах */
  --copper: #c97a3d;     /* тёплая медь */
  --ember: #8a4a22;      /* тени волос */

  --text: #f5ede3;
  --muted: #b3a493;
  --dim: #7d7064;

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(240, 178, 106, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }

/* ---------- Атмосфера: тёплое свечение + плёночное зерно ---------- */
.atmos {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(240, 160, 80, .20), transparent 60%),
    radial-gradient(700px 520px at 8% 22%, rgba(201, 122, 61, .10), transparent 65%),
    radial-gradient(900px 700px at 50% 110%, rgba(138, 74, 34, .16), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}
.atmos::after {
  content: ""; position: absolute; inset: -50%;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .06;
  animation: grain 1.2s steps(3) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-3%, 2%); }
  66% { transform: translate(2%, -3%); }
  100% { transform: translate(0, 0); }
}

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255, 236, 214, .06), rgba(255, 236, 214, .02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255, 220, 170, .07), 0 20px 50px -30px rgba(0, 0, 0, .8);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary {
  color: #1a0f06;
  background: linear-gradient(135deg, var(--gold), var(--amber) 45%, var(--copper));
  box-shadow: 0 10px 30px -10px rgba(240, 160, 80, .6), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(240, 160, 80, .8), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn--ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--surface-2); border-color: var(--amber); transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px 0;
  transition: background .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10, 7, 5, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
  padding: 10px 0;
}
.header__inner { display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; white-space: nowrap; font-weight: 800; letter-spacing: .01em; }
.brand__ava {
  flex: none; width: 38px; height: 38px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 30%;
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 3px rgba(240, 178, 106, .08), 0 0 18px rgba(240, 160, 80, .35);
}
.brand__name { font-size: 16px; }
.brand__name span { color: var(--amber); }
.nav { display: flex; justify-content: center; gap: 4px; margin-inline: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
}
.lang button {
  border: 0; background: transparent; cursor: pointer;
  padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--dim);
  transition: color .2s, background .2s;
}
.lang button.is-active { color: #1a0f06; background: var(--amber); }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 90px; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--gold);
  background: rgba(240, 178, 106, .08); border: 1px solid var(--border-strong);
}
.badge__dot {
  width: 8px; height: 8px; border-radius: 50%; background: #7ee2a1;
  box-shadow: 0 0 0 0 rgba(126, 226, 161, .6); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(126, 226, 161, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 226, 161, 0); } }
.hero__role {
  margin: 22px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--amber);
}
.hero__title {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 6vw, 74px); line-height: 1.02; letter-spacing: -.02em;
}
.hero__title em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(100deg, var(--gold) 0%, var(--amber) 40%, var(--copper) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { margin: 24px 0 0; max-width: 560px; font-size: 18px; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.portrait { position: relative; justify-self: center; width: min(100%, 400px); }
.portrait::before {
  content: ""; position: absolute; inset: -12% -14% -6% -14%; z-index: -1;
  background: radial-gradient(closest-side, rgba(240, 160, 80, .42), rgba(201, 122, 61, .12) 55%, transparent 75%);
  filter: blur(20px);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .7; transform: scale(1.04); } }
.portrait__frame {
  position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5;
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 6px rgba(240, 178, 106, .05);
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 6, 5, .85));
}
.portrait__chips {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: calc(100% - 32px);
}
.chip {
  padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--text);
  background: rgba(15, 10, 7, .6); border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chip b { color: var(--amber); font-weight: 800; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 54px; }
.stat { padding: 16px 18px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--text); }
.stat__icon {
  flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(240, 178, 106, .1); color: var(--amber); border: 1px solid var(--border);
}
.stat__icon svg { width: 18px; height: 18px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section__head { margin-bottom: 36px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--amber); }
.section__title {
  margin: 10px 0 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.015em;
}
.section__sub { margin: 12px 0 0; color: var(--muted); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filter {
  padding: 9px 16px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border);
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.filter:hover { color: var(--text); border-color: var(--border-strong); }
.filter.is-active {
  color: #1a0f06; border-color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  box-shadow: 0 8px 24px -10px rgba(240, 160, 80, .7);
}

.group + .group { margin-top: 48px; }
.group__label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.group__label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border), transparent); }

.grid { display: grid; gap: 22px; }
.grid--h { grid-template-columns: repeat(3, 1fr); }
.grid--h.grid--few { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; }
.grid--v { grid-template-columns: repeat(auto-fill, minmax(240px, 280px)); }

/* ---------- Card ---------- */
.card {
  display: flex; flex-direction: column; text-align: left; padding: 0; cursor: pointer; overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 236, 214, .055), rgba(255, 236, 214, .015));
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
  animation: cardIn .55s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 40px -12px rgba(240, 160, 80, .35);
}
.card__media { position: relative; display: block; overflow: hidden; background: #000; }
.card--h .card__media { aspect-ratio: 16 / 9; }
.card--v .card__media { aspect-ratio: 9 / 16; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; filter: saturate(.92); }
.card:hover .card__media img { transform: scale(1.05); filter: saturate(1.05); }
.card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 40%, rgba(8, 6, 5, .7)); }
.card__play {
  position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; transform: translate(-50%, -50%) scale(.92);
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(20, 12, 7, .45); border: 1px solid rgba(255, 213, 154, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), background .3s, box-shadow .3s;
}
.card__play svg { width: 24px; height: 24px; fill: var(--gold); margin-left: 3px; }
.card:hover .card__play {
  transform: translate(-50%, -50%) scale(1.05);
  background: linear-gradient(135deg, var(--gold), var(--amber));
  box-shadow: 0 0 30px rgba(240, 160, 80, .6);
}
.card:hover .card__play svg { fill: #1a0f06; }
.card__dur, .card__fmt {
  position: absolute; bottom: 10px; padding: 3px 8px; border-radius: 6px;
  font-size: 12px; font-weight: 800; background: rgba(8, 6, 5, .75); border: 1px solid var(--border);
}
.card__dur { right: 10px; }
.card__fmt { left: 10px; color: var(--amber); }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.card__title { font-size: 16.5px; font-weight: 800; line-height: 1.3; }
.card__desc { font-size: 14px; color: var(--muted); line-height: 1.5; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tag {
  padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--gold);
  background: rgba(240, 178, 106, .08); border: 1px solid rgba(240, 178, 106, .18);
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { padding: 26px; transition: transform .35s var(--ease), border-color .3s; }
.service:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.service__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  color: #1a0f06; background: linear-gradient(135deg, var(--gold), var(--amber) 50%, var(--copper));
  box-shadow: 0 10px 24px -10px rgba(240, 160, 80, .7);
}
.service__icon svg { width: 22px; height: 22px; }
.service h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.service p { margin: 0; font-size: 14.5px; color: var(--muted); }

.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; padding: 18px 22px; }
.tools__label { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-right: 6px; }
.tool { padding: 7px 13px; border-radius: 10px; font-size: 13.5px; font-weight: 700; background: var(--surface-2); border: 1px solid var(--border); }
.tool b { color: var(--amber); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; }
.step__num {
  font-family: var(--font-display); font-size: 44px; line-height: 1; font-style: italic;
  background: linear-gradient(180deg, var(--gold), var(--copper)); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; padding: 56px; text-align: center; }
.contact::before {
  content: ""; position: absolute; left: 50%; top: -60%; width: 900px; height: 600px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(240, 160, 80, .22), transparent);
  pointer-events: none;
}
.contact > * { position: relative; }
.contact__ava {
  width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; object-fit: cover; object-position: 50% 30%;
  border: 2px solid var(--amber); box-shadow: 0 0 0 6px rgba(240, 178, 106, .1), 0 0 40px rgba(240, 160, 80, .45);
}
.contact .section__title { max-width: 720px; margin-inline: auto; }
.contact .section__sub { max-width: 560px; margin: 14px auto 0; }
.links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; text-align: left; }
.link {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  border-radius: var(--radius-sm); background: rgba(8, 6, 5, .5); border: 1px solid var(--border);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.link:hover { transform: translateY(-3px); border-color: var(--amber); background: rgba(240, 178, 106, .07); }
.link--main { border-color: var(--border-strong); background: rgba(240, 178, 106, .08); }
.link__icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  color: var(--amber); background: rgba(240, 178, 106, .1); border: 1px solid var(--border);
}
.link--main .link__icon { color: #1a0f06; background: linear-gradient(135deg, var(--gold), var(--amber)); border: 0; }
.link__icon svg { width: 20px; height: 20px; }
.link > span:last-child { min-width: 0; }
.link__t { display: block; font-weight: 800; font-size: 14.5px; line-height: 1.3; }
.link__d { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; overflow-wrap: anywhere; }
.contact__cta { margin-top: 32px; }

/* ---------- Footer ---------- */
.footer { padding: 34px 0 44px; border-top: 1px solid var(--border); margin-top: 40px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--dim); }

/* ---------- Player ---------- */
.player {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  opacity: 0; transition: opacity .25s var(--ease);
}
.player.is-open { opacity: 1; }
.player__backdrop { position: absolute; inset: 0; background: rgba(5, 3, 2, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.player__dialog {
  position: relative; width: min(100%, 1440px, calc((100vh - 110px) * 16 / 9));
  transform: scale(.97) translateY(10px); transition: transform .3s var(--ease);
}
.player.is-open .player__dialog { transform: none; }
.player.is-vertical .player__dialog { width: min(100%, calc((100vh - 110px) * 9 / 16), 520px); }
.player__bar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.player__title { flex: 1; font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__nav { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.player__btn {
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.player__btn:hover { background: var(--amber); color: #1a0f06; border-color: transparent; }
.player__btn:active { transform: scale(.94); }
.player__btn svg { width: 17px; height: 17px; }
.player__count {
  min-width: 42px; text-align: center; font-size: 13px; font-weight: 700;
  color: var(--muted); font-variant-numeric: tabular-nums;
}
.player__yt { font-size: 13px; font-weight: 700; color: var(--amber); white-space: nowrap; }
.player__yt:hover { color: var(--gold); }
.player__switch {
  flex: none; padding: 6px 12px; border-radius: 999px; cursor: pointer;
  font-size: 12px; font-weight: 700; color: var(--muted); white-space: nowrap;
  background: var(--surface-2); border: 1px solid var(--border);
  transition: color .2s, border-color .2s, background .2s;
}
.player__switch:hover { color: var(--gold); border-color: var(--border-strong); background: rgba(240, 178, 106, .1); }
.player__close {
  flex: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  transition: background .2s, transform .2s;
}
.player__close:hover { background: var(--amber); color: #1a0f06; transform: rotate(90deg); }
.player__close svg { width: 18px; height: 18px; }
.player__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000;
  border: 1px solid var(--border-strong); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(240, 160, 80, .4);
}
.player.is-vertical .player__frame { aspect-ratio: 9 / 16; }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .portrait { order: -1; width: min(100%, 340px); }
  .hero__copy { text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .grid--h { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .header__inner { gap: 12px; }
  .nav { gap: 0; }
  .nav a { padding: 8px 10px; }
  .header .btn--sm { padding: 9px 11px; }
  .header .btn--sm .btn__label { display: none; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .header__actions { margin-left: auto; }
  .header .btn--sm .btn__label { display: none; }
  .hero { padding: 36px 0 60px; }
  .stats { grid-template-columns: 1fr; margin-top: 36px; }
  .section { padding: 64px 0; }
  .grid--h, .grid--h.grid--few { grid-template-columns: 1fr; }
  .grid--v { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card--v .card__desc { display: none; }
  .card--v .card__body { padding: 12px 12px 14px; }
  .card--v .card__title { font-size: 14px; }
  .services, .steps, .links { grid-template-columns: 1fr; }
  .contact { padding: 36px 20px; }
  .filters {
    flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 48px), transparent);
  }
  .filters::after { content: ""; flex: none; width: 28px; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { white-space: nowrap; }
}
@media (max-width: 600px) {
  .player__bar { flex-wrap: wrap; gap: 8px; }
  .player__title { flex: 1 1 calc(100% - 52px); order: 1; }
  .player__close { order: 2; }
  .player__nav { order: 3; }
  .player__switch { order: 4; margin-left: auto; }
  .player__yt { order: 5; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
