/*
 * MARI homepage — detail pass v3.
 * Loaded after home.css so the original responsive foundation stays intact.
 */

:root {
  --contact-x: 50%;
  --contact-y: 50%;
}

/* Header and hero */

.header-inner {
  min-height: 84px;
  grid-template-columns: 72px 1fr 220px;
}

.brand-mark {
  width: 48px;
  height: 48px;
}

.brand-mark img {
  width: 46px;
  height: 46px;
}

.hero-content {
  position: relative;
  padding-top: 100px;
  justify-content: flex-start;
}

.hero-details {
  position: static;
  margin-top: clamp(42px, 5vh, 68px);
}

.hero-intro {
  width: min(470px, 48vw);
  padding-left: 7px;
}

.hero-copy {
  width: auto;
  max-width: 455px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.46;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(0, 20, 86, 0.58);
}

.scroll-cue {
  position: absolute;
  right: 0;
  bottom: 2px;
  gap: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0, 18, 77, 0.9);
}

.scroll-cue-icon {
  position: relative;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: rgba(0, 32, 125, 0.5);
  box-shadow:
    0 10px 30px rgba(0, 19, 83, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.scroll-cue-icon::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mari-coral);
  box-shadow: 0 0 12px rgba(255, 112, 137, 0.9);
}

/* Clear, conventional section icons */

