@font-face {
  font-family: 'Golos Text';
  src: url('assets/golos-cyrillic.woff2') format('woff2');
  font-weight: 400 900;
  font-display: optional;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Golos Text';
  src: url('assets/golos-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f9f6ff;
  --ink: #190c22;
  --plum: #24122f;
  --violet: #7321c8;
  --deep-violet: #591aab;
  --mint: #c5f5df;
  --cream: #fff9f2;
  --line: #d9cfe1;
  --gutter: clamp(24px, 5vw, 72px);
  --max-width: 1400px;
  --text-gap: clamp(8px, .85vw, 12px);
  --lead-gap: clamp(14px, 1.25vw, 18px);
  --group-gap: clamp(18px, 2vw, 28px);
  --block-gap: clamp(24px, 3.2vw, 46px);
  --section-gap: clamp(48px, 6.5vw, 94px);
  font-family: 'Golos Text', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); background: var(--paper); overflow-x: clip; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
section[id], footer[id], details[id] { scroll-margin-top: 24px; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}

.hero :focus-visible, .topbar :focus-visible, .contact :focus-visible { outline-color: var(--mint); }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--ink);
  background: var(--mint);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  display: inline-block;
  background: var(--icon) center / contain no-repeat;
}

.icon-arrow { --icon: url('assets/arrow-up-right.svg'); width: .95em; height: .95em; }
.icon-caret { --icon: url('assets/caret-down.svg'); width: .82em; transform: rotate(180deg); }
.icon-sparkle { --icon: url('assets/sparkle.svg'); }

.topbar {
  position: absolute;
  z-index: 3;
  top: 0;
  width: 100%;
  color: #fff;
}

.topbar-inner, .hero-inner {
  width: min(calc(100% - var(--gutter) * 2), var(--max-width));
  margin-inline: auto;
}

.topbar-inner {
  position: relative;
  min-height: clamp(76px, 9vw, 110px);
  display: flex;
  align-items: center;
  gap: clamp(20px, 4.7vw, 62px);
}

.wordmark {
  font-size: clamp(34px, 6.9vw, 70px);
  font-weight: 820;
  line-height: .94;
  letter-spacing: -.057em;
}

.topbar nav {
  display: flex;
  align-items: center;
}

.header-action-mobile { display: none; }

.service-nav summary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .65em;
  padding: .42em .8em;
  border: 1px solid #ffffff43;
  border-radius: 999px;
  background: #ffffff14;
  cursor: pointer;
  list-style: none;
  font-size: clamp(16px, 2.1vw, 21px);
  font-weight: 700;
}

.service-nav summary::-webkit-details-marker { display: none; }
.service-nav[open] > summary { color: var(--ink); border-color: var(--mint); background: var(--mint); }

