@charset "UTF-8";
/*!
Theme Name: ANY MEDIA Theme
Theme URI: https://any-media.ru
Description: Тема WordPress для сайта ANY MEDIA.
Author: ANY MEDIA
Version: 1.0.0
Text Domain: any-media-theme
Requires at least: 6.0
*/
@font-face {
  font-family: "Aeonik Pro";
  src: url("assets/fonts/AeonikPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aeonik Pro";
  src: url("assets/fonts/AeonikPro-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aeonik Pro";
  src: url("assets/fonts/AeonikPro-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Match WebM bake plate (#eaeaea) — opaque video, no chromakey */
:root {
  --am-bg: #eaeaea;
  --am-bg-inner: #e7e7e7;
  --am-wash: #e2e2e3;
  --am-crm: #dfdee0;
  --am-ink: #2a2a30;
  --am-nav: #37373c;
  --am-muted: #7e7e7e;
  --am-muted-2: #7d7d7d;
  --am-line: #b7b7b7;
  --am-chip: #f4f4f4;
  --am-accent: #7b7bf2;
  --am-award: #3e3e3e;
  --am-arrow: #a4a4a4;
  --am-white: #fff;
  --am-radius-btn: 20px 20px 0 20px;
  --am-radius-cta: 52px 52px 0 52px;
  --am-radius-chip: 30px 30px 0 30px;
  --am-radius-card: 28px;
  --am-radius-service: 40px;
  --am-radius-review: 61px;
  --am-radius-flag: 80px;
  --am-container-xl: 1400px;
  --am-pad: clamp(16px, 5.625vw, 81px);
  --am-header: 100px;
  --am-font: "Aeonik Pro", system-ui, sans-serif;
  --am-display: "Aeonik Pro", system-ui, sans-serif;
  --am-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --am-ease-slow: cubic-bezier(0.4, 1, 0.7, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--am-bg);
  color: var(--am-ink);
  font-family: var(--am-font);
  font-size: 18px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body.am-page--order, body.am-page--team, body.am-page--contacts, body.am-page--prices, body.am-page--project, body.am-page--services, body.am-page--services-development, body.am-page--services-design, body.am-page--services-promotion, body.am-page--privacy, body.am-page--terms {
  background: var(--am-bg-inner);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.am-container {
  width: min(var(--am-container), 100%);
  margin-inline: auto;
  padding-inline: var(--am-pad);
}
@media (min-width: 320px) {
  .am-container {
    width: 100%;
  }
}
@media (min-width: 1600px) {
  .am-container {
    width: var(--am-container-xl);
  }
}
@media (max-width: 1200px) {
  .am-container {
    padding-inline: 30px;
  }
}
@media (max-width: 991px) {
  .am-container {
    padding-inline: 15px;
  }
}

.am-main {
  min-height: 40vh;
  padding-top: var(--am-header);
  border-radius: 0 0 80px 80px;
  background: var(--am-bg);
  position: relative;
  z-index: 1;
}

/* Buttons */
.am-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: var(--am-font);
  font-weight: 500;
  transition: transform 0.25s var(--am-ease), opacity 0.2s;
}
.am-btn:hover {
  transform: translateY(-1px);
}
.am-btn--dark {
  background: var(--am-ink);
  color: #e7e7e7;
}
.am-btn--accent {
  background: var(--am-accent);
  color: #fff;
}
.am-btn--header {
  width: 108px;
  height: 37px;
  font-size: 18px;
  border-radius: var(--am-radius-btn);
}
.am-btn--cta {
  min-width: 409px;
  height: 99px;
  padding: 0 40px;
  font-size: 37px;
  font-weight: 400;
  border-radius: var(--am-radius-cta);
}

.am-section-title {
  font-family: var(--am-font);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 40px;
  color: var(--am-ink);
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}

.am-eyebrow {
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 12px;
}
.am-eyebrow--line {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.am-eyebrow a {
  color: inherit;
  text-decoration: inherit;
}

.am-h1 {
  font-family: var(--am-font);
  font-size: clamp(36px, 4vw, 45px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.am-h1--service {
  font-size: clamp(36px, 4vw, 54.5px);
  max-width: 12ch;
  line-height: 1.05;
}

/* Header */
.am-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--am-header);
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(234, 234, 234, 0.5);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translate3d(0, 0, 0);
  transition: transform 1.5s var(--am-ease-slow), background 1.1s, box-shadow 1.1s;
}
.am-header.is-hidden {
  transform: translate3d(0, -100%, 0);
  pointer-events: none;
}
.am-header.is-docked {
  transition: background 1.1s, box-shadow 0.5s;
}
.am-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.am-header__actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 32px;
}

.am-header.is-hidden + .am-main .am-article__actions,
.am-header.is-hidden + .am-main .am-baza-widget--call {
  top: 16px;
}

.no-transition {
  transition: none !important;
}

.top_position:not(.is-menu-open) .am-header {
  background: transparent;
  backdrop-filter: blur(0);
  box-shadow: none;
}
.top_position:not(.is-menu-open) .am-header.is-docked {
  transition: background 0.5s, box-shadow 0.5s;
}

/* Leaving page / reload — never keep video sample in header blur */
html.am-leaving .am-orb,
html.am-leaving video.am-orb__video {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}
html.am-leaving .am-header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: var(--am-bg) !important;
}

body.is-menu-open .am-header {
  transition: none;
  background: var(--am-bg);
}
body.is-menu-open .am-header.is-hidden {
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .am-header {
    transition: none;
  }
}
.am-logo {
  position: relative;
  font-family: var(--am-display);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: lowercase;
  color: var(--am-ink);
}

.am-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  margin-right: 0;
}
.am-nav__link, .am-nav__toggle {
  background: none;
  border: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--am-nav);
  letter-spacing: 0.01em;
  cursor: pointer;
}
.am-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.am-nav__toggle::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.am-nav__item--dropdown {
  position: relative;
}
.am-nav__item--dropdown:hover .am-nav__dropdown, .am-nav__item--dropdown.is-open .am-nav__dropdown {
  display: flex;
}
.am-nav__dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 200px;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 20;
}
.am-nav__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 14px;
}
.am-nav__dropdown a {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 400;
}
.am-nav__dropdown a:hover {
  background: var(--am-wash);
}

.am-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
}
.am-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--am-ink);
  transition: transform 0.25s var(--am-ease), opacity 0.2s;
}

body.is-menu-open .am-burger span:first-child {
  transform: translateY(4px) rotate(45deg);
}
body.is-menu-open .am-burger span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.am-hero {
  position: relative;
  padding: 0 0 24px;
  overflow: hidden;
  min-height: 980px;
  margin-top: -100px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.am-hero__orb {
  position: absolute;
  left: calc(50% - 5px);
  top: calc(42% - 40px);
  translate: -50% -50%;
  width: min(1500px, 165vw);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
  background: transparent;
}
.am-hero__top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 200px;
}
.am-hero__bottom {
  position: relative;
  z-index: 1;
  padding-bottom: 100px;
}
.am-hero__lead {
  margin: 0;
  font-family: var(--am-font);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.12;
}
.am-hero__aside {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  color: var(--am-ink);
  text-align: right;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  padding-right: 40px;
}
.am-hero__brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
}
.am-hero__word {
  display: block;
  height: auto;
  flex-shrink: 1;
  min-width: 0;
  /* any SVG includes y-descender; shift down so x-height baseline matches media */
}
.am-hero__word--any {
  width: min(354px, 28vw);
  position: relative;
  top: calc(min(394px, 32vw) * 39 / 394);
}
.am-hero__word--media {
  width: min(594px, 47vw);
}
.am-hero__word--development {
  font-family: var(--am-font);
  font-weight: 700;
  font-size: clamp(56px, 8.86vw, 127.6px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-transform: lowercase;
  color: var(--am-ink);
}
.am-hero__word--design {
  font-family: var(--am-font);
  font-weight: 700;
  font-size: calc(min(354px, 28vw) * 123 / 394 / 0.53);
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-transform: lowercase;
  color: var(--am-ink);
}
.am-hero__word--promotion {
  font-family: var(--am-font);
  font-weight: 700;
  font-size: clamp(56px, 8.86vw, 150px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-transform: lowercase;
  color: var(--am-ink);
}

.am-service-page .am-award__wrap {
  padding-top: 60px;
  padding-bottom: 30px;
}

/* Benefits — Figma: note+CTA share a column, height matches headline (~225) */
.am-benefits {
  position: relative;
  z-index: 2;
  padding: 66px 0 100px;
  background: var(--am-wash);
  border-radius: 112px 112px 112px 112px;
  margin-top: -40px;
}
.am-benefits__row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  -moz-column-gap: 48px;
       column-gap: 48px;
  align-items: stretch;
  margin-bottom: 60px;
  min-height: 225px;
}
.am-benefits__row:last-child {
  margin-bottom: 0;
  min-height: 135px;
}
.am-benefits__headline {
  margin: 0;
  font-family: var(--am-font);
  font-size: clamp(28px, 3.125vw, 45px);
  font-weight: 400;
  line-height: 1;
  max-width: 19ch;
}
.am-benefits__main--right .am-benefits__headline {
  margin-left: auto;
  max-width: 18ch;
}
.am-benefits__note {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color: var(--am-ink);
  max-width: 34ch;
}

.am-benefits__key {
  display: block;
  color: #000;
}

.am-benefits__body {
  display: block;
  color: #7e7e7e;
}

.am-benefits__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  min-height: 100%;
  text-align: right;
}

.am-benefits__row--2 .am-benefits__aside {
  align-items: flex-start;
  text-align: left;
}

.am-benefits__note--end {
  text-align: right;
}

.am-benefits__main--right {
  justify-self: end;
  text-align: right;
}

.am-benefits__row--2 {
  grid-template-columns: 0.85fr 1.15fr;
}

.am-cta {
  display: inline-flex;
  align-items: flex-end;
  gap: 15px;
  margin-top: 0;
  width: -moz-fit-content;
  width: fit-content;
}

.am-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  padding: 0 28px;
  font-size: 26px;
  font-weight: 500;
  border-radius: 30px 30px 0 30px;
  white-space: nowrap;
  overflow: hidden;
}

.am-cta__btn--team {
  min-width: 244px;
}

.am-cta__btn--portfolio {
  min-width: 196px;
  height: 56px;
}

.am-cta__btn--order {
  min-width: 148px;
  height: 56px;
}

.am-cta__btn--dark {
  background: var(--am-ink);
  color: #e7e7e7;
}

.am-cta__btn--accent {
  background: var(--am-accent);
  color: #fff;
}

.am-cta__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}
.am-cta__icon--left {
  transform: scaleX(-1);
}

.am-page--portfolio .am-cases {
  padding-top: 20px;
  padding-bottom: 0;
}
.am-page--portfolio .am-filters {
  margin-bottom: 48px;
}
.am-page--portfolio .am-contact-cta {
  padding-top: 0;
}

/* Cases — 2 independent columns, pitch 678, offset 226 */
.am-cases,
.am-service-cases {
  padding: 80px 0;
}

.am-cases .am-section-title {
  margin-bottom: 70px;
}
.am-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 600px));
  -moz-column-gap: 78px;
       column-gap: 78px;
  justify-content: space-between;
  align-items: start;
  transition: opacity 0.28s var(--am-ease);
}
.am-cases.is-filter-fade .am-cases__grid {
  opacity: 0;
}
.am-cases__col {
  display: flex;
  flex-direction: column;
}
.am-cases__col--right {
  padding-top: 226px;
}