.section-icon {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: block;
  border-radius: 13px;
  background: linear-gradient(145deg, #ff8197, #ff5f7f);
  box-shadow:
    0 10px 24px rgba(255, 83, 120, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.section-icon--profile::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 15px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.section-icon--profile::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 8px;
  width: 18px;
  height: 10px;
  border: 2px solid #fff;
  border-bottom: 0;
  border-radius: 14px 14px 3px 3px;
}

.section-icon--grid::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 3px;
  background:
    linear-gradient(#fff 0 0) 0 0 / 8px 8px no-repeat,
    linear-gradient(#fff 0 0) 100% 0 / 8px 8px no-repeat,
    linear-gradient(#fff 0 0) 0 100% / 8px 8px no-repeat,
    linear-gradient(#fff 0 0) 100% 100% / 8px 8px no-repeat;
}

/* About */

.signature {
  margin-top: 22px;
  color: #39a5ff;
  font-family: "Caveat", "Segoe Print", cursive;
  font-size: clamp(48px, 4vw, 62px);
  font-weight: 600;
  font-style: normal;
  line-height: 0.8;
  letter-spacing: -0.04em;
  transform: rotate(-4deg);
  text-shadow: 0 5px 22px rgba(4, 108, 255, 0.28);
}

.stat-icon--education {
  position: relative;
  width: 25px;
  height: 20px;
}

.stat-icon--education::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 1px;
  width: 11px;
  height: 14px;
  border: 1px solid #d9e6f8;
  border-right: 0;
  border-radius: 3px 0 0 4px;
  transform: rotate(3deg);
}

.stat-icon--education::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 1px;
  width: 11px;
  height: 14px;
  border: 1px solid #d9e6f8;
  border-left: 0;
  border-radius: 0 3px 4px 0;
  transform: rotate(-3deg);
}

.russia-map {
  position: relative;
  min-height: 245px;
  margin: -16px -9px 2px;
  overflow: visible;
  background-image: radial-gradient(circle, rgba(172, 194, 226, 0.82) 0 1.35px, transparent 1.7px);
  background-size: 7px 7px;
  -webkit-mask-image: url("assets/world-robinson.svg");
  mask-image: url("assets/world-robinson.svg");
  -webkit-mask-size: 520% auto;
  mask-size: 520% auto;
  -webkit-mask-position: 64% 10%;
  mask-position: 64% 10%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.russia-map .map-marker {
  left: 31%;
  top: 28%;
}

.map-caption p b {
  color: #8dbbff;
}

/* Direction cards */

.direction-card {
  height: 430px;
}

.round-arrow {
  font-size: 0;
}

.round-arrow::before,
.round-arrow::after {
  content: "";
  position: absolute;
}

.round-arrow::before {
  left: 13px;
  top: 20px;
  width: 16px;
  height: 2px;
  border-radius: 3px;
  background: #0d316c;
}

.round-arrow::after {
  left: 21px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #0d316c;
  border-right: 2px solid #0d316c;
  transform: rotate(45deg);
}

.identity-shape--grid {
  width: 72%;
  height: 71%;
  left: -9%;
  bottom: -2%;
  border-radius: 0 0 15px 15px;
  clip-path: polygon(0 100%, 0 58%, 46% 23%, 100% 100%);
  transform: none;
}

.identity-shape--grid::after {
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
}

.identity-shape--dots {
  width: 75%;
  height: 90%;
  right: -5%;
  bottom: -3%;
  border-radius: 0 0 16px 16px;
  clip-path: polygon(0 100%, 11% 79%, 59% 8%, 100% 100%);
  transform: none;
}

.identity-shape--dots::after {
  background-image: radial-gradient(circle, rgba(255, 208, 217, 0.88) 0 9px, transparent 9.7px);
  background-size: 31px 31px;
}

.logo-orbit {
  border-color: rgba(211, 238, 255, 0.32);
}

.logo-tile {
  width: 168px;
  height: 168px;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.42), transparent 31%),
    linear-gradient(145deg, rgba(16, 121, 255, 0.72), rgba(7, 55, 176, 0.62));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    0 26px 46px rgba(0, 34, 123, 0.36);
}

.logo-tile img {
  width: 112px;
  height: 112px;
}

.preview-shape {
  position: absolute;
  display: block;
  overflow: hidden;
  filter: drop-shadow(0 18px 26px rgba(0, 39, 126, 0.24));
}

.preview-shape::after {
  content: "";
  position: absolute;
  inset: 0;
}

.preview-shape--grid {
  left: -10%;
  bottom: -3%;
  width: 68%;
  height: 66%;
  background: linear-gradient(135deg, #17d7f4, #0877df);
  clip-path: polygon(0 100%, 0 54%, 48% 18%, 100% 100%);
}

.preview-shape--grid::after {
  background:
    linear-gradient(45deg, rgba(0, 48, 150, 0.5) 25%, transparent 25%, transparent 75%, rgba(0, 48, 150, 0.5) 75%),
    linear-gradient(45deg, rgba(0, 48, 150, 0.5) 25%, transparent 25%, transparent 75%, rgba(0, 48, 150, 0.5) 75%);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
}

.preview-shape--dots {
  right: -8%;
  bottom: -5%;
  width: 70%;
  height: 78%;
  background: linear-gradient(145deg, #ff8ba1, #ff5e7d 70%);
  clip-path: polygon(0 100%, 14% 72%, 62% 10%, 100% 100%);
}

.preview-shape--dots::after {
  background-image: radial-gradient(circle, rgba(255, 214, 222, 0.76) 0 8px, transparent 8.7px);
  background-size: 29px 29px;
}

.video-tile {
  position: absolute;
  right: 8%;
  bottom: 12%;
  width: 83%;
  height: 48%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  background:
    radial-gradient(circle at 72% 34%, rgba(64, 205, 255, 0.78) 0 8%, transparent 9%),
    linear-gradient(130deg, #07153a 0 47%, #173da2 48% 66%, #ff6f88 67%);
  box-shadow:
    0 24px 38px rgba(0, 32, 112, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: rotate(-4deg);
}

.video-tile i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 25px rgba(0, 20, 80, 0.34);
  transform: translate(-50%, -50%);
}

.video-tile i::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 19px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #ff476d;
}

.video-tile b {
  position: absolute;
  left: 13px;
  top: 13px;
  padding: 5px 8px;
  border-radius: 6px;
  background: #ff476d;
  color: #fff;
  font: 600 8px/1 var(--mono);
  letter-spacing: 0.04em;
}

.video-tile b::after {
  content: "YOUTUBE";
}

.video-tile em {
  position: absolute;
  left: 15px;
  right: 18px;
  bottom: 14px;
  height: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 -11px 0 -1px rgba(255, 255, 255, 0.42);
}

.print-poster,
.print-ticket {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 24px 38px rgba(0, 39, 126, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.print-poster {
  border-radius: 14px;
}

.print-poster--back {
  left: 7%;
  bottom: 2%;
  width: 58%;
  height: 79%;
  color: #063c9c;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 35%),
    #24d1ed;
  transform: rotate(-10deg);
}

.print-poster--back::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, rgba(0, 75, 165, 0.28) 25%, transparent 25%, transparent 75%, rgba(0, 75, 165, 0.28) 75%),
    linear-gradient(45deg, rgba(0, 75, 165, 0.28) 25%, transparent 25%, transparent 75%, rgba(0, 75, 165, 0.28) 75%);
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
}

.print-poster--back i {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  font-size: 74px;
  font-style: normal;
  font-weight: 900;
  line-height: 0.7;
  letter-spacing: -0.1em;
}

.print-poster--front {
  right: 4%;
  bottom: 4%;
  width: 60%;
  height: 84%;
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 210, 218, 0.9) 0 18px, transparent 19px),
    radial-gradient(circle at 62% 38%, rgba(255, 210, 218, 0.72) 0 28px, transparent 29px),
    linear-gradient(145deg, #ff8b9e, #e3477c 70%);
  transform: rotate(7deg);
}

.print-poster--front i {
  position: absolute;
  left: 15px;
  top: 18px;
  color: #fff;
  font: 700 16px/1 var(--display);
  font-style: normal;
  letter-spacing: -0.05em;
}

.print-poster--front b,
.print-poster--front em {
  position: absolute;
  left: 15px;
  height: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.92);
}

.print-poster--front b {
  right: 18px;
  bottom: 45px;
}

.print-poster--front em {
  width: 55%;
  bottom: 29px;
}

.print-ticket {
  left: 50%;
  bottom: 10%;
  width: 60%;
  height: 70px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(4, 38, 124, 0.94), rgba(26, 112, 239, 0.84));
  transform: translateX(-50%) rotate(-2deg);
}

.print-ticket i {
  position: absolute;
  left: 13px;
  top: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.print-ticket b {
  position: absolute;
  right: 15px;
  bottom: 18px;
  left: 58px;
  height: 4px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 -12px 0 -1px rgba(255, 255, 255, 0.45);
}

/* Works: compact fanned showcase */

.works-section {
  padding: clamp(84px, 8vw, 126px) 0;
}

.works-heading h2 {
  font-size: clamp(52px, 6.6vw, 98px);
}

.works-stage {
  position: relative;
  height: clamp(560px, 53vw, 760px);
  margin-top: 66px;
  overflow: hidden;
  border: 1px solid rgba(157, 191, 235, 0.24);
  border-radius: 34px;
  background:
    linear-gradient(rgba(120, 171, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 171, 235, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 95%, rgba(10, 113, 255, 0.4), transparent 46%),
    linear-gradient(150deg, #0d1b31, #070f1d 70%);
  background-size: 54px 54px, 54px 54px, auto, auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 35px 80px rgba(0, 0, 0, 0.24);
}

.works-stage::before {
  content: "SELECTED / CASES";
  position: absolute;
  top: 25px;
  left: 29px;
  color: rgba(195, 217, 245, 0.58);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.08em;
}

.works-stage::after {
  content: "ОТКРОЙТЕ КАРТОЧКУ";
  position: absolute;
  top: 25px;
  right: 29px;
  color: rgba(195, 217, 245, 0.58);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.08em;
}

.works-orbit {
  position: absolute;
  left: 50%;
  border: 1px solid rgba(86, 153, 255, 0.22);
  border-radius: 50%;
  transform: translateX(-50%);
}

.works-orbit--one {
  bottom: -38%;
  width: 104%;
  height: 92%;
}

.works-orbit--two {
  bottom: -23%;
  width: 75%;
  height: 68%;
}

.works-stage .work-card {
  position: absolute;
  height: auto;
  border-radius: 25px;
  box-shadow:
    0 30px 58px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transform-origin: 50% 100%;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.4s ease,
    filter 0.4s ease;
}

.works-stage .work-card--ribbon {
  top: 74px;
  left: 12%;
  z-index: 1;
  width: 76%;
  height: clamp(130px, 13vw, 184px);
  border-radius: 20px;
  transform: perspective(1000px) rotateX(-7deg);
  filter: saturate(0.88) brightness(0.78);
}

.works-stage .work-card--left,
.works-stage .work-card--center,
.works-stage .work-card--right {
  bottom: -4%;
  width: 31%;
  height: 69%;
}

.works-stage .work-card--left {
  left: 5.5%;
  z-index: 2;
  transform: rotate(-7deg) translateY(7%);
}

.works-stage .work-card--center {
  left: 34.5%;
  bottom: -1%;
  z-index: 4;
  height: 73%;
  transform: translateY(0);
}

.works-stage .work-card--right {
  right: 5.5%;
  z-index: 3;
  transform: rotate(7deg) translateY(7%);
}

.works-stage .work-card:hover {
  z-index: 7;
  filter: saturate(1.06) brightness(1);
  box-shadow:
    0 38px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.16);
}

.works-stage .work-card--ribbon:hover {
  transform: perspective(1000px) rotateX(0deg) translateY(-8px);
}

.works-stage .work-card--left:hover,
.works-stage .work-card--center:hover,
.works-stage .work-card--right:hover {
  transform: rotate(0deg) translateY(-18px);
}

.works-stage .work-card img {
  object-position: center 24%;
}

.works-stage .work-card--ribbon img {
  object-position: center;
}

.works-stage .work-meta {
  right: 18px;
  bottom: 17px;
  left: 18px;
}

.works-stage .work-meta b {
  font-size: clamp(18px, 1.8vw, 28px);
}

.works-stage .work-meta i {
  width: 42px;
  height: 42px;
  font-size: 19px;
}

.works-stage .work-card--ribbon .work-meta b {
  font-size: 21px;
}

/* Process: editorial cards with contrast and motion */

.process-section {
  position: relative;
  padding: clamp(96px, 9vw, 142px) 0;
  background:
    radial-gradient(circle at 8% 22%, rgba(255, 93, 129, 0.24), transparent 27%),
    radial-gradient(circle at 88% 78%, rgba(0, 139, 255, 0.32), transparent 35%),
    linear-gradient(145deg, #091426, #06101f 72%);
}

.process-section::before {
  right: auto;
  bottom: -42%;
  left: -11%;
  width: 620px;
  height: 620px;
  border-color: rgba(255, 112, 137, 0.24);
  box-shadow:
    0 0 0 70px rgba(255, 112, 137, 0.02),
    0 0 0 140px rgba(255, 112, 137, 0.015);
}

.process-orbit {
  position: absolute;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.process-orbit--one {
  top: 8%;
  right: 9%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 34% 29%, #ffd0d9, #ff6484 35%, #da2f68 72%);
  box-shadow: 0 0 70px rgba(255, 81, 123, 0.42);
  filter: blur(0.2px);
}

.process-orbit--two {
  top: 21%;
  right: 23%;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(120, 211, 255, 0.72);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(3, 113, 255, 0.3));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.process-intro {
  grid-template-columns: 0.52fr 1.35fr 0.7fr;
}

.process-intro h2 {
  font-size: clamp(50px, 6.2vw, 92px);
}

.process-list {
  margin-top: 64px;
  padding-bottom: 78px;
  gap: 16px;
  border: 0;
}

.process-list li,
.process-list li:first-child,
.process-list li:last-child {
  position: relative;
  min-height: 296px;
  padding: 22px 23px 25px;
  overflow: hidden;
  border: 1px solid rgba(176, 208, 245, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(17, 35, 62, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 54px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.process-list li::before {
  position: absolute;
  right: -8px;
  top: -18px;
  color: rgba(255, 255, 255, 0.09);
  font-size: 126px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.1em;
}

.process-list li:nth-child(1) {
  background: linear-gradient(145deg, #ff7891, #d9326d);
  transform: translateY(38px) rotate(-2deg);
}

.process-list li:nth-child(1)::before {
  content: "01";
}

.process-list li:nth-child(2) {
  transform: translateY(0);
}

.process-list li:nth-child(2)::before {
  content: "02";
}

.process-list li:nth-child(3) {
  background:
    radial-gradient(circle at 78% 18%, rgba(82, 209, 255, 0.62), transparent 28%),
    linear-gradient(145deg, #0877f5, #0646c8);
  transform: translateY(62px) rotate(2deg);
}

.process-list li:nth-child(3)::before {
  content: "03";
}

.process-list li:nth-child(4) {
  border-color: rgba(255, 112, 137, 0.4);
  background:
    linear-gradient(150deg, rgba(255, 112, 137, 0.13), rgba(255, 255, 255, 0.025)),
    rgba(13, 31, 56, 0.82);
  transform: translateY(20px) rotate(-1deg);
}

.process-list li:nth-child(4)::before {
  content: "04";
  color: rgba(255, 112, 137, 0.13);
}

.process-list li:hover {
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 34px 66px rgba(0, 0, 0, 0.32);
}

.process-list li:nth-child(1):hover,
.process-list li:nth-child(2):hover,
.process-list li:nth-child(3):hover,
.process-list li:nth-child(4):hover {
  transform: translateY(-12px) rotate(0deg);
}

.process-list li > span {
  position: relative;
  z-index: 1;
  width: max-content;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(4, 21, 61, 0.16);
  color: #fff;
}

.process-list li > div {
  position: relative;
  z-index: 1;
}

.process-list p {
  color: rgba(255, 255, 255, 0.78);
}

/* Contact: one clear action in an interactive composition */

.contact-section {
  padding: 58px 0 26px;
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 97, 132, 0.34), transparent 24%),
    radial-gradient(circle at 82% 26%, rgba(10, 192, 255, 0.42), transparent 30%),
    linear-gradient(145deg, #052d99, #075ff0 55%, #078cf6);
}

.contact-stage {
  --contact-x: 50%;
  --contact-y: 50%;
  position: relative;
  min-height: clamp(570px, 64vw, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 36px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at var(--contact-x) var(--contact-y), rgba(80, 210, 255, 0.22), transparent 28%),
    rgba(1, 50, 164, 0.32);
  background-size: 58px 58px, 58px 58px, auto, auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 35px 80px rgba(0, 39, 133, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.contact-glow {
  position: absolute;
  left: var(--contact-x);
  top: var(--contact-y);
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.19), transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition:
    left 0.12s linear,
    top 0.12s linear;
}

.contact-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.contact-ring--outer {
  width: min(68vw, 820px);
  height: min(38vw, 470px);
  transform: translate(-50%, -50%) rotate(-8deg);
  animation: contact-orbit 16s linear infinite;
}

.contact-ring--inner {
  width: min(48vw, 580px);
  height: min(28vw, 330px);
  border-style: dashed;
  opacity: 0.7;
  transform: translate(-50%, -50%) rotate(14deg);
  animation: contact-orbit-reverse 20s linear infinite;
}

.contact-label {
  position: absolute;
  top: 42px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-cta {
  position: relative;
  z-index: 4;
  width: clamp(210px, 21vw, 286px);
  height: clamp(210px, 21vw, 286px);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mari-white);
  color: #071a44 !important;
  box-shadow:
    0 32px 70px rgba(0, 25, 101, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
}

.contact-cta::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(5, 74, 200, 0.16);
  border-radius: 50%;
}

.contact-cta span {
  position: relative;
  z-index: 1;
  font-size: clamp(24px, 2.45vw, 36px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-align: center;
}

.contact-cta i {
  position: absolute;
  right: 44px;
  bottom: 38px;
  font-size: 25px;
  font-style: normal;
}

.contact-cta:hover,
.contact-cta:focus-visible {
  transform: scale(1.055) rotate(-3deg);
  box-shadow:
    0 42px 90px rgba(0, 24, 96, 0.42),
    0 0 0 12px rgba(255, 255, 255, 0.09);
}

.contact-social {
  position: absolute;
  z-index: 3;
  min-width: 190px;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(4, 44, 145, 0.45);
  color: #fff;
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 550;
  letter-spacing: -0.03em;
  box-shadow: 0 18px 36px rgba(0, 30, 115, 0.22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.contact-social:hover,
.contact-social:focus-visible {
  background: rgba(5, 31, 100, 0.7);
}

.contact-social--telegram {
  left: 10%;
  top: 42%;
  transform: rotate(-5deg);
}

.contact-social--telegram:hover,
.contact-social--telegram:focus-visible {
  transform: rotate(0deg) translateY(-5px);
}

.contact-social--vk {
  right: 12%;
  top: 57%;
  transform: rotate(5deg);
}

.contact-social--vk:hover,
.contact-social--vk:focus-visible {
  transform: rotate(0deg) translateY(-5px);
}

.contact-orb {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.contact-orb--coral {
  left: 25%;
  top: 19%;
  width: 92px;
  height: 92px;
  background: radial-gradient(circle at 34% 28%, #ffd2da, #ff6886 38%, #d72f67 76%);
  box-shadow: 0 0 54px rgba(255, 79, 121, 0.5);
  animation: contact-float 6s ease-in-out infinite;
}

.contact-orb--cyan {
  right: 23%;
  bottom: 15%;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(0, 130, 255, 0.36));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 18px 34px rgba(0, 34, 130, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: contact-float 7s ease-in-out -2s infinite;
}

@keyframes contact-orbit {
  to {
    transform: translate(-50%, -50%) rotate(352deg);
  }
}

@keyframes contact-orbit-reverse {
  to {
    transform: translate(-50%, -50%) rotate(-346deg);
  }
}

@keyframes contact-float {
  50% {
    transform: translateY(-17px);
  }
}

.site-footer {
  min-height: 74px;
  padding-top: 24px;
  grid-template-columns: 1fr 1fr 1fr;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
}

.footer-location {
  justify-self: center;
  color: rgba(255, 255, 255, 0.72);
}

/* Responsive refinements */

@media (max-width: 1240px) {
  .about-map {
    min-height: 300px;
  }

  .russia-map {
    min-height: 280px;
    margin: -26px 0 -20px;
  }

  .works-stage .work-card--left,
  .works-stage .work-card--center,
  .works-stage .work-card--right {
    height: 68%;
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 72px;
    grid-template-columns: 54px 1fr 48px;
  }

  .brand-mark,
  .brand-mark img {
    width: 42px;
    height: 42px;
  }

  .hero-content {
    padding-top: 92px;
  }

  .hero-details {
    margin-top: 38px;
  }

  .hero-intro {
    width: min(430px, 70vw);
  }

  .hero-copy {
    max-width: 420px;
    font-size: 16px;
  }

  .scroll-cue {
    bottom: 0;
  }

  .russia-map {
    min-height: 285px;
  }

  .works-stage {
    height: 620px;
  }

  .works-stage .work-card--ribbon {
    left: 8%;
    width: 84%;
  }

  .works-stage .work-card--left,
  .works-stage .work-card--center,
  .works-stage .work-card--right {
    width: 35%;
    height: 64%;
  }

  .works-stage .work-card--left {
    left: 1%;
  }

  .works-stage .work-card--center {
    left: 32.5%;
  }

  .works-stage .work-card--right {
    right: 1%;
  }

  .process-intro {
    grid-template-columns: 1fr;
  }

  .process-list {
    gap: 12px;
  }

  .process-list li,
  .process-list li:first-child,
  .process-list li:last-child {
    min-height: 250px;
    border: 1px solid rgba(176, 208, 245, 0.22);
    border-radius: 22px;
  }

  .process-list li:nth-child(1),
  .process-list li:nth-child(2),
  .process-list li:nth-child(3),
  .process-list li:nth-child(4) {
    transform: none;
  }

  .process-list li:nth-child(3),
  .process-list li:nth-child(4) {
    margin-top: 12px;
  }

  .process-orbit--one {
    right: -30px;
    top: 7%;
  }

  .contact-social--telegram {
    left: 5%;
  }

  .contact-social--vk {
    right: 5%;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .footer-location {
    grid-column: span 2;
    grid-row: 1;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 690px;
    height: 100svh;
    max-height: 840px;
  }

  .hero-content {
    padding-top: 88px;
  }

  .hero-details {
    margin-top: 30px;
  }

  .hero-intro {
    width: calc(100% - 58px);
    padding-left: 2px;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 15px;
    line-height: 1.43;
  }

  .scroll-cue {
    right: 0;
    bottom: 3px;
  }

  .scroll-cue-icon {
    width: 49px;
    height: 49px;
  }

  .scroll-cue > span:last-child {
    display: block;
    font-size: 8px;
  }

  .section-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 11px;
  }

  .section-icon--profile::before {
    top: 6px;
    left: 13px;
    width: 9px;
    height: 9px;
  }

  .section-icon--profile::after {
    left: 8px;
    bottom: 6px;
  }

  .section-icon--grid::before {
    inset: 8px;
  }

  .signature {
    margin-top: 24px;
    font-size: 52px;
  }

  .russia-map {
    min-height: 205px;
    margin: -9px 0;
    background-size: 5.5px 5.5px;
    -webkit-mask-size: 560% auto;
    mask-size: 560% auto;
  }

  .map-caption p {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .direction-card {
    height: 414px;
  }

  .works-heading h2 {
    font-size: 13vw;
  }

  .works-stage {
    width: calc(100% + 14px);
    height: auto;
    margin-top: 42px;
    margin-right: -14px;
    padding: 44px 14px 22px 0;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    border-right: 0;
    border-radius: 24px 0 0 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .works-stage::-webkit-scrollbar {
    display: none;
  }

  .works-stage::before {
    top: 17px;
    left: 17px;
  }

  .works-stage::after,
  .works-orbit {
    display: none;
  }

  .works-stage .work-card,
  .works-stage .work-card--ribbon,
  .works-stage .work-card--left,
  .works-stage .work-card--center,
  .works-stage .work-card--right {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 1;
    width: min(76vw, 310px);
    height: min(95vw, 395px);
    flex: 0 0 min(76vw, 310px);
    border-radius: 19px;
    filter: none;
    transform: none;
    scroll-snap-align: start;
  }

  .works-stage .work-card--ribbon {
    width: min(86vw, 350px);
    height: 215px;
    flex-basis: min(86vw, 350px);
  }

  .works-stage .work-card:hover,
  .works-stage .work-card--ribbon:hover,
  .works-stage .work-card--left:hover,
  .works-stage .work-card--center:hover,
  .works-stage .work-card--right:hover {
    transform: translateY(-5px);
  }

  .portfolio-link {
    margin-top: 20px;
  }

  .process-section {
    padding: 82px 0;
  }

  .process-intro h2 {
    font-size: 13vw;
  }

  .process-list {
    margin-top: 44px;
    padding-bottom: 0;
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:first-child,
  .process-list li:last-child {
    min-height: 210px;
    padding: 20px 19px 23px;
    border: 1px solid rgba(176, 208, 245, 0.22);
    border-radius: 20px;
  }

  .process-list li:nth-child(3),
  .process-list li:nth-child(4) {
    margin-top: 0;
  }

  .process-list li::before {
    font-size: 104px;
  }

  .process-orbit--one {
    width: 78px;
    height: 78px;
  }

  .process-orbit--two {
    display: none;
  }

  .contact-section {
    padding: 24px 0 20px;
  }

  .contact-stage {
    min-height: 610px;
    border-radius: 25px;
    background-size: 42px 42px, 42px 42px, auto, auto;
  }

  .contact-ring--outer {
    width: 155vw;
    height: 95vw;
  }

  .contact-ring--inner {
    width: 112vw;
    height: 70vw;
  }

  .contact-label {
    top: 28px;
  }

  .contact-cta {
    width: 208px;
    height: 208px;
  }

  .contact-social {
    min-width: 0;
    padding: 14px 17px;
    gap: 20px;
    font-size: 15px;
  }

  .contact-social--telegram {
    left: 18px;
    top: 19%;
  }

  .contact-social--vk {
    right: 18px;
    top: auto;
    bottom: 17%;
  }

  .contact-orb--coral {
    left: auto;
    right: 12%;
    top: 18%;
    width: 66px;
    height: 66px;
  }

  .contact-orb--cyan {
    right: auto;
    left: 12%;
    bottom: 16%;
    width: 54px;
    height: 54px;
  }

  .site-footer {
    min-height: 0;
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 18px;
    font-size: 10px;
  }

  .footer-location {
    grid-column: span 2;
    grid-row: auto;
  }
}