.nav-panel {
  position: absolute;
  top: calc(100% - 2px);
  inset-inline: 0;
  max-height: min(66svh, 480px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 32px #190c2233;
}


.button {
  display: inline-flex;
  min-height: 50px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .82em 1.39em;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: clamp(17px, 2.37vw, 26px);
  font-weight: 700;
  line-height: 1.08;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.button-outline { margin-left: auto; padding-inline: 1.5em; border-color: currentColor; font-size: clamp(15px, 2.13vw, 23px); }
.button-outline:hover { color: var(--ink); background: var(--mint); border-color: var(--mint); }
.button-mint { color: var(--ink); background: var(--mint); }
.button-mint:hover { background: #ddfbed; }
.button-violet { color: #fff; background: var(--deep-violet); }
.button-violet:hover { background: #48118f; }
.button-outline .icon, .button-violet .icon, .topbar .icon-caret { filter: invert(1); }
.button-outline:hover .icon { filter: none; }

.home-page {
  --ribbon-height: clamp(48px, 7vw, 86px);
  --ribbon-overlap: 19px;
  --ribbon-rise: 4.37vw; /* Vertical rise of the 2.5-degree ribbon across the viewport. */
}

.hero {
  --hero-background-position: center;
  min-height: clamp(570px, 81.6vw, 796px);
  position: relative;
  color: #fff;
}

.hero-backdrop {
  position: absolute;
  inset: 0 0 calc(var(--ribbon-overlap) - (var(--ribbon-height) + var(--ribbon-rise)) / 2);
  overflow: hidden;
  background: var(--deep-violet);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ribbon-rise)), 0 100%);
  pointer-events: none;
}

.hero-backdrop::before, .hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-backdrop::before {
  background-image: linear-gradient(90deg, #6866ba57, #2a0a7136), url('assets/hero-background.webp');
  background-position: var(--hero-background-position);
  background-size: cover;
}

.hero-backdrop::after {
  inset: -12%;
  background:
    radial-gradient(ellipse at 72% 34%, #c79aff60, #a872ff24 34%, transparent 62%),
    radial-gradient(ellipse at 24% 80%, #7156fc42, transparent 58%);
  opacity: .72;
}

.hero-rings {
  position: absolute;
  top: 55%;
  left: 74%;
  width: clamp(370px, 76vw, 1080px);
  height: auto;
  overflow: visible;
  transform: translate(-50%, -50%);
  fill: none;
  stroke: #ecd5ff;
  stroke-width: 1.5;
}

.hero-rings circle {
  opacity: .26;
  vector-effect: non-scaling-stroke;
  transform-box: view-box;
  transform-origin: center;
  transform: scale(.7);
}

.hero-rings circle:nth-child(2) { opacity: .21; transform: scale(.94); }
.hero-rings circle:nth-child(3) { opacity: .16; transform: scale(1.18); }

@media (prefers-reduced-motion: no-preference) {
  .hero-backdrop::before { animation: hero-backdrop-drift 10s ease-in-out -2.6s infinite alternate; }
  .hero-backdrop::after { animation: hero-backdrop-glow 8.5s ease-in-out -2.4s infinite alternate; }
  .hero-rings circle { animation: hero-ring-ripple 6.3s linear infinite; }
  .hero-rings circle:nth-child(2) { animation-delay: -2.1s; }
  .hero-rings circle:nth-child(3) { animation-delay: -4.2s; }
}

@keyframes hero-ring-ripple {
  0% { opacity: 0; transform: scale(.55); }
  21% { opacity: .55; }
  62% { opacity: .36; }
  100% { opacity: 0; transform: scale(1.31); }
}

@keyframes hero-backdrop-drift {
  from { transform: translate3d(-2.5%, -1.6%, 0) scale(1.09); }
  to { transform: translate3d(2.5%, 1.8%, 0) scale(1.17); }
}

@keyframes hero-backdrop-glow {
  from { transform: translate3d(-8%, 4%, 0); opacity: .55; }
  to { transform: translate3d(8%, -5%, 0) scale(1.1); opacity: .95; }
}

.hero-inner { position: relative; min-height: inherit; }
.hero-copy {
  position: relative;
  z-index: 1;
  width: 49%;
  padding-top: clamp(142px, 19.9vw, 215px);
  padding-bottom: 100px;
}

.eyebrow { font-size: clamp(16px, 2.45vw, 23px); font-weight: 590; text-transform: uppercase; }

.hero h1 {
  margin-top: clamp(24px, 3.35vw, 39px);
  font-size: clamp(58px, 8.9vw, 121px);
  font-weight: 820;
  line-height: .98;
  letter-spacing: -.042em;
  text-transform: uppercase;
}

.hero h1 span { display: block; white-space: nowrap; }

.hero-description {
  max-width: clamp(290px, 38.7vw, 445px);
  margin-top: clamp(16px, 2.4vw, 30px);
  font-size: clamp(17px, 2.25vw, 23px);
  font-weight: 460;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: clamp(22px, 4vw, 42px);
}

.hero-actions .button { margin-left: 0; }

.hero-visual {
  position: absolute;
  width: min(58.6%, 550px);
  right: max(-2.2%, -27px);
  bottom: clamp(42px, 6.4vw, 62px);
}

.hero-mascot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}

.hero-poster {
  display: block;
  width: 100%;
  aspect-ratio: 1000 / 1124;
}

.hero-art {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  overflow: visible;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art { --hero-gesture-cycle: 6.6s; }
  .hero-mascot.is-motion-ready .hero-art { display: block; }
  .hero-mascot.is-motion-ready .hero-poster { visibility: hidden; }

  .hero-mascot:enabled :is(.hero-motion-body, .hero-motion-left-foot, .hero-motion-right-foot) {
    cursor: var(--site-pointer, pointer);
    pointer-events: visiblePainted;
  }

  .hero-jump-target {
    transform-box: view-box;
    transform-origin: 540px 1090px;
  }

  .hero-jump-target.is-jumping { animation: hero-hop 520ms ease-in-out; }
  .hero-sparks { animation: hero-sparks-bob 2.6s ease-in-out infinite; }
  .hero-note { animation: hero-note-float 4.4s ease-in-out infinite; }
  .hero-note-promotion { animation-delay: -1.5s; }
  .hero-note-offer { animation-delay: -.8s; }

  .hero-art-motion [class^="hero-motion-"] {
    transform-box: view-box;
    animation-duration: var(--hero-gesture-cycle);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }

  .hero-motion-body {
    transform-origin: 523px 874px;
    rotate: var(--hero-lean, 0deg);
    transition: rotate 260ms ease-out;
    animation-name: hero-body-sway;
  }

  .hero-motion-wave {
    transform-origin: 189px 401px;
    animation-name: hero-wave;
  }

  .hero-motion-other-hand {
    transform-origin: 817px 695px;
    animation-name: hero-other-hand;
  }

  .hero-motion-left-eye,
  .hero-motion-right-eye { animation-name: hero-blink; }
  .hero-motion-left-eye { transform-origin: 473px 417px; }
  .hero-motion-right-eye { transform-origin: 596px 378px; }

  .hero-eye-gaze {
    transform: translate(var(--hero-gaze-x, 0px), var(--hero-gaze-y, 0px));
    transition: transform 150ms ease-out;
  }

  .hero-motion-left-brow,
  .hero-motion-right-brow { animation-name: hero-brows; }

  .hero-motion-left-brow {
    --hero-brow-rise: translate(-2px, -16px);
    transform-origin: 439px 341px;
  }

  .hero-motion-right-brow {
    --hero-brow-rise: translate(-17px, -12px);
    transform-origin: 579px 293px;
  }

  .hero-motion-smile {
    transform-origin: 558px 482px;
    animation-name: hero-smile;
  }

  .hero-motion-left-foot,
  .hero-motion-right-foot { animation-name: hero-stomp; }

  .hero-motion-left-foot {
    --hero-step-tilt: -4deg;
    transform-origin: 406px 892px;
  }

  .hero-motion-right-foot {
    --hero-step-tilt: 4deg;
    transform-origin: 669px 906px;
    animation-delay: 1.25s;
  }
}

@keyframes hero-hop {
  0%, 100% { transform: none; }
  12% { transform: scale(1.02, .975); animation-timing-function: ease-out; }
  44% { transform: translateY(-38px); animation-timing-function: ease-in; }
  80% { transform: scale(1.02, .978); animation-timing-function: ease-out; }
}

@keyframes hero-sparks-bob {
  0%, 100% { transform: none; }
  50% { transform: translateY(-12px); }
}

@keyframes hero-body-sway {
  0%, 6%, 27%, 47%, 100% { transform: none; }
  13%, 21% { transform: translate(6px, -4px) rotate(1.4deg); }
  17%, 24% { transform: translate(2px, 6px) rotate(.5deg); }
  32%, 40% { transform: translate(-6px, -4px) rotate(-1.4deg); }
  36%, 43% { transform: translate(-2px, 6px) rotate(-.5deg); }
}

@keyframes hero-wave {
  0%, 4%, 42%, 100% { transform: none; }
  11%, 25% { transform: rotate(-13deg); }
  18%, 32% { transform: rotate(13deg); }
}

@keyframes hero-other-hand {
  0%, 12%, 53%, 100% { transform: none; }
  22%, 42% { transform: rotate(-12deg); }
  32% { transform: rotate(8deg); }
}

@keyframes hero-blink {
  0%, 30%, 33%, 73%, 76%, 100% { transform: none; }
  31.5%, 74.5% { transform: scaleY(.07); }
}

@keyframes hero-brows {
  0%, 5%, 47%, 100% { transform: none; }
  13%, 23%, 40% { transform: var(--hero-brow-rise); }
  32% { transform: translateY(3px) rotate(2deg); }
}

@keyframes hero-smile {
  0%, 4%, 55%, 100% { transform: none; }
  18%, 37% { transform: translateY(-3px) scale(1.13, 1.09); }
}

@keyframes hero-stomp {
  0%, 7%, 27%, 100% { transform: none; }
  13% { transform: translateY(-40px) rotate(var(--hero-step-tilt)); }
  17%, 24% { transform: scale(1.018, .97); }
  21% { transform: translateY(-23px) rotate(var(--hero-step-tilt)); }
}

.hero-mobile-scene, .hero-mobile-body-group {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-mobile-scene { display: none; }
.hero-mobile-layer {
  position: absolute;
  display: block;
  background-image: var(--hero-sprite);
  background-repeat: no-repeat;
  pointer-events: none;
}

@media (max-width: 730px), (pointer: coarse) {
  .hero-mascot.is-motion-ready .hero-art { display: none; }
  .hero-mascot.is-motion-ready .hero-poster { visibility: visible; }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 730px),
       (prefers-reduced-motion: no-preference) and (pointer: coarse) {
  .hero-mascot.is-mobile-ready .hero-poster { visibility: hidden; }
  .hero-mascot.is-mobile-ready .hero-mobile-scene { display: block; }
  .hero-mobile-body-group {
    transform-origin: 52.3% 77.76%;
    animation: hero-mobile-sway 8s ease-in-out infinite;
  }
  .hero-mobile-wave { animation: hero-wave 8s ease-in-out infinite; }
  .hero-mobile-other-hand { animation: hero-other-hand 8s ease-in-out infinite; }
  .hero-mobile-left-eye, .hero-mobile-right-eye { animation: hero-blink 8s ease-in-out infinite; }
  .hero-mobile-left-brow, .hero-mobile-right-brow { animation: hero-mobile-brows 8s ease-in-out infinite; }
  .hero-mobile-smile { animation: hero-mobile-smile 8s ease-in-out infinite; }
  .hero-mobile-left-foot, .hero-mobile-right-foot { animation: hero-mobile-step 8s ease-in-out infinite; }
  .hero-mobile-right-foot { animation-delay: 1.25s; }
  .hero-mobile-sparks { animation: hero-mobile-sparks 3s ease-in-out infinite; }
  .hero-backdrop::before, .hero-backdrop::after { animation: none; }
  .hero-rings { animation: hero-mobile-rings 9s ease-in-out infinite; }
  .hero-rings circle { animation: none; }
}

@keyframes hero-mobile-sway {
  0%, 45%, 100% { transform: none; }
  18% { transform: translate3d(1px, -1px, 0) rotate(.6deg); }
  32% { transform: translate3d(-1px, 1px, 0) rotate(-.6deg); }
}
@keyframes hero-mobile-step {
  0%, 7%, 27%, 100% { transform: none; }
  13% { transform: translate3d(0, -8px, 0) rotate(-2deg); }
  21% { transform: translate3d(0, -4px, 0) rotate(1deg); }
}
@keyframes hero-mobile-brows {
  0%, 5%, 47%, 100% { transform: none; }
  18%, 32% { transform: translate3d(0, -2px, 0); }
}
@keyframes hero-mobile-smile {
  0%, 4%, 55%, 100% { transform: none; }
  18%, 37% { transform: scale(1.06, 1.04); }
}
@keyframes hero-mobile-sparks {
  0%, 100% { transform: none; }
  50% { transform: translate3d(0, -4px, 0); }
}
@keyframes hero-mobile-rings {
  0%, 100% { transform: translate(-50%, -50%) scale(.96); }
  50% { transform: translate(-50%, -50%) scale(1.04); }
}

.hero.is-motion-paused :is(.hero-art-motion *, .hero-mobile-layer, .hero-mobile-body-group, .hero-note, .hero-rings, .hero-rings circle),
.hero.is-motion-paused .hero-backdrop::before,
.hero.is-motion-paused .hero-backdrop::after {
  animation-play-state: paused;
}


.hero-note {
  position: absolute;
  padding: .73em 1.12em;
  border-radius: 1.18em;
  color: var(--ink);
  background: var(--cream);
  font-size: clamp(16px, 2.35vw, 23px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.027em;
}

.hero-note-design { top: -1.6%; right: 3.2%; }
.hero-note-promotion { top: 63%; left: -11.5%; }
.hero-note-offer {
  top: 48%;
  right: -2%;
  display: flex;
  align-items: center;
  gap: .55em;
  padding: .65em .8em;
  background: var(--mint);
  color: #29103e;
  font-size: clamp(12px, 1.55vw, 17px);
}
.hero-note-rate { color: #4b1289; font-size: 1.42em; white-space: nowrap; }
.hero-note:hover, .hero-note:focus-visible { box-shadow: 0 0 0 2px #c9b1f6, 0 8px 24px #32134940; }

@keyframes hero-note-float {
  0%, 100% { transform: translateY(3px); }
  50% { transform: translateY(-3px); }
}

@media (min-width: 1000px) {
  .hero-note-promotion { left: 1%; }
}

.ribbon {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--ribbon-overlap));
  overflow-x: clip;
}

.ribbon-inner {
  --ribbon-gap: clamp(12px, 4vw, 54px);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 105%;
  margin-inline: -2.5%;
  min-height: var(--ribbon-height);
  overflow: hidden;
  color: #fff9f6;
  background: var(--plum);
  font-size: clamp(16px, 3.12vw, 40px);
  font-weight: 760;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-2.5deg);
}

.ribbon-track, .ribbon-sequence, .ribbon-phrase {
  display: flex;
  align-items: center;
}

.ribbon-phrase { gap: var(--ribbon-gap); }

.ribbon-sequence[aria-hidden], .ribbon-phrase[aria-hidden], .ribbon-phrase > .icon:last-child {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .ribbon-inner { justify-content: flex-start; }

  .ribbon-track {
    flex: none;
    width: max-content;
    min-width: 200%;
    animation: ribbon-scroll 30s linear infinite;
  }

  .ribbon-sequence {
    flex: 1 0 auto;
    justify-content: space-around;
    gap: var(--ribbon-gap);
    padding-inline: calc(var(--ribbon-gap) / 2);
  }

  .ribbon-sequence[aria-hidden], .ribbon-phrase[aria-hidden] { display: flex; }
  .ribbon-phrase > .icon:last-child { display: inline-block; }
}

@media (any-hover: hover) {
  .ribbon-inner:hover .ribbon-track { animation-play-state: paused; }
}

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

.ribbon .icon-sparkle { --icon: url('assets/sparkle-mint.svg'); }

.content {
  width: min(calc(100% - clamp(32px, 5vw, 76px)), var(--max-width));
  margin-inline: auto;
}

.formats { padding-top: clamp(52px, 8.5vw, 115px); }

.section-title {
  padding-inline: clamp(2px, 2vw, 24px);
  font-size: clamp(34px, 7.58vw, 92px);
  font-weight: 820;
  line-height: 1.04;
  letter-spacing: -.031em;
  text-wrap: balance;
}

.section-title em { color: var(--violet); font-style: normal; }

.detail-action {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  width: fit-content;
  min-height: 40px;
  color: var(--deep-violet);
  font-size: clamp(15px, 1.9vw, 20px);
  font-weight: 750;
  line-height: 1.15;
}

.detail-action:hover { text-decoration: underline; text-underline-offset: 4px; }

.promotion { margin-top: clamp(52px, 8.2vw, 110px); }
.promotion .section-title { padding-inline-end: 4px; font-size: clamp(32px, 6.75vw, 82px); }

.portfolio { margin-top: clamp(52px, 8.2vw, 110px); }
.portfolio-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-right: clamp(4px, 2vw, 24px);
}

.portfolio-heading .detail-action { flex-shrink: 0; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.7vw, 24px);
  margin-top: clamp(22px, 4vw, 56px);
}

.case-card { border-radius: clamp(20px, 3vw, 34px); }
.case-card > a { display: grid; min-width: 0; height: 100%; border-radius: inherit; }
.case-surface {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: inherit;
  background: #fff;
}
.case-card img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; object-position: center top; border-radius: inherit; border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
.case-copy { display: grid; grid-template-rows: auto auto 1fr auto; gap: clamp(12px, 1.05vw, 15px); flex: 1; padding: clamp(18px, 2.3vw, 32px); font-size: clamp(15px, 1.65vw, 20px); line-height: 1.5; }
.case-copy :is(h3, h4) { margin: 0; font-size: clamp(24px, 3vw, 42px); font-weight: 820; line-height: 1.1; letter-spacing: -.044em; overflow-wrap: anywhere; }
.case-category { color: var(--deep-violet); font-size: .86em; font-weight: 740; }
.case-link { display: inline-flex; align-items: center; gap: .42em; margin-top: .3em; color: var(--deep-violet); font-weight: 750; }
.case-card a:hover .case-link { text-decoration: underline; text-underline-offset: 4px; }
.contact { margin-block: var(--section-gap) clamp(28px, 3vw, 44px); }

.contact-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(24px, 3.85vw, 56px) clamp(23px, 4.5vw, 65px) clamp(24px, 3.85vw, 56px) clamp(24px, 6.2vw, 90px);
  border-radius: clamp(25px, 4.5vw, 56px);
  color: #fff;
  background: var(--plum);
}

.contact-copy { flex: 1 1 225px; min-width: 0; }
.contact-next-step {
  max-width: 41ch;
  margin-top: var(--lead-gap);
  color: #efe4f5;
  font-size: clamp(15px, 1.38vw, 19px);
  line-height: 1.55;
}

.contact h2 {
  font-size: clamp(39px, 6.45vw, 80px);
  font-weight: 820;
  line-height: 1;
  letter-spacing: -.04em;
}

.contact-stroke {
  width: clamp(136px, 27vw, 288px);
  margin-top: clamp(7px, 1vw, 12px);
}

@media (prefers-reduced-motion: no-preference) {
  .contact-stroke:is(.is-awaiting-draw, .animate-draw) {
    mask: linear-gradient(#000, #000) left / 100% 100% no-repeat;
  }
  .contact-stroke.is-awaiting-draw { mask-size: 0% 100%; }
  .contact-stroke.animate-draw { animation: contact-stroke-draw .8s cubic-bezier(.32, .65, .42, 1); }

  @keyframes contact-stroke-draw {
    from { mask-size: 0% 100%; }
    to { mask-size: 100% 100%; }
  }
}

.contact-actions { display: grid; gap: 12px; }
.contact-actions .button {
  width: 100%;
  justify-content: space-between;
  margin-left: 0;
  font-size: clamp(17px, 2.2vw, 28px);
  white-space: nowrap;
}

.site-footer {
  position: relative;
  isolation: isolate;
  padding-block: clamp(28px, 4.2vw, 60px) clamp(18px, 2.4vw, 32px);
  border-radius: clamp(22px, 4vw, 50px) clamp(22px, 4vw, 50px) 0 0;
  color: #fff;
  background: var(--plum);
}
.footer-fireflies {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
}
.footer-inner { position: relative; padding-inline: clamp(4px, 2vw, 24px); }
.footer-brand, .footer-nav, .footer-bottom, .footer-contacts > * {
  position: relative;
  z-index: 2;
}
.footer-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(120px, .65fr) minmax(235px, 1fr);
  gap: clamp(22px, 4.5vw, 64px);
  align-items: start;
}
.footer-brand .wordmark { display: inline-block; color: var(--mint); }
.footer-brand p { max-width: 34ch; margin-top: var(--lead-gap); color: #eee1f8; line-height: 1.5; }
.footer-service-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-service-links a, .footer-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid #fff5;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}
.footer-service-links .icon { filter: invert(1); }
.footer-service-links a:hover, .footer-top:hover { background: #ffffff17; }
.footer-columns h2 { margin-bottom: 10px; font-size: clamp(17px, 1.6vw, 22px); font-weight: 750; }
.footer-nav .nlv-menu-footer a { display: inline-flex; min-height: 36px; align-items: center; color: #eee1f8; }
.footer-nav a:hover, .footer-bottom nav a:hover, .footer-phone:hover { text-decoration: underline; text-underline-offset: .22em; }
.footer-contacts {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: clamp(16px, 2.45vw, 32px);
  border-radius: clamp(20px, 2.8vw, 34px);
  color: var(--ink);
  background: var(--mint);
}
.footer-contacts h2 { margin: 0; }
.footer-phone { font-size: clamp(19px, 2.25vw, 32px); font-weight: 780; letter-spacing: -.035em; }
.footer-callback { min-height: 44px; margin-top: 5px; padding: .6em 1em; font-size: clamp(15px, 1.3vw, 18px); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 22px;
  margin-top: clamp(22px, 4vw, 46px);
  padding-top: 16px;
  border-top: 1px solid #fff4;
  color: #e7d9f1;
  font-size: 14px;
  line-height: 1.4;
}
.site-footer :focus-visible { outline-color: var(--mint); }
.footer-contacts :focus-visible { outline-color: var(--deep-violet); }

.brief-shell { position: relative; padding: clamp(21px, 5vw, 34px); }

.brief-shell h2 { max-width: 88%; font-size: clamp(26px, 4.8vw, 36px); line-height: 1.12; letter-spacing: -.04em; }
.brief-shell p { margin: var(--lead-gap) 0; color: #544361; font-size: 15px; line-height: 1.55; }
.brief-shell form { display: grid; gap: clamp(16px, 1.55vw, 22px); margin-block: var(--group-gap); }
.brief-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.25vw, 18px); }
.brief-shell label { display: grid; gap: 7px; font-size: 14px; font-weight: 650; line-height: 1.35; }

.brief-shell :is(input, select, textarea) {
  width: 100%;
  padding: 11px 12px;
  min-height: 46px;
  border: 1px solid #c9b9d8;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  font-weight: 450;
}

select:not([multiple], [size]:not([size="1"])) {
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236026a0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  --select-chevron-open: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236026a0' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 10 4-4 4 4'/%3E%3C/svg%3E");
  appearance: none;
  padding-inline-end: 42px;
  background-image: var(--select-chevron);
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 16px;
}

select:not([multiple], [size]:not([size="1"])):where(:open) { background-image: var(--select-chevron-open); }

@media (forced-colors: active) {
  select:not([multiple], [size]:not([size="1"])) { appearance: auto; padding-inline-end: 12px; background-image: none; }
}

.brief-shell :is(input, select, textarea):focus {
  outline: 1px solid var(--violet);
  outline-offset: -1px;
}

.brief-shell textarea { resize: vertical; }
.brief-shell .button { font-size: 16px; }
.draft { display: grid; gap: 12px; margin: 16px 0; padding: 16px; border-radius: 16px; background: #e0f6ea; }
.draft p { margin: 0; }

@media (max-width: 730px) {
  .home-page { --ribbon-height: 43px; --ribbon-overlap: 20px; }
  .topbar-inner { min-height: 70px; gap: 18px; }
  .button-outline { min-height: 43px; padding-inline: 12px; }
  .hero { --hero-background-position: 62% center; min-height: 0; }
  .hero-rings { top: 71%; left: 50%; }
  .hero-inner { min-height: 0; }
  .hero-copy { width: 100%; padding-top: 114px; padding-bottom: 0; }
  .hero h1 { font-size: clamp(56px, 11vw, 84px); margin-top: 18px; }
  .hero-description { max-width: 350px; }
  .hero-actions { margin-top: 21px; }
  .hero-visual {
    position: relative; right: auto; bottom: auto; display: grid; grid-template-columns: minmax(0, 1fr);
    gap: 8px; width: min(100% - 6px, 380px); margin: 34px auto 0; padding-bottom: 44px;
  }
  .hero-mascot, .hero-note-design, .hero-note-promotion { grid-area: 1 / 1 / 2 / 2; }
  .hero-note { font-size: clamp(13px, 3.3vw, 17px); }
  .hero-note-design { right: -1%; top: -1%; }
  .hero-note-promotion { left: -4%; top: 54%; }
  .hero-note-offer {
    position: relative; inset: auto; grid-row: 2; justify-self: center;
    min-height: 44px; font-size: clamp(12px, 2.7vw, 15px);
  }
  .hero-note-offer br { display: none; }
  .ribbon-inner { --ribbon-gap: clamp(5px, 2vw, 16px); font-size: clamp(12px, 3.15vw, 23px); }
  .section-title { text-wrap: initial; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-panel { gap: 20px; }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 450px) {
  .topbar-inner { gap: 12px; width: calc(100% - 32px); }
  .service-nav summary { font-size: 14px; gap: .55em; }
  .topbar .button { font-size: 13px; gap: .35em; padding-inline: 11px; white-space: nowrap; }
  .header-action-desktop { display: none; }
  .header-action-mobile { display: inline; }
  .topbar .wordmark { font-size: 32px; }
  .hero h1 { font-size: clamp(48px, 13vw, 60px); }
  .case-grid { grid-template-columns: 1fr; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
  .contact-copy { flex-basis: auto; }
  .contact h2 { font-size: clamp(32px, 9.7vw, 39px); }
  .contact-actions { width: 100%; }
  .contact .button { min-height: 51px; }
  .footer-columns { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-nav .nlv-menu-footer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .brief-fields { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .topbar-inner { gap: 9px; }
  .topbar .wordmark { font-size: 28px; }
}

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