.am-case-card {
  position: relative;
  display: block;
  min-height: 678px;
}
.am-case-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 600/452;
  border-radius: 28px;
  /* clip-path вместо overflow:hidden — без светлой AA-окантовки */
  clip-path: inset(0 round 28px);
}
.am-case-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1.06);
  transform-origin: center;
  transition: transform 1.2s var(--am-ease);
}
.am-case-card__media img:hover {
  transform: scale(1.1);
}
.am-case-card__placeholder {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: var(--am-wash);
}
.am-case-card {
  /* Bottom-right tag dock: convex radius + SVG-masked fillets (no radial-gradient shimmer) */
}
.am-case-card__tags {
  --am-cut: 28px;
  /* Quarter-disk hole masks — vector edges, color from background-color */
  --am-cut-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath fill='%23000' d='M0 0h28v28A28 28 0 0 0 0 0z'/%3E%3C/svg%3E");
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  max-width: calc(100% - 20px);
  padding: 14.5px;
  box-sizing: border-box;
  background: var(--am-bg);
  border-top-left-radius: var(--am-cut);
  transform: translateZ(0);
  isolation: isolate;
}
.am-case-card__tags > span[hidden] {
  display: none !important;
}
.am-case-card__tags::before, .am-case-card__tags::after {
  content: "";
  position: absolute;
  width: var(--am-cut);
  height: var(--am-cut);
  pointer-events: none;
  background-color: var(--am-bg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center;
  mask-position: center;
  transform: translateZ(0) rotate(90deg);
}
.am-case-card__tags {
  /* Concave fillet left of tags */
}
.am-case-card__tags::before {
  left: calc(-1 * var(--am-cut));
  bottom: 0;
  -webkit-mask-image: var(--am-cut-mask);
  mask-image: var(--am-cut-mask);
}
.am-case-card__tags {
  /* Concave fillet above tags */
}
.am-case-card__tags::after {
  right: 0;
  top: calc(-1 * var(--am-cut));
  -webkit-mask-image: var(--am-cut-mask);
  mask-image: var(--am-cut-mask);
}
.am-case-card__tags span {
  display: inline-flex;
  align-items: center;
  height: 37px;
  padding: 0 16px;
  border-radius: 20px;
  background: var(--am-ink);
  color: #e7e7e7;
  font-size: 18px;
  font-weight: 500;
}
.am-case-card__title {
  margin: 30px 0 0;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  max-width: 28ch;
  word-break: keep-all;
}

.am-cases__col--left .am-case-card:last-child,
.am-cases__col--right .am-case-card:last-child {
  min-height: 0;
  margin-bottom: 0;
}

/* Infinite: keep card pitch stable — last-child min-height:0 caused jump on append */
.am-cases--infinite .am-cases__col--left .am-case-card:last-child,
.am-cases--infinite .am-cases__col--right .am-case-card:last-child {
  min-height: 678px;
}

.am-cases--infinite .am-cases__grid {
  overflow-anchor: none;
}

.am-cases__more {
  text-align: right;
  margin-top: -56px;
}
.am-cases__more a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 10px;
  font-size: 18px;
}

.am-cases__loader {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 88px;
  margin-top: 40px;
  padding: 20px;
  color: var(--am-ink);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-anchor: none;
}

.am-cases__loader.is-visible {
  display: flex;
}

.am-cases__loader[hidden] {
  display: none !important;
}

.am-cases__spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(42, 42, 48, 0.15);
  border-top-color: var(--am-accent);
  animation: am-spin 0.75s linear infinite;
  flex-shrink: 0;
}

.am-cases__loader-text {
  color: var(--am-muted);
}

.am-cases__empty {
  margin: 24px 0 0;
  font-size: 18px;
  color: var(--am-muted);
}

.am-case-card--skeleton {
  pointer-events: none;
}
.am-case-card--skeleton .am-case-card__placeholder--skel {
  background-color: rgba(42, 42, 48, 0.1);
  background-image: linear-gradient(90deg, rgba(42, 42, 48, 0.1) 0%, rgba(42, 42, 48, 0.1) 40%, rgba(255, 255, 255, 0.55) 50%, rgba(42, 42, 48, 0.1) 60%, rgba(42, 42, 48, 0.1) 100%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: skeleton-shimmer 1.25s ease-in-out infinite;
}
.am-case-card--skeleton .am-case-card__tags--skel span {
  width: 96px;
  padding: 0;
  color: transparent;
  background-color: rgba(42, 42, 48, 0.14);
  background-image: linear-gradient(90deg, rgba(42, 42, 48, 0.14) 0%, rgba(42, 42, 48, 0.14) 40%, rgba(255, 255, 255, 0.5) 50%, rgba(42, 42, 48, 0.14) 60%, rgba(42, 42, 48, 0.14) 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.25s ease-in-out infinite;
}
.am-case-card--skeleton .am-case-card__tags--skel span:nth-child(2) {
  width: 118px;
  animation-delay: 0.08s;
}
.am-case-card--skeleton .am-case-card__tags--skel span:nth-child(3) {
  width: 108px;
  animation-delay: 0.16s;
}
.am-case-card--skeleton .am-case-card__title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 76.8px;
}
.am-case-card--skeleton .am-case-card__skel-title {
  display: block;
  height: 28px;
  margin: 0;
  border-radius: 10px;
  width: 78%;
}
.am-case-card--skeleton .am-case-card__skel-title:nth-child(2) {
  width: 52%;
  animation-delay: 0.1s;
}

.am-cases.is-filtering .am-cases__loader {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .am-cases__grid {
    transition: none;
  }
}
@keyframes am-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Flagship — two raised tabs + body (Figma visual) */
.am-flagship {
  padding: 40px 0 40px;
}
.am-flagship__card {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1278/537;
  color: inherit;
}
.am-flagship__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none;
  display: block;
  border-radius: 80px;
  z-index: 1;
}
.am-flagship__content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  left: 20%;
  display: flex;
  overflow: visible;
}
.am-flagship__label, .am-flagship__title {
  --am-cut: 32px;
  --am-cut-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath fill='%23000' d='M0 0h28v28A28 28 0 0 0 0 0z'/%3E%3C/svg%3E");
  position: relative;
  isolation: isolate;
  background: var(--am-bg);
  height: -moz-fit-content;
  height: fit-content;
}
.am-flagship__label::before, .am-flagship__title::before {
  content: "";
  position: absolute;
  width: var(--am-cut);
  height: var(--am-cut);
  pointer-events: none;
  background-color: var(--am-bg);
  -webkit-mask-image: var(--am-cut-mask);
  mask-image: var(--am-cut-mask);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.am-flagship__label {
  margin: 0;
  font-size: clamp(22px, 2.22vw, 32px);
  font-weight: 400;
  line-height: 1.15;
  padding: 14px 30px 28px 30px;
  border-bottom-left-radius: var(--am-cut);
  /* Concave top-left: left of label */
}
.am-flagship__label::before {
  left: calc(-1 * var(--am-cut));
  top: 0;
}
.am-flagship__title {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  padding: 51px 50px 40px 50px;
  border-bottom-left-radius: var(--am-cut);
  border-bottom-right-radius: var(--am-cut);
  /* Concave top-right: right of title */
}
.am-flagship__title::before {
  right: calc(-1 * var(--am-cut));
  top: 0;
  transform: rotate(270deg);
}
.am-flagship__images {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 2;
}
.am-flagship__images--left {
  width: 371px;
  height: 412px;
  -o-object-fit: contain;
     object-fit: contain;
}
.am-flagship__images--center {
  width: 239px;
  height: 304px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-left: 50px;
}
.am-flagship__images--right {
  width: 471px;
  height: 462px;
  -o-object-fit: contain;
     object-fit: contain;
  margin-left: -56px;
  margin-bottom: -85px;
}

/* Services */
.am-services {
  padding: 40px 0 100px;
}
.am-services .am-section-title {
  margin-bottom: 50px;
}
.am-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
}
.am-services__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.am-services__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.am-service-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 285px;
  color: inherit;
}
.am-service-cta-end {
  display: contents;
}
.am-service-cta-end.is-merged {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  min-height: 285px;
  padding-left: 40px;
}
.am-service-cta-end.is-merged .am-service-cta {
  min-height: 0;
  justify-content: flex-start;
}
.am-service-cta-end.is-merged .am-service-cta__brief,
.am-service-cta-end.is-merged .am-service-cta__brief__content {
  justify-content: flex-start;
}
.am-service-cta__brief {
  display: flex;
  align-items: center;
  gap: 12px;
}
.am-service-cta__brief__content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  font-family: var(--am-font);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
}
.am-service-cta__brief__content svg {
  flex-shrink: 0;
  margin-top: 5px;
}
.am-service-cta__contacts__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.am-service-cta__contacts a {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--am-font);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  width: -moz-fit-content;
  width: fit-content;
}
.am-service-cta__contacts a svg {
  flex-shrink: 0;
  margin-top: 5px;
}

.am-service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 285px;
  padding: 28px 32px;
  background: var(--am-wash);
  border-radius: var(--am-radius-service);
  color: inherit;
}
.am-service-card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 14ch;
}
.am-service-card p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--am-muted-2);
}
.am-service-card__price {
  margin-top: auto;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--am-ink);
}
.am-service-card--cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: transparent;
  min-height: auto;
}
.am-service-card--cta a {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--am-font);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}
.am-service-card--cta-side {
  position: sticky;
  top: calc(var(--am-header) + 24px);
  padding-top: 72px;
  align-self: start;
  min-width: 0;
  width: 100%;
}

.am-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 400;
  color: var(--am-muted);
  letter-spacing: 0.01em;
}
.am-crumbs a {
  color: var(--am-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.am-crumbs a:hover {
  color: var(--am-ink);
}
.am-crumbs span:last-child {
  color: var(--am-ink);
}

.am-faq {
  padding: 64px 0 16px;
}
.am-faq__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--am-line);
}
.am-faq__item {
  border-bottom: 1px solid var(--am-line);
}
.am-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 22px 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  color: var(--am-ink);
  cursor: pointer;
}
.am-faq__q::after {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: linear-gradient(currentColor, currentColor) center/18px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center/1.5px 18px no-repeat;
  transition: transform 0.35s var(--am-ease);
}
.am-faq__item.is-open .am-faq__q::after {
  transform: rotate(45deg);
}
.am-faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--am-ease);
}
.am-faq__item.is-open .am-faq__panel {
  grid-template-rows: 1fr;
}
.am-faq__a {
  overflow: hidden;
  min-height: 0;
  padding: 0 72px 0 0;
  max-width: 46rem;
  font-size: 18px;
  line-height: 1.55;
  color: var(--am-nav);
  opacity: 0;
  transition: opacity 0.28s var(--am-ease), padding-bottom 0.4s var(--am-ease);
}
.am-faq__a a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.am-faq__a a:hover {
  color: var(--am-ink);
}
.am-faq__item.is-open .am-faq__a {
  padding-bottom: 24px;
  opacity: 1;
}

.home .am-main {
  display: flex;
  flex-direction: column;
}
.home .am-home-h1 {
  order: 1;
  padding-top: 48px;
}
.home .am-text {
  order: 2;
  padding: 0 0 48px;
}
.home .am-contact-cta {
  order: 3;
}
.home .am-text__title {
  text-align: center;
}

.am-text {
  padding: 48px 0 96px;
  color: var(--am-ink);
}
.am-text__title {
  margin: 40px 0 28px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--am-ink);
}
.am-text__body {
  font-size: 18px;
  line-height: 1.55;
  color: var(--am-nav);
}
.am-text__body p {
  margin: 0 0 1.1em;
}
.am-text__body h3 {
  margin: 1.6em 0 0.7em;
  font-size: 22px;
  font-weight: 500;
  color: var(--am-ink);
}
.am-text__body ul {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
  list-style: disc;
}
.am-text__body ul li {
  margin: 0 0 0.45em;
  padding-left: 0.15em;
}
.am-text__body a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.am-text__body a:hover {
  color: var(--am-ink);
}
.am-text__body strong {
  font-weight: 500;
  color: var(--am-ink);
}
.am-text--compact {
  padding: 16px 0 64px;
}

/* Award */
.am-award {
  padding: 0 0 80px;
}
.am-award__wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.am-award__card {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 493px;
  max-width: 100%;
  min-height: 151px;
  padding: 26px 36px;
  background: var(--am-award);
  border-radius: 120px;
  color: #fff;
  box-sizing: border-box;
}
.am-award__laurel {
  width: 100px;
  height: 100px;
  -o-object-fit: contain;
     object-fit: contain;
  flex-shrink: 0;
}
.am-award__logo {
  width: 99px;
  height: 99px;
  -o-object-fit: contain;
     object-fit: contain;
  flex-shrink: 0;
}
.am-award__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--am-display);
}
.am-award__text strong {
  font-size: 18px;
  font-weight: 600;
}
.am-award__text span {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
}

/* Reviews */
.am-reviews {
  padding: 40px 0 0;
}
.am-reviews .am-section-title {
  margin-bottom: 80px;
}
.am-reviews__viewport {
  overflow: hidden;
  container-type: inline-size;
  container-name: reviews;
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.am-reviews__viewport.is-dragging {
  cursor: grabbing;
}
.am-reviews__viewport.is-dragging .am-reviews__track {
  transition: none;
}
.am-reviews__track {
  display: flex;
  gap: 63px;
  transition: transform 0.45s var(--am-ease);
  will-change: transform;
}
.am-reviews__nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
}
.am-reviews__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--am-ink);
  cursor: pointer;
  opacity: 0.35;
  transition: opacity 0.2s, color 0.2s;
}
.am-reviews__arrow:disabled {
  cursor: default;
  opacity: 0.2;
}
.am-reviews__arrow.is-active {
  opacity: 1;
}

.am-review-card {
  flex: 0 0 calc((100cqi - 63px) / 2);
  width: calc((100cqi - 63px) / 2);
  max-width: calc((100cqi - 63px) / 2);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 402px;
  padding: 17px 36px 28px 8px;
  background: transparent;
  border: 1px solid #cdcbcf;
  border-radius: var(--am-radius-review);
  box-sizing: border-box;
}
.am-review-card__media {
  position: relative;
  flex: 0 0 210px;
  width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 0;
}
.am-review-card__avatar {
  position: relative;
  width: 210px;
  height: 210px;
  flex-shrink: 0;
}
.am-review-card__avatar-background {
  position: absolute;
  z-index: 1;
  top: 22px;
  right: -26px;
  width: 230px;
  height: 230px;
  max-width: none;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.am-review-card__avatar-image {
  position: absolute;
  z-index: 2;
  top: 47px;
  left: 50%;
  width: 120px;
  height: 120px;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  transform: translateX(-50%);
  box-shadow: 5px 6px 14px rgba(0, 0, 0, 0.25), inset 7px 3px 14px rgba(0, 0, 0, 0.25), inset -7px -6px 23px rgba(255, 255, 255, 0.25);
}
.am-review-card__avatar-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.am-review-card__likes {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
  margin-left: 50px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--am-display);
  font-size: 14px;
  line-height: 1;
  color: var(--am-ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.am-review-card__likes.is-active {
  color: var(--am-accent);
}
.am-review-card__likes:focus-visible {
  outline: 2px solid var(--am-accent);
  outline-offset: 4px;
  border-radius: 8px;
}
.am-review-card__heart {
  position: relative;
  display: inline-flex;
  width: 32px;
  height: 30px;
  flex-shrink: 0;
}
.am-review-card__heart-outline, .am-review-card__heart-fill {
  position: absolute;
  inset: 0;
  width: 32px;
  height: 30px;
  transition: opacity 0.15s ease, transform 0.2s var(--am-ease);
}
.am-review-card__heart-fill {
  color: var(--am-accent);
  opacity: 0;
  transform: scale(0.7);
}
.am-review-card__likes.is-active .am-review-card__heart-outline {
  opacity: 0;
}
.am-review-card__likes.is-active .am-review-card__heart-fill {
  opacity: 1;
  transform: scale(1);
}
.am-review-card__burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.am-review-card__burst span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 1.5px;
  margin: -0.75px 0 0;
  border-radius: 1px;
  background: var(--am-accent);
  opacity: 0;
  transform-origin: left center;
}
.am-review-card__burst span:nth-child(1) {
  transform: rotate(-45deg) translateX(10px) scaleX(0);
}
.am-review-card__burst span:nth-child(2) {
  transform: rotate(45deg) translateX(10px) scaleX(0);
}
.am-review-card__burst span:nth-child(3) {
  transform: rotate(-135deg) translateX(10px) scaleX(0);
}
.am-review-card__burst span:nth-child(4) {
  transform: rotate(135deg) translateX(10px) scaleX(0);
}
.am-review-card__likes.is-burst .am-review-card__burst span {
  animation: am-review-burst 0.45s var(--am-ease) forwards;
}
.am-review-card__likes.is-burst .am-review-card__burst span:nth-child(2) {
  animation-delay: 0.02s;
}
.am-review-card__likes.is-burst .am-review-card__burst span:nth-child(3) {
  animation-delay: 0.04s;
}
.am-review-card__likes.is-burst .am-review-card__burst span:nth-child(4) {
  animation-delay: 0.06s;
}
.am-review-card__likes.is-burst .am-review-card__heart-fill {
  animation: am-review-heart-pop 0.35s var(--am-ease);
}
.am-review-card__count {
  min-width: 2ch;
  text-align: left;
}
.am-review-card__body {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 46px;
}
.am-review-card__name {
  font-family: var(--am-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 17px;
  color: #000;
}
.am-review-card__text {
  margin: 0;
  font-family: var(--am-display);
  font-size: 14px;
  line-height: 1.3;
  color: var(--am-muted);
}

.ml-2 {
  margin-left: 15px;
}

@keyframes am-review-burst {
  0% {
    opacity: 0;
    transform: rotate(var(--am-burst-rot, -45deg)) translateX(8px) scaleX(0.2);
  }
  35% {
    opacity: 1;
    transform: rotate(var(--am-burst-rot, -45deg)) translateX(16px) scaleX(1);
  }
  100% {
    opacity: 0;
    transform: rotate(var(--am-burst-rot, -45deg)) translateX(22px) scaleX(0.4);
  }
}
@keyframes am-review-heart-pop {
  0% {
    transform: scale(0.7);
  }
  55% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}
.am-review-card__burst span:nth-child(1) {
  --am-burst-rot: -45deg;
}

.am-review-card__burst span:nth-child(2) {
  --am-burst-rot: 45deg;
}

.am-review-card__burst span:nth-child(3) {
  --am-burst-rot: -135deg;
}

.am-review-card__burst span:nth-child(4) {
  --am-burst-rot: 135deg;
}

.am-contact-cta {
  position: relative;
  z-index: 1;
  padding: 40px 0 40px;
}
.am-contact-cta__title {
  margin-bottom: 122px;
}
.am-contact-cta__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 94px;
  padding-bottom: 90px;
}
.am-contact-cta__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0 0 0 90px;
  list-style: none;
}
.am-contact-cta__links li:last-child {
  margin-top: 80px;
}
.am-contact-cta__links li:last-child a {
  align-items: flex-start;
}
.am-contact-cta__links a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 24px;
  font-weight: 400;
  line-height: 31px;
  color: var(--am-ink);
}
.am-contact-cta__links a svg {
  flex-shrink: 0;
  margin-top: 5px;
}
.am-contact-cta__links a span {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.am-contact-cta__links a span svg {
  margin-top: 15px;
}
.am-contact-cta__or span {
  display: block;
  max-width: 206px;
  text-decoration: none;
  line-height: 31px;
}
.am-contact-cta__or u {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.am-contact-cta-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  margin-top: 98px;
}
.am-contact-cta-arrow {
  margin-left: 44px;
  color: var(--am-ink);
}
.am-contact-cta .am-btn--cta {
  flex-shrink: 0;
}

/* Cookie consent — starts hidden; JS reveals if no am_cookie_consent */
.am-cookies {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 16px var(--am-pad) calc(16px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.35s var(--am-ease), transform 0.35s var(--am-ease);
}
.am-cookies[hidden] {
  display: none !important;
}
.am-cookies.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
.am-cookies__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--am-container-xl);
  margin: 0 auto;
  padding: 20px 24px;
  background: rgba(234, 234, 234, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.08);
}
.am-cookies__text {
  margin: 0;
  flex: 1 1 auto;
  font-size: 15px;
  line-height: 1.45;
  color: var(--am-ink);
}
.am-cookies__text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.am-cookies__btn {
  flex: 0 0 auto;
  min-width: 120px;
  height: 44px;
  padding: 0 24px;
  font-size: 16px;
  border-radius: var(--am-radius-btn);
}

.am-footer {
  position: relative;
  z-index: 0;
  background: var(--am-wash);
  color: var(--am-ink);
  padding: 180px 0 20px;
  margin-top: -80px;
}
.am-footer a {
  color: var(--am-ink);
}
.am-footer__grid {
  display: grid;
  grid-template-columns: 524px 446px 1fr;
  -moz-column-gap: 0;
       column-gap: 0;
  row-gap: 40px;
  margin-bottom: 92px;
  align-items: start;
}
.am-footer__brand .am-logo {
  display: inline-block;
  width: 69px;
  height: auto;
  line-height: 0;
}
.am-footer__brand .am-logo img {
  display: block;
  width: 69px;
  height: auto;
}
.am-footer__cta-text {
  margin: 100px 0 0;
  max-width: 158px;
  font-size: 18px;
  font-weight: 400;
  line-height: 23px;
}
.am-footer__cta-text a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.am-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 25px;
  border-top: 1px solid #acacac;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
}
.am-footer__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 23px;
  margin: 0 0 22px;
}
.am-footer__title--spaced {
  margin-top: 46px;
}
.am-footer__list {
  display: grid;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  font-weight: 400;
  line-height: 18px;
}
.am-footer__socials {
  display: flex;
  gap: 32px;
}
.am-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  background: transparent;
  color: var(--am-ink);
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.am-footer__list--arrows a,
.am-footer__list--arrows span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.am-footer__list--arrows a::before,
.am-footer__list--arrows span::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 19px;
  background: url("assets/icons/arrow-right.svg") center/contain no-repeat;
}

.am-footer__text {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 18px;
}

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

.am-footer__docs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.am-footer__docs a {
  color: #727275;
  text-underline-offset: 3px;
  font-size: 14px;
}
.am-footer__docs a:hover {
  color: var(--am-ink);
}

/* Inner pages */
.am-page-hero {
  padding: 40px 0 24px;
}
.am-page-hero--services {
  padding: 48px 0 8px;
}
.am-page-hero__lead {
  margin: 16px 0 0;
  max-width: 42rem;
  font-size: 20px;
  font-weight: 400;
  color: var(--am-muted);
  line-height: 1.4;
}
.am-page-hero__lead a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: inherit;
}

.am-page-hero--split .am-page-hero__grid {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.am-legal {
  margin: 16px 0 0;
  font-size: 18px;
  color: var(--am-muted);
}
.am-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: inherit;
}
.am-legal__meta {
  margin: 12px 0 0;
  font-size: 16px;
  color: var(--am-muted);
}
.am-legal__body {
  font-size: 18px;
  line-height: 1.55;
  color: var(--am-nav);
  padding-bottom: 60px;
}
.am-legal__body p {
  margin: 0 0 1.1em;
}
.am-legal__body h2 {
  margin: 1.75em 0 0.7em;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--am-ink);
}
.am-legal__body ul {
  margin: 0 0 1.2em;
  padding-left: 1.35em;
  list-style: disc;
}
.am-legal__body ul li {
  margin: 0 0 0.45em;
  padding-left: 0.15em;
}
.am-legal__body a {
  color: var(--am-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 404 */
.am-404 {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--am-header));
  padding: 80px 0 120px;
  display: flex;
  align-items: center;
}
.am-404__orb {
  position: absolute;
  left: 62%;
  top: 42%;
  translate: -50% -50%;
  width: min(1348px, 140vw);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
  background: transparent;
}
.am-404__inner {
  position: relative;
  z-index: 1;
  padding-left: 200px;
}
.am-404__code {
  margin: 28px 0 12px;
  font-family: var(--am-display);
  font-weight: 700;
  font-size: clamp(96px, 18vw, 222px);
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: var(--am-ink);
}
.am-404__title {
  margin-top: 8px;
}
.am-404__text {
  margin: 28px 0 0;
  max-width: 36ch;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--am-muted);
}
.am-404__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 36px;
  margin-top: 48px;
}
.am-404__cta {
  min-width: 280px;
  height: 72px;
  padding: 0 36px;
  font-size: 28px;
}
.am-404__ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  text-decoration: underline;
  text-underline-offset: 6px;
  color: var(--am-ink);
}
.am-404__ghost::after {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 19px;
  background: url("assets/icons/arrow-right.svg") center/contain no-repeat;
}
.am-404__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin: 72px 0 0;
  padding: 0;
  list-style: none;
}
.am-404__nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: var(--am-ink);
}
.am-404__nav a::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 19px;
  opacity: 0.7;
  background: url("assets/icons/arrow-right.svg") center/contain no-repeat;
}

/* Order form */
.am-order-form {
  display: grid;
  gap: 36px;
  padding-bottom: 150px;
}
.am-order-form.is-sending {
  pointer-events: none;
}
.am-order-form.is-sending > *:not(.am-form-progress) {
  opacity: 0.72;
}
.am-order-form.is-sending .am-cta--submit, .am-order-form.is-sent .am-cta--submit {
  display: none;
}
.am-order-form .am-field {
  position: relative;
  max-width: 740px;
  padding-top: 0;
  transition: padding-top 0.35s var(--am-ease);
}
.am-order-form .am-field.is-filled {
  padding-top: 22px;
}
.am-order-form .am-field__label {
  position: absolute;
  left: 0;
  top: 8px;
  margin: 0;
  font-family: var(--am-font);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  color: #7e7e7e;
  pointer-events: none;
  transform: translateY(0) scale(1);
  transform-origin: left top;
  transition: transform 0.35s var(--am-ease), color 0.35s var(--am-ease), top 0.35s var(--am-ease);
}
.am-order-form .am-field.is-filled .am-field__label {
  top: 0;
  color: #7e7e7e;
  transform: translateY(0) scale(0.5);
}
.am-order-form .am-input {
  position: relative;
  z-index: 1;
  padding: 8px 0 14px;
  font-family: var(--am-font);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--am-ink);
}
.am-order-form .am-input::-moz-placeholder {
  color: transparent;
  opacity: 0;
}
.am-order-form .am-input::placeholder {
  color: transparent;
  opacity: 0;
}
.am-order-form .am-input::-webkit-input-placeholder {
  color: transparent;
  opacity: 0;
}
.am-order-form .am-input::-moz-placeholder {
  color: transparent;
  opacity: 0;
}
.am-order-form .am-textarea {
  min-height: 0;
  height: auto;
  resize: none;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--am-line);
  border-radius: 0;
  field-sizing: content;
}
.am-order-form .with_mt {
  margin-top: 20px;
}

.am-fieldset--need {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: max-height 0.45s var(--am-ease), opacity 0.32s var(--am-ease), transform 0.4s var(--am-ease);
}
.am-fieldset--need.is-open {
  max-height: 420px;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.am-fieldset--need[hidden] {
  display: none !important;
}

.am-fieldset legend,
.am-label {
  display: block;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 8px;
}

.am-hint {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--am-muted);
}

.am-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.am-check {
  cursor: pointer;
}

.am-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.am-check span {
  display: inline-flex;
  align-items: center;
  min-height: 65px;
  padding: 0 28px;
  border-radius: 40px;
  background: var(--am-chip);
  font-size: 24px;
  transition: background 0.2s, color 0.2s;
}

.am-check input:checked + span {
  background: #000;
  color: #f4f4f4;
}

.am-input {
  width: 100%;
  max-width: 740px;
  border: 0;
  border-bottom: 1px solid var(--am-line);
  background: transparent;
  padding: 12px 0;
  outline: none;
  font-size: 18px;
}

.am-textarea {
  min-height: 120px;
  resize: vertical;
  border: 1px solid var(--am-line);
  border-radius: 0;
  border-width: 0 0 1px;
}

.am-attach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 16px;
}

.am-attach__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--am-ink);
  font-family: var(--am-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
}

.am-attach__icon {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.am-attach__file {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 14px 0 16px;
  border: 1px solid rgba(42, 42, 48, 0.35);
  border-radius: 999px;
  background: var(--am-chip);
  color: var(--am-ink);
  font-size: 14px;
  line-height: 1;
}
.am-attach__file[hidden] {
  display: none !important;
}

.am-attach__name {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.am-attach__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--am-ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.am-attach__hint {
  flex-basis: 100%;
  margin: 0;
  font-family: var(--am-font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--am-muted);
}

.am-attach .am-field__error {
  flex-basis: 100%;
  margin-top: 0;
}

.am-cta--submit {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  margin-top: 50px;
}

.am-cta__btn--xl {
  height: 99px;
  padding: 0 48px;
  font-size: 37px;
  font-weight: 400;
  border-radius: var(--am-radius-cta);
}

.am-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 740px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.45;
  color: var(--am-nav);
}

.am-form-consent__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.am-form-consent__box {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid var(--am-ink);
  border-radius: 6px;
  background: transparent;
  box-sizing: border-box;
  position: relative;
  transition: background 0.2s var(--am-ease), border-color 0.2s var(--am-ease);
}

.am-form-consent__box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s var(--am-ease);
}

.am-form-consent__input:checked + .am-form-consent__box {
  background: var(--am-ink);
  border-color: var(--am-ink);
}

.am-form-consent__input:checked + .am-form-consent__box::after {
  transform: rotate(45deg) scale(1);
}

.am-form-consent__input:focus-visible + .am-form-consent__box {
  outline: 2px solid var(--am-accent);
  outline-offset: 2px;
}

.am-form-consent__text a {
  color: var(--am-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.am-form-consent__text a:hover {
  opacity: 0.75;
}

.am-form-consent.is-invalid .am-form-consent__box {
  border-color: #c43b3b;
}

.am-field.is-invalid .am-input,
.am-field.is-invalid .am-textarea {
  border-color: #c43b3b;
}

.am-feedback__field.is-invalid .am-feedback__input {
  border-bottom-color: #c43b3b;
}

.am-feedback__field.is-invalid .am-field__label {
  color: #c43b3b;
}

.am-fieldset.is-invalid legend {
  color: #c43b3b;
}

.am-field__error {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.35;
  color: #c43b3b;
}

/* Team */
.am-team {
  padding: 24px 0 100px;
}

.am-team-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.am-team-card--left {
  grid-template-columns: 1fr 380px;
}

.am-team-card--left .am-team-card__photo {
  order: 2;
}

.am-team-card--left .am-team-card__body {
  order: 1;
  text-align: right;
  justify-self: end;
}

.am-team-card__photo {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: visible;
  background: transparent;
}

.am-team-card__photo::before {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 123, 250, 0.45) 0%, rgba(123, 123, 250, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.am-team-card__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
  filter: grayscale(1);
}

.am-team-card__body {
  max-width: 520px;
}

.am-team-card h2 {
  margin: 0 0 8px;
  font-size: clamp(32px, 3.3vw, 48px);
  font-weight: 500;
}

.am-team-card__role {
  margin: 0 0 20px;
  font-size: 24px;
  color: var(--am-muted);
}

.am-team-card__bio {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
}

/* Contacts */
.am-contacts {
  padding: 0 0 100px;
}
.am-contacts__map-box {
  position: relative;
  border-radius: 35px;
  overflow: hidden;
  background: #d9d9d9;
  min-height: 409px;
}
.am-contacts__map-shimmer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background-color: rgba(42, 42, 48, 0.1);
  background-image: linear-gradient(90deg, rgba(42, 42, 48, 0.1) 0%, rgba(42, 42, 48, 0.1) 40%, rgba(255, 255, 255, 0.55) 50%, rgba(42, 42, 48, 0.1) 60%, rgba(42, 42, 48, 0.1) 100%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: skeleton-shimmer 1.25s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.35s var(--am-ease);
}
.am-contacts__map-box.is-loading .am-contacts__map-shimmer {
  opacity: 1;
}
.am-contacts__map-box.is-loading iframe {
  opacity: 0;
}
.am-contacts__grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 40px 80px;
  align-items: stretch;
  margin-bottom: 64px;
}
.am-contacts__block {
  margin-bottom: 28px;
}
.am-contacts__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.am-contacts__info .am-contacts__block:last-of-type {
  margin-bottom: 0;
}
.am-contacts__form-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 40px 80px;
  align-items: stretch;
  margin-bottom: 64px;
}

.am-contacts__block h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 400;
}

.am-contacts__block a,
.am-contacts__block p {
  margin: 0;
  font-size: 18px;
  color: var(--am-ink);
  text-decoration: none;
}

.am-contacts__map-box iframe {
  width: 100%;
  height: 409px;
  border: 0;
  display: block;
  opacity: 1;
  transition: opacity 0.35s var(--am-ease);
}

.am-contacts__form-title {
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 20px;
  color: var(--am-ink);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.am-feedback-block {
  margin-top: 120px;
}

.am-feedback {
  max-width: none;
  margin: 0;
  padding: 48px 56px 40px;
  background: transparent;
  border: 1px solid #cfcfcf;
  border-radius: 40px;
  display: grid;
  gap: 32px;
}
.am-feedback.is-sending {
  pointer-events: none;
}
.am-feedback.is-sending > *:not(.am-form-progress) {
  opacity: 0.72;
}
.am-feedback.is-sending .am-feedback__submit, .am-feedback.is-sent .am-feedback__submit {
  display: none;
}
.am-feedback .am-form-consent {
  margin: 0;
  max-width: none;
}
.am-feedback .am-field {
  position: relative;
  display: block;
  max-width: none;
  padding-top: 0;
  transition: padding-top 0.35s var(--am-ease);
}
.am-feedback .am-field.is-filled {
  padding-top: 18px;
}
.am-feedback .am-field__label {
  position: absolute;
  left: 0;
  top: 10px;
  z-index: 0;
  margin: 0;
  font-family: var(--am-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  color: #7e7e7e;
  pointer-events: none;
  transform: translateY(0) scale(1);
  transform-origin: left top;
  transition: transform 0.35s var(--am-ease), color 0.35s var(--am-ease), top 0.35s var(--am-ease);
}
.am-feedback .am-field.is-filled .am-field__label {
  top: 0;
  color: #7e7e7e;
  transform: translateY(0) scale(0.78);
}

.am-feedback__field {
  display: block;
}

.am-feedback__field--area {
  display: grid;
  gap: 12px;
}

.am-feedback__area-label {
  margin: 0;
  font-family: var(--am-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--am-ink);
}

.am-feedback__input {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px 0 14px;
  border: 0;
  border-bottom: 1px solid var(--am-line);
  border-radius: 0;
  background: transparent;
  outline: none;
  font-family: var(--am-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--am-ink);
}
.am-feedback__input::-moz-placeholder {
  color: transparent;
  opacity: 0;
}
.am-feedback__input::placeholder {
  color: transparent;
  opacity: 0;
}

.am-feedback__textarea {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  min-height: 168px;
  margin: 0;
  padding: 22px 26px;
  border: 1px solid var(--am-line);
  border-radius: 28px;
  background: transparent;
  resize: vertical;
  outline: none;
  font-family: var(--am-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--am-ink);
  box-sizing: border-box;
}
.am-feedback__textarea::-moz-placeholder {
  color: #7e7e7e;
  opacity: 1;
}
.am-feedback__textarea::placeholder {
  color: #7e7e7e;
  opacity: 1;
}

.am-feedback__field.is-invalid .am-feedback__input {
  border-bottom-color: #c43b3b;
}

.am-feedback__field.is-invalid .am-field__label {
  color: #c43b3b;
}

.am-feedback__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.am-feedback__actions .am-attach {
  margin-top: 0;
}

.am-feedback__submit {
  height: 42px;
  min-width: 190px;
  margin-left: auto;
  padding: 0 28px;
  font-size: 18px;
  font-weight: 400;
  border-radius: 999px;
}

.am-form-status {
  box-sizing: border-box;
  margin: 0;
  padding: 22px 28px;
  border: 1px solid #cfcfcf;
  border-radius: 28px;
  background: var(--am-white);
  font-family: var(--am-font);
  font-size: 18px;
  line-height: 1.4;
  color: var(--am-ink);
}
.am-form-status[hidden] {
  display: none;
}
.am-form-status.is-error {
  border-color: #c43b3b;
  color: #b42318;
}

.am-order-form .am-form-status {
  max-width: 740px;
  margin-top: 50px;
  padding: 28px 32px;
  border-radius: 40px;
}

.am-feedback .am-form-status {
  width: 100%;
}

.am-form-progress {
  box-sizing: border-box;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 22px 28px;
  border: 1px solid #cfcfcf;
  border-radius: 28px;
  background: var(--am-white);
}
.am-form-progress[hidden] {
  display: none;
}

.am-form-progress__label {
  margin: 0;
  font-family: var(--am-font);
  font-size: 18px;
  line-height: 1.4;
  color: var(--am-ink);
}

.am-form-progress__track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #ececec;
}

.am-form-progress__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--am-accent);
  transition: width 0.2s linear;
}

.am-form-progress.is-indeterminate .am-form-progress__fill {
  width: 36%;
  transition: none;
  animation: am-form-progress-indeterminate 1.1s ease-in-out infinite;
}

@keyframes am-form-progress-indeterminate {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(280%);
  }
}
.am-order-form .am-form-progress {
  max-width: 740px;
  margin-top: 50px;
  padding: 28px 32px;
  border-radius: 40px;
}

.am-feedback .am-form-progress {
  width: 100%;
}

/* Project */
.am-project-hero {
  padding: 12px 0 40px;
}
.am-project-hero__shot {
  display: block;
  width: 100%;
  border-radius: 70px;
  aspect-ratio: 1276/740;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
  background: #d9d9d9;
}
.am-project-hero__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1276/740;
  border-radius: 70px;
  overflow: hidden;
  background: #d9d9d9;
  padding: clamp(24px, 5%, 56px) clamp(20px, 5%, 48px);
  box-sizing: border-box;
}
.am-project-hero__fon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none;
}
.am-project-hero__blur {
  position: absolute;
  inset: 0;
  background: rgba(234, 234, 234, 0.5);
  pointer-events: none;
}
.am-project-hero__devices {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 100px;
  width: calc(86% - 100px);
  margin-left: 7%;
}
.am-project-hero__device {
  position: relative;
  flex: 0 1 auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.28));
}
.am-project-hero__device--phone {
  width: 150px;
  aspect-ratio: 608/1244;
  z-index: 2;
  margin-bottom: clamp(10px, 2.2%, 32px);
}
.am-project-hero__device--laptop {
  width: 550px;
  aspect-ratio: 550/350;
  z-index: 1;
}
.am-project-hero__frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: fill;
     object-fit: fill;
  z-index: 2;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.am-project-hero__screen {
  position: absolute;
  z-index: 1;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
  background: #111;
}
.am-project-hero__device--phone .am-project-hero__screen {
  /* fill screen hole; extra top bleed under notch/bezel */
  top: calc(1.6% - 1px);
  left: calc(4.2% - 2px);
  width: calc(91.8% + 4px);
  height: calc(96.9% + 3px);
  border-radius: 6.5%;
}
.am-project-hero__device--laptop .am-project-hero__screen {
  /* screen hole in macbook_frame.png (550×350): x 39–511, y 17–314 */
  top: calc(4.86% - 1px);
  left: calc(7.09% - 1px);
  width: calc(86% + 2px);
  height: calc(85.14% + 2px);
  border-radius: 1.1%;
}

.am-project-meta {
  padding: 0 0 48px;
}
.am-project-meta__row {
  display: flex;
  justify-content: space-between;
  gap: 24px 40px;
  align-items: center;
  flex-wrap: wrap;
}
.am-project-meta__heading {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.am-project-meta__name {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--am-ink);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.am-project-meta__name a {
  color: inherit;
  text-decoration: inherit;
  text-underline-offset: inherit;
  text-decoration-thickness: inherit;
}
.am-project-meta__name a:hover {
  opacity: 0.75;
}
.am-project-meta a.am-project-meta__name:hover {
  opacity: 0.75;
}
.am-project-meta__link {
  color: var(--am-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 16px;
}
.am-project-meta__link:hover {
  color: var(--am-ink);
}

.am-chips--static {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.am-chips--static span {
  display: inline-flex;
  align-items: center;
  min-height: 65px;
  padding: 0 28px;
  border-radius: 40px;
  background: var(--am-chip);
  font-size: 24px;
  color: var(--am-ink);
}
.am-chips--static .am-chip--design {
  background: #b6eba4;
}
.am-chips--static .am-chip--dev {
  background: var(--am-chip);
}
.am-chips--static .am-chip--promo {
  background: #bcbcf0;
}
.am-chips--static .am-chip--other {
  background: var(--am-chip);
}

.am-project-gallery {
  padding: 20px 0 60px;
}
.am-project-gallery__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 100px);
}
.am-project-gallery__text {
  margin: 0;
  flex: 1 1 42%;
  max-width: 36rem;
  font-size: 24px;
  line-height: 1.45;
  color: var(--am-ink);
}
.am-project-gallery__phone {
  position: relative;
  flex: 0 0 auto;
  width: 280px;
  aspect-ratio: 608/1244;
  filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.22));
}
.am-project-gallery__phone-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: fill;
     object-fit: fill;
  z-index: 2;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.am-project-gallery__phone-screen {
  position: absolute;
  z-index: 1;
  /* fill screen hole; extra top bleed under notch/bezel */
  top: calc(1.6% - 1px);
  left: calc(4.2% - 2px);
  width: calc(91.8% + 4px);
  height: calc(96.9% + 3px);
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
  border-radius: 6.5%;
  background: #111;
}

.am-project-work {
  padding: 20px 0 60px;
}
.am-project-work__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
  margin-top: 28px;
}
.am-project-work__desc {
  margin-top: 40px;
  margin-bottom: 50px;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--am-ink);
}
.am-project-work__desc p {
  margin: 0 0 1em;
}
.am-project-work__desc p:last-child {
  margin-bottom: 0;
}
.am-project-work__item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 500;
}
.am-project-work__item p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--am-nav);
}

.am-project-stats {
  padding: 20px 0 120px;
}
.am-project-stats__lead {
  margin: 12px 0 28px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--am-nav);
}
.am-project-stats__chart {
  position: relative;
  background: transparent;
  border-radius: 0;
  padding: 8px 0 0;
  cursor: crosshair;
}
.am-project-stats__svg {
  width: 100%;
  height: 260px;
  display: block;
  margin-bottom: 12px;
  overflow: visible;
}
.am-project-stats__grid {
  stroke: rgba(42, 42, 48, 0.08);
  stroke-width: 1;
}
.am-project-stats__fill {
  fill: url(#am-chart-fill);
  stroke: none;
}
.am-project-stats__line {
  stroke: #7b7bfa;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.am-project-stats__guide {
  stroke: rgba(123, 123, 250, 0.35);
  stroke-width: 1;
  pointer-events: none;
}
.am-project-stats__points {
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 260px;
  pointer-events: none;
}
.am-project-stats__point {
  position: absolute;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  transform: translate(-50%, -50%);
  cursor: inherit;
  pointer-events: none;
  z-index: 2;
}
.am-project-stats__point-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 10px;
  height: 10px;
  margin: 0;
  border-radius: 50%;
  background: #7b7bfa;
  box-shadow: 0 0 0 3px rgba(123, 123, 250, 0.18);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.am-project-stats__point.is-active .am-project-stats__point-dot {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.am-project-stats__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--am-ink);
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  z-index: 3;
}
.am-project-stats__tip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--am-ink);
}
.am-project-stats__point.is-active .am-project-stats__tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.am-project-stats__months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  font-size: 16px;
  color: var(--am-muted);
  text-align: center;
}

.am-project-shots {
  --am-shots-gap: 14px;
  --am-shots-ratio: 5 / 2;
  --am-shots-visible: 3;
  padding: 40px 0 120px;
}
.am-project-shots__layout {
  display: flex;
  align-items: stretch;
  gap: 50px;
}
.am-project-shots {
  /* main : thumbs; desktop height from Figma */
}
.am-project-shots__main {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  height: 485px;
  padding: 0;
  border: 0;
  border-radius: 40px;
  overflow: hidden;
  background: #d9d9d9;
  cursor: pointer;
  color: #fff;
}
.am-project-shots__main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 1;
}
.am-project-shots__main:hover::after, .am-project-shots__main:focus-visible::after {
  opacity: 1;
}
.am-project-shots__main:hover .am-project-shots__zoom, .am-project-shots__main:focus-visible .am-project-shots__zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.am-project-shots__main-img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: opacity 0.35s ease;
  will-change: opacity;
  pointer-events: none;
}
.am-project-shots__main-img.is-fading {
  opacity: 0;
}
.am-project-shots__zoom {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  color: #fff;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.am-project-shots__fs {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}
.am-project-shots__thumbs {
  flex: 0 0 260px;
  width: 260px;
  height: 485px;
  display: flex;
  flex-direction: column;
  gap: var(--am-shots-gap);
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  padding: 2px;
  box-sizing: border-box;
  scroll-behavior: auto;
}
.am-project-shots__thumbs.is-dragging {
  cursor: grabbing;
}
.am-project-shots__thumbs::-webkit-scrollbar {
  display: none;
}
.am-project-shots__thumb {
  display: block;
  box-sizing: border-box;
  flex: 0 0 calc((100% - (var(--am-shots-visible) - 1) * var(--am-shots-gap)) / var(--am-shots-visible));
  width: 100%;
  height: calc((100% - (var(--am-shots-visible) - 1) * var(--am-shots-gap)) / var(--am-shots-visible));
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
  cursor: inherit;
  -webkit-user-drag: none;
  isolation: isolate;
}
.am-project-shots__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  border-radius: inherit;
  opacity: 0.42;
  transition: opacity 0.25s var(--am-ease);
}
.am-project-shots__thumb:hover img {
  opacity: 0.75;
}
.am-project-shots__thumb.is-active img {
  opacity: 1;
}
.am-project-shots__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex: 0 0 auto;
  align-self: center;
}
.am-project-shots__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: none;
  color: var(--am-ink);
  cursor: pointer;
  opacity: 0.35;
  transition: opacity 0.2s;
}
.am-project-shots__arrow svg {
  transform: rotate(90deg);
}
.am-project-shots__arrow:disabled {
  cursor: default;
  opacity: 0.2;
}
.am-project-shots__arrow.is-active:not(:disabled) {
  opacity: 1;
}

/* Service pages — Frame 36751 hero */
.am-service-hero {
  position: relative;
  isolation: isolate;
  padding: 0 0 48px;
  overflow: hidden;
  min-height: 800px;
  margin-top: calc(-1 * var(--am-header));
}
.am-service-hero__inner {
  position: relative;
  z-index: 2;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  padding-top: calc(var(--am-header) + 28px);
  box-sizing: border-box;
}
.am-service-hero__orb {
  position: absolute;
  left: 49%;
  top: 38%;
  translate: -50% -50%;
  width: min(1500px, 165vw);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: -1;
  background: transparent;
}

/* Shared orb — native <video>, circular edge fade */
.am-orb {
  background: transparent !important;
  overflow: hidden;
  border-radius: 50%;
  isolation: isolate;
  mix-blend-mode: normal;
  -webkit-mask-image: radial-gradient(circle closest-side at center, #000 0%, #000 60%, transparent 90%);
  mask-image: radial-gradient(circle closest-side at center, #000 0%, #000 60%, transparent 90%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.am-orb video.am-orb__video {
  display: block;
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: contain;
     object-fit: contain;
  background: transparent !important;
  pointer-events: none !important;
  position: relative;
  z-index: 1;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  -webkit-mask-image: radial-gradient(circle closest-side at center, #000 0%, #000 60%, transparent 90%);
  mask-image: radial-gradient(circle closest-side at center, #000 0%, #000 60%, transparent 90%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.am-orb video.am-orb__video::-webkit-media-controls,
.am-orb video.am-orb__video::-webkit-media-controls-enclosure,
.am-orb video.am-orb__video::-webkit-media-controls-panel,
.am-orb video.am-orb__video::-webkit-media-controls-start-playback-button {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.is-loading .am-hero__orb,
html.is-loading .am-service-hero__orb,
html.is-loading .am-404__orb {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.am-preloader.is-fading .am-orb,
.am-preloader.is-done .am-orb {
  visibility: hidden !important;
  opacity: 0 !important;
}

.am-preloader__orb.am-orb {
  mix-blend-mode: normal;
}

.am-hero__orb,
.am-service-hero__orb,
.am-404__orb {
  opacity: 0;
  transition: opacity 0.35s var(--am-ease);
}
.am-hero__orb.is-visible, .am-hero__orb.am-orb--landing, .am-hero__orb.am-orb--settled,
.am-service-hero__orb.is-visible,
.am-service-hero__orb.am-orb--landing,
.am-service-hero__orb.am-orb--settled,
.am-404__orb.is-visible,
.am-404__orb.am-orb--landing,
.am-404__orb.am-orb--settled {
  opacity: 1;
}
.am-hero__orb.am-orb--landing,
.am-service-hero__orb.am-orb--landing,
.am-404__orb.am-orb--landing {
  transition: none !important;
}
.am-hero__orb.am-orb--settled,
.am-service-hero__orb.am-orb--settled,
.am-404__orb.am-orb--settled {
  opacity: 1 !important;
  transition: none !important;
  position: absolute !important;
  left: calc(50% - 5px) !important;
  top: calc(42% - 40px) !important;
  width: var(--am-orb-w, min(1500px, 165vw)) !important;
  height: var(--am-orb-h, min(1500px, 165vw)) !important;
  aspect-ratio: 1;
  translate: -50% -50% !important;
  transform: none !important;
  transform-origin: center center;
  visibility: visible !important;
  z-index: 0 !important;
  pointer-events: none;
  mix-blend-mode: normal;
}

.am-service-hero__orb.am-orb--settled {
  left: 49% !important;
  top: 38% !important;
}

.am-404__orb.am-orb--settled {
  left: 62% !important;
  top: 42% !important;
}

/* Preloader (full styles; critical subset is inlined in header) */
.am-preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--am-bg);
  perspective: 1200px;
  transition: opacity 2.8s var(--am-ease), visibility 0s linear 2.8s;
}
.am-preloader.is-done, .am-preloader.is-fading {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.am-preloader__orb {
  width: min(220px, 42vw);
  aspect-ratio: 1;
  background: transparent;
}
.am-preloader__orb.is-flying {
  pointer-events: none;
}
.am-preloader__bar {
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  width: 300px;
  height: 5px;
  border-radius: 999px;
  background: #cfcfcf;
  overflow: hidden;
  transition: opacity 0.3s var(--am-ease);
}

/* Host section — large orb must not be clipped after land */
.am-orb-fly-host,
.am-hero:has(.am-orb--settled),
.am-hero:has(.am-orb.is-flying),
.am-service-hero:has(.am-orb--settled),
.am-service-hero:has(.am-orb.is-flying),
.am-404:has(.am-orb--settled),
.am-404:has(.am-orb.is-flying) {
  overflow: visible !important;
}

html.is-loading,
html.is-loading body {
  overflow: hidden;
  height: 100%;
}

/* Allow page scroll while preloader is already fading out */
html.is-loading.am-scroll-unlock,
html.is-loading.am-scroll-unlock body {
  overflow: auto;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  .am-preloader {
    transition: opacity 0.2s linear;
  }
  .am-preloader__bar-fill {
    transition: none;
  }
}
.am-service-hero__top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-top: 70px;
  margin-bottom: 120px;
  min-width: 0;
}

.am-service-hero__top .am-h1--service {
  min-width: 0;
  flex: 1 1 auto;
}

.am-service-hero__top .am-hero__aside {
  margin-top: 138px;
  flex-shrink: 0;
}

.am-service-hero__brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin-bottom: 48px;
}

.am-service-hero__brand .am-hero__word--any {
  flex: 0 1 auto;
  width: min(354px, 28vw);
  max-width: 42%;
}

.am-service-hero__brand .am-hero__word--dev {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 58%;
  font-size: clamp(42px, 7vw, 110px);
  line-height: 0.85;
  text-align: right;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.am-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 61px;
}

.am-filters__btn {
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 40px;
  background: var(--am-chip);
  color: var(--am-ink);
  font-family: var(--am-font);
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
}

.am-filters__btn.is-active {
  background: #000;
  color: #f4f4f4;
}

.am-service-cases {
  overflow-x: clip;
}

.am-cases__grid--service {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 32px;
  justify-content: stretch;
  align-items: start;
  transition: opacity 0.2s var(--am-ease);
}
.am-cases__grid--service.is-filtering {
  opacity: 0.45;
  pointer-events: none;
}

.am-cases__grid--service .am-case-card {
  min-height: 0;
  margin-bottom: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.am-cases__grid--service .am-case-card__media {
  aspect-ratio: 600/348.5;
}

.am-cases__grid--service .am-case-card__tags {
  max-width: calc(100% - 12px);
}

.am-cases__grid--service .am-case-card__title {
  font-size: 22px;
  max-width: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}
.skeleton {
  display: block;
  border-radius: 8px;
  background-color: rgba(42, 42, 48, 0.12);
  background-image: linear-gradient(90deg, rgba(42, 42, 48, 0.12) 0%, rgba(42, 42, 48, 0.12) 40%, rgba(255, 255, 255, 0.65) 50%, rgba(42, 42, 48, 0.12) 60%, rgba(42, 42, 48, 0.12) 100%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  animation: skeleton-shimmer 1.25s ease-in-out infinite;
}

.skeleton-line {
  display: block;
  height: 14px;
  width: 100%;
  margin-bottom: 12px;
}

.skeleton-line--lg {
  height: 22px;
  width: 80%;
  margin-bottom: 14px;
}

.skeleton-line--sm {
  height: 12px;
  width: 45%;
  margin-bottom: 16px;
}

.skeleton-block {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 160px;
  border-radius: inherit;
}

.skeleton-count {
  display: inline-block;
  width: 28px;
  height: 16px;
  vertical-align: middle;
}

.skeleton-post {
  pointer-events: none;
}

.skeleton-post .skeleton-line {
  margin-bottom: 0;
}

.skeleton-baza-post {
  pointer-events: none;
}

.skeleton-baza-post .pic {
  overflow: hidden;
  border-radius: 8px;
}

.skeleton-baza-post .pic .skeleton-block {
  min-height: 300px;
}

.skeleton-baza-post .info .skeleton-line:last-child {
  margin-bottom: 0;
}

/* =========================
   Tablet ≤1100
   ========================= */
@media (max-width: 1100px) {
  .am-nav {
    gap: 20px;
  }
  .am-benefits__row,
  .am-benefits__row--2 {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .am-benefits__aside {
    align-items: flex-start;
  }
  .am-benefits__main--right {
    justify-self: start;
    text-align: left;
  }
  .am-benefits__main--right .am-benefits__headline {
    margin-left: 0;
  }
  .am-benefits__note--end {
    text-align: left;
  }
  .am-cases__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
  .am-cases__grid--service {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
  .am-cases__col--right {
    padding-top: 80px;
  }
  .am-case-card {
    min-height: 0;
    margin-bottom: 40px;
  }
  .am-case-card__title {
    font-size: 24px;
  }
  .am-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .am-services__grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .am-services__split {
    grid-template-columns: 1fr;
  }
  .am-service-card--cta-side {
    position: static;
    padding-top: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .am-service-cta {
    min-height: 220px;
  }
  .am-project-shots__layout {
    flex-wrap: wrap;
  }
  .am-project-shots__main {
    flex: 1 1 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
  .am-project-shots__thumbs {
    flex: 1 1 auto;
    width: auto;
    height: auto;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .am-project-shots__thumb {
    flex: 0 0 calc((100% - 28px) / 3);
    width: calc((100% - 28px) / 3);
    height: auto;
    aspect-ratio: 5/2;
  }
  .am-project-shots__nav {
    flex-direction: row;
    gap: 12px;
    align-self: center;
  }
  .am-project-shots__arrow svg {
    transform: none;
  }
  .am-flagship__card {
    aspect-ratio: auto;
    min-height: 280px;
    padding: 36px 32px 48px;
  }
  .am-flagship__shape {
    display: none;
  }
  .am-flagship__card {
    background: var(--am-crm);
    border-radius: 48px;
  }
  .am-flagship__label,
  .am-flagship__title {
    position: relative;
    left: auto;
    top: auto;
    display: block;
  }
  .am-flagship__label {
    margin-bottom: 16px;
  }
  .am-reviews__track {
    gap: 24px;
  }
  .am-review-card {
    flex-basis: 100cqi;
    width: 100cqi;
    max-width: 100cqi;
    min-height: auto;
  }
  .am-contact-cta {
    margin-bottom: 0;
    padding-bottom: 48px;
  }
  .am-contact-cta__title {
    margin-bottom: 48px;
  }
  .am-contact-cta__links {
    padding-left: 0;
  }
  .am-contact-cta__or-item {
    margin-top: 36px;
    gap: 12px;
  }
  .am-contact-cta__row {
    gap: 28px;
  }
  .am-btn--cta {
    min-width: 0;
    width: 100%;
    max-width: 409px;
    height: 72px;
    font-size: 28px;
  }
  .am-footer {
    padding: 120px 0 48px;
  }
  .am-footer__grid {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 48px;
  }
  .am-footer__brand {
    grid-column: 1/-1;
  }
  .am-footer__cta-text {
    margin-top: 40px;
    max-width: 280px;
  }
  .am-cookies__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px 18px;
  }
  .am-cookies__text {
    font-size: 14px;
  }
  .am-cookies__btn {
    width: 100%;
  }
  .am-page-hero--split .am-page-hero__grid {
    grid-template-columns: 1fr;
  }
  .am-404 {
    padding: 48px 0 80px;
    min-height: 0;
  }
  .am-404__orb {
    width: min(1080px, 165vw);
    left: 55%;
    top: 36%;
  }
  .am-404__cta {
    min-width: 0;
    width: 100%;
    max-width: 360px;
    height: 64px;
    font-size: 24px;
  }
  .am-team-card,
  .am-team-card--left {
    grid-template-columns: 280px 1fr;
  }
  .am-team-card--left .am-team-card__photo {
    order: 1;
  }
  .am-team-card--left .am-team-card__body {
    order: 2;
    text-align: left;
    justify-self: start;
  }
  .am-contacts__grid {
    grid-template-columns: 1fr;
  }
  .am-project-gallery__row {
    flex-direction: column;
    align-items: flex-start;
  }
  .am-project-gallery__phone {
    width: min(240px, 50vw);
    align-self: center;
  }
  .am-project-work__grid {
    grid-template-columns: 1fr;
  }
  .am-project-stats__months {
    font-size: 12px;
  }
}
@media (max-width: 991px) {
  .am-header__actions {
    margin-left: 0;
  }
}
/* =========================
   Mobile ≤768
   ========================= */
@media (max-width: 860px) {
  :root {
    --am-pad: 16px;
    --am-header: 72px;
  }
  .am-nav {
    position: fixed;
    inset: var(--am-header) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 16px;
    background: var(--am-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 99;
  }
  body.is-menu-open .am-nav {
    display: flex;
  }
  .am-nav__link,
  .am-nav__toggle {
    padding: 14px 8px;
    font-size: 20px;
    text-align: left;
  }
  .am-nav__dropdown {
    position: static;
    display: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 12px;
  }
  .am-nav__item--dropdown.is-open .am-nav__dropdown {
    display: flex;
  }
  .am-burger {
    display: inline-flex;
  }
  .am-header__actions {
    margin-left: auto;
  }
  .am-btn--header {
    width: auto;
    padding: 0 18px;
  }
  .am-hero {
    padding: 12px 0 40px;
    min-height: 720px;
  }
  .am-hero__lead {
    font-size: 20px;
  }
  .am-hero__aside {
    font-size: 16px;
    padding-right: 0;
  }
  .am-hero__word {
    font-size: clamp(56px, 22vw, 96px);
  }
  .am-hero__bottom {
    padding-bottom: 60px;
  }
  .am-hero__brand {
    flex-direction: row;
    align-items: flex-end;
    gap: 12px;
    padding-inline: 16px;
  }
  .am-hero__orb {
    width: min(960px, 175vw);
    top: calc(36% - 40px);
    left: calc(50% - 5px);
  }
  .am-hero__orb.am-orb--settled {
    left: calc(50% - 5px) !important;
    top: calc(36% - 40px) !important;
    width: min(960px, 175vw) !important;
    height: min(960px, 175vw) !important;
  }
  .am-benefits {
    border-radius: 40px 40px 0 0;
    padding: 32px 0 56px;
  }
  .am-benefits__headline {
    font-size: 28px;
    max-width: none;
  }
  .am-section-title {
    margin-bottom: 24px;
  }
  .am-faq {
    padding: 40px 0 8px;
  }
  .am-faq__q {
    gap: 16px;
    padding: 18px 0;
  }
  .am-faq__a {
    padding-right: 0;
    font-size: 16px;
  }
  .am-cases__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .am-cases__col--right {
    padding-top: 0;
  }
  .am-case-card {
    min-height: 0;
  }
  .am-case-card__title {
    font-size: 22px;
    max-width: none;
  }
  .am-cases__more {
    text-align: left;
  }
  .am-flagship__card {
    min-height: 220px;
    padding: 28px 24px 40px;
    border-radius: 32px;
  }
  .am-flagship__label {
    font-size: 22px;
  }
  .am-flagship__title {
    font-size: 28px;
  }
  .am-services__grid,
  .am-services__grid--3 {
    grid-template-columns: 1fr;
  }
  .am-service-card {
    min-height: 0;
  }
  .am-service-cta {
    min-height: 0;
    padding: 24px 0;
  }
  .am-service-card--cta,
  .am-service-card--cta-side {
    align-items: flex-start;
    gap: 20px;
  }
  .am-service-cta--contacts {
    gap: 14px;
  }
  .am-award__card {
    border-radius: 40px;
    padding: 20px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .am-award__laurel {
    width: 56px;
    height: 56px;
  }
  .am-award__logo {
    width: 64px;
    height: 64px;
  }
  .am-award__text strong,
  .am-award__text span {
    font-size: 14px;
  }
  .am-review-card {
    flex-direction: column;
    align-items: center;
    border-radius: 32px;
    padding: 20px;
  }
  .am-review-card__media {
    flex-basis: auto;
    width: auto;
  }
  .am-review-card__avatar {
    width: 200px;
    height: 208px;
  }
  .am-review-card__avatar-background {
    width: 200px;
    height: 208px;
  }
  .am-review-card__body {
    padding-top: 12px;
    width: 100%;
  }
  .am-review-card__avatar-image {
    width: 96px;
    height: 96px;
    top: 36px;
  }
  .am-contact-cta__links a,
  .am-contact-cta__or {
    font-size: 20px;
  }
  .am-btn--cta {
    width: 100%;
    max-width: none;
    height: 64px;
    font-size: 22px;
    border-radius: 32px 32px 0 32px;
  }
  .am-footer {
    border-radius: 40px 40px 0 0;
    padding: 64px 0 24px;
  }
  .am-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }
  .am-footer__cta-text {
    margin-top: 28px;
  }
  .am-check span {
    min-height: 48px;
    padding: 0 18px;
    font-size: 16px;
  }
  .am-fieldset legend,
  .am-label {
    font-size: 22px;
  }
  .am-team-card,
  .am-team-card--left {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 56px;
  }
  .am-team-card__photo {
    width: 220px;
    margin-inline: auto;
  }
  .am-team-card--left .am-team-card__body,
  .am-team-card__body {
    text-align: center;
    max-width: none;
  }
  .am-team-card h2 {
    font-size: 28px;
  }
  .am-team-card__role {
    font-size: 18px;
  }
  .am-contacts__map-box,
  .am-contacts__map-box iframe {
    border-radius: 32px;
    min-height: 260px;
    height: 260px;
  }
  .am-feedback {
    padding: 24px;
    border-radius: 32px;
  }
  .am-project-hero__shot,
  .am-project-hero__stage {
    border-radius: 28px;
  }
  .am-project-hero__stage {
    aspect-ratio: auto;
    min-height: 260px;
    padding: 28px 14px 24px;
  }
  .am-project-hero__devices {
    width: 100%;
  }
  .am-project-hero__device--phone {
    width: clamp(64px, 20vw, 96px);
    margin-bottom: 10px;
  }
  .am-project-hero__device--laptop {
    width: clamp(200px, 70vw, 340px);
  }
  .am-project-gallery__row {
    flex-direction: column;
    align-items: flex-start;
  }
  .am-project-gallery__text {
    font-size: 18px;
    max-width: none;
  }
  .am-project-gallery__phone {
    width: min(220px, 70vw);
    align-self: center;
  }
  .am-chips--static {
    justify-content: flex-start;
  }
  .am-chips--static span {
    min-height: 44px;
    font-size: 16px;
    padding: 0 16px;
  }
  .am-project-meta__name {
    font-size: 22px;
  }
  .am-project-work__desc {
    font-size: 18px;
    max-width: none;
  }
  .am-project-gallery__text {
    font-size: 18px;
  }
  .am-service-hero {
    min-height: 0;
    padding-bottom: 32px;
    margin-top: 0;
  }
  .am-service-hero__inner {
    padding-top: 24px;
  }
  .am-service-hero__top {
    padding-top: 24px;
    margin-bottom: 40px;
    flex-direction: column;
  }
  .am-service-hero__top .am-hero__aside {
    margin-top: 0;
  }
  .am-service-hero__brand {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 12px;
  }
  .am-service-hero__brand .am-hero__word--any {
    max-width: none;
    width: min(220px, 42vw);
  }
  .am-hero__word--design {
    font-size: calc(min(220px, 42vw) * 123 / 394 / 0.53);
  }
  .am-service-hero__brand .am-hero__word--dev {
    max-width: none;
    width: 100%;
    text-align: left;
    white-space: normal;
    font-size: clamp(40px, 12vw, 72px);
  }
  .am-service-hero__orb {
    width: min(960px, 175vw);
    top: 36%;
    left: 50%;
  }
  .am-hero__word--dev {
    font-size: clamp(40px, 14vw, 72px);
  }
  .am-hero__word--any {
    width: min(220px, 42vw);
  }
  .am-hero__word--media {
    width: min(340px, 62vw);
  }
  .am-cases__grid--service {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .am-404 {
    padding: 32px 0 64px;
  }
  .am-404__code {
    font-size: clamp(80px, 28vw, 120px);
    margin-top: 16px;
  }
  .am-404__text {
    font-size: 18px;
  }
  .am-404__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 36px;
  }
  .am-404__cta {
    width: 100%;
    max-width: none;
    height: 56px;
    font-size: 20px;
    border-radius: 28px 28px 0 28px;
  }
  .am-404__nav {
    margin-top: 48px;
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 480px) {
  .am-logo {
    font-size: 32px;
  }
  .am-hero__word--any {
    width: min(160px, 48vw);
  }
  .am-hero__word--design {
    font-size: calc(min(160px, 48vw) * 123 / 394 / 0.53);
  }
  .am-hero__word--media {
    width: min(240px, 68vw);
  }
  .am-cta {
    gap: 8px;
  }
  .am-cta__btn {
    height: 48px;
    padding: 0 18px;
    font-size: 16px;
  }
  .am-cta__icon {
    width: 40px;
    height: 40px;
  }
  .am-case-card__tags span {
    height: 32px;
    font-size: 14px;
    padding: 0 12px;
  }
}
/* Knowledge base */
.am-baza {
  padding: 8px 0 120px;
}

.am-baza__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px 64px;
  align-items: stretch;
}

.am-baza__posts {
  display: grid;
  gap: 0;
}

.am-baza-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(42, 42, 48, 0.12);
}
.am-baza-card:first-child {
  padding-top: 0;
}
.am-baza-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.am-baza-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16/11;
  border-radius: 28px;
  overflow: hidden;
  background: var(--am-wash);
}

.am-baza-card__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.45s var(--am-ease);
}

.am-baza-card:hover .am-baza-card__media img {
  transform: scale(1.04);
}

.am-baza-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: #d9d9d9;
}

.am-baza-card__body {
  display: grid;
  gap: 12px;
  align-content: center;
  min-width: 0;
}

.am-baza-card__cat {
  width: -moz-fit-content;
  width: fit-content;
  font-size: 14px;
  line-height: 1.2;
  color: var(--am-muted);
  text-decoration: none;
}
.am-baza-card__cat:hover {
  color: var(--am-ink);
}

.am-baza-card__title {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}

.am-baza-card__title a {
  color: var(--am-ink);
  text-decoration: none;
}
.am-baza-card__title a:hover {
  opacity: 0.75;
}

.am-baza-card__excerpt {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: var(--am-nav);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.am-baza-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.am-baza-card__date {
  font-size: 14px;
  line-height: 1.2;
  color: var(--am-muted);
}

.am-baza-card__views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1.2;
  color: var(--am-muted);
  font-variant-numeric: tabular-nums;
}
.am-baza-card__views svg {
  display: block;
  flex-shrink: 0;
  color: var(--am-ink);
}

.am-baza-card--skeleton .am-baza-card__media {
  min-height: 160px;
  border-radius: 28px;
}

.am-baza-card--skeleton .am-baza-card__body {
  gap: 10px;
}

.am-baza-card--skeleton .skeleton-line {
  margin-bottom: 0;
  margin-top: 0;
}

.am-baza__empty {
  margin: 24px 0 0;
  font-size: 18px;
  color: var(--am-muted);
}

.am-baza__pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.am-baza__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--am-chip);
  color: var(--am-ink);
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s var(--am-ease), color 0.2s var(--am-ease);
}
.am-baza__page:hover {
  background: #e8e8e8;
}

.am-baza__page.is-current {
  background: var(--am-ink);
  color: #fff;
}
.am-baza__page.is-current:hover {
  background: var(--am-ink);
}

.am-baza__aside {
  display: grid;
  gap: 20px;
  align-content: start;
}

.am-baza-widget--call {
  position: sticky;
  top: calc(var(--am-header) + 16px);
  z-index: 2;
  transition: top 2s var(--am-ease);
}

.am-baza-widget {
  padding: 28px;
  border-radius: 32px;
  background: var(--am-wash);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.am-baza-widget__title {
  margin: 0 0 18px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
}
.am-baza-widget__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 14px;
}
.am-baza-widget__list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--am-ink);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.35;
  transition: opacity 0.2s var(--am-ease);
}
.am-baza-widget__list a:hover {
  opacity: 0.7;
}
.am-baza-widget__list--posts a {
  display: block;
}
.am-baza-widget__text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--am-nav);
  text-align: center;
}
.am-baza-widget__count {
  color: var(--am-muted);
  flex-shrink: 0;
}
.am-baza-widget__btn {
  display: inline-flex;
  height: 44px;
  padding: 0 22px;
  font-size: 16px;
  border-radius: 999px;
}
.am-baza-widget__icon {
  margin-bottom: 14px;
}
.am-baza-widget__icon img {
  display: block;
  width: 48px;
  height: 48px;
}

@media (max-width: 1100px) {
  .am-baza__grid {
    grid-template-columns: 1fr;
  }
  .am-baza__aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .am-baza-widget--call {
    grid-column: 1/-1;
    position: static;
  }
}
@media (max-width: 768px) {
  .am-baza-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }
  .am-baza-card__title {
    font-size: 22px;
  }
  .am-baza-card__excerpt {
    font-size: 16px;
  }
  .am-baza__aside {
    grid-template-columns: 1fr;
  }
  .am-baza-widget--call {
    grid-column: auto;
  }
}
/* Single article */
.am-article {
  min-width: 0;
}

.am-article__shell {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.am-article__actions {
  position: sticky;
  top: calc(var(--am-header) + 16px);
  display: grid;
  gap: 14px;
  justify-items: center;
  z-index: 3;
  transition: top 2s var(--am-ease);
}

.am-article__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--am-wash);
  color: var(--am-ink);
  cursor: pointer;
  transition: background 0.2s var(--am-ease), color 0.2s var(--am-ease);
}
.am-article__action:hover, .am-article__action[aria-expanded=true] {
  background: var(--am-ink);
  color: #fff;
}
.am-article__action svg {
  display: block;
}

.am-article__share {
  position: relative;
}

.am-article__share-menu {
  position: absolute;
  left: calc(100% + 10px);
  top: 0;
  min-width: 200px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(42, 42, 48, 0.14);
  display: none;
  gap: 4px;
  z-index: 5;
}

.am-article__share.is-open .am-article__share-menu {
  display: grid;
}

.am-article__share-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--am-ink);
  text-decoration: none;
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s var(--am-ease);
}
.am-article__share-link:hover {
  background: var(--am-wash);
}
.am-article__share-link img {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.am-article__share-link.is-copied {
  color: var(--am-accent);
}

.am-article__views {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: var(--am-muted);
  font-size: 13px;
  line-height: 1.2;
}
.am-article__views svg {
  display: block;
  color: var(--am-ink);
}

.am-article__views-count {
  min-width: 1.5em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.am-article__views-count.skeleton {
  width: 28px;
  height: 14px;
  margin: 0 auto;
}

.am-article__body {
  min-width: 0;
}

.am-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.3;
  color: var(--am-muted);
}

.am-article__back,
.am-article__cat {
  color: var(--am-ink);
  text-decoration: none;
  transition: opacity 0.2s var(--am-ease);
}
.am-article__back:hover,
.am-article__cat:hover {
  opacity: 0.7;
}

.am-article__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.am-article__back-icon {
  display: block;
  flex-shrink: 0;
  color: currentColor;
}

.am-article__cat {
  color: var(--am-muted);
}
.am-article__cat:hover {
  color: var(--am-ink);
  opacity: 1;
}

.am-article__date {
  margin-left: auto;
}

.am-article__media {
  margin: 0 0 36px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--am-wash);
}
.am-article__media img {
  display: block;
  width: 100%;
  height: auto;
}

.am-article__content {
  font-size: 18px;
  line-height: 1.55;
  color: var(--am-ink);
}
.am-article__content > *:first-child {
  margin-top: 0;
}
.am-article__content > *:last-child {
  margin-bottom: 0;
}
.am-article__content p,
.am-article__content ul,
.am-article__content ol,
.am-article__content blockquote,
.am-article__content pre,
.am-article__content table,
.am-article__content figure {
  margin: 0 0 1.15em;
}
.am-article__content h2,
.am-article__content h3,
.am-article__content h4 {
  margin: 1.6em 0 0.55em;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.am-article__content h2 {
  font-size: 28px;
}
.am-article__content h3 {
  font-size: 22px;
}
.am-article__content h4 {
  font-size: 18px;
}
.am-article__content a {
  color: var(--am-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.am-article__content ul,
.am-article__content ol {
  padding-left: 0;
  list-style: none;
}
.am-article__content ul > li,
.am-article__content ol > li {
  position: relative;
  padding-left: 1.55em;
}
.am-article__content ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 0.85em;
  height: 0.85em;
  border-radius: 50%;
  background: var(--am-accent);
}
.am-article__content ul > li::after {
  content: "";
  position: absolute;
  left: 0.28em;
  top: 0.48em;
  width: 0.28em;
  height: 0.48em;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.am-article__content ol {
  counter-reset: am-article-ol;
}
.am-article__content ol > li {
  counter-increment: am-article-ol;
}
.am-article__content ol > li::before {
  content: counter(am-article-ol) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 500;
  color: var(--am-muted);
}
.am-article__content li + li {
  margin-top: 0.35em;
}
.am-article__content img,
.am-article__content video,
.am-article__content iframe {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}
.am-article__content figure img {
  display: block;
  width: 100%;
}
.am-article__content figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--am-muted);
}
.am-article__content blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 18px 22px;
  border-radius: 20px;
  background: var(--am-wash);
  color: var(--am-nav);
}
.am-article__content pre,
.am-article__content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}
.am-article__content pre {
  overflow: auto;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--am-wash);
}
.am-article__content code {
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: rgba(42, 42, 48, 0.08);
}
.am-article__content pre code {
  padding: 0;
  background: none;
}

.am-article__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(42, 42, 48, 0.12);
}

.am-article__nav-link {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 20px 22px;
  border-radius: 24px;
  background: var(--am-wash);
  color: var(--am-ink);
  text-decoration: none;
  transition: opacity 0.2s var(--am-ease);
}
.am-article__nav-link:hover {
  opacity: 0.8;
}
.am-article__nav-link--next {
  text-align: right;
  justify-self: end;
}
.am-article__nav-link--empty {
  visibility: hidden;
  pointer-events: none;
}

.am-article__nav-label {
  font-size: 14px;
  color: var(--am-muted);
}

.am-article__nav-title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .am-article__shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .am-article__actions {
    position: static;
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
    gap: 16px;
  }
  .am-article__share-menu {
    left: 0;
    top: calc(100% + 8px);
  }
  .am-article__views {
    grid-auto-flow: column;
    align-items: center;
    gap: 6px;
  }
  .am-article__date {
    margin-left: 0;
    width: 100%;
  }
  .am-article__content {
    font-size: 16px;
  }
  .am-article__content h2 {
    font-size: 24px;
  }
  .am-article__content h3 {
    font-size: 20px;
  }
  .am-article__nav {
    grid-template-columns: 1fr;
  }
  .am-article__nav-link--next {
    text-align: left;
    justify-self: stretch;
  }
  .am-article__nav-link--empty {
    display: none;
  }
}/*# sourceMappingURL=style.css.map */