* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #080808;
  --surface: #101010;
  --surface-2: #161616;
  --text: #f5f5f5;
  --muted: #8e8e8e;
  --line: rgba(255,255,255,.12);
  --accent: #ef1f2f;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

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

.header {
  height: 88px;
  padding: 0 4vw;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  border-bottom: 1px solid var(--line);
  background: rgba(8,8,8,.95);

  position: relative;
  z-index: 20;
}

.logo {
  width: fit-content;
}

.logo-main {
  display: block;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo-main::first-letter {
  color: white;
}

.logo-sub {
  display: block;
  margin-top: 3px;

  color: #666;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 4px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: #b5b5b5;
  font-size: 13px;
  font-weight: 600;

  transition: .2s;
}

.nav a:hover {
  color: #fff;
}

.header-btn {
  justify-self: end;

  min-height: 46px;
  padding: 0 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--accent);

  font-size: 12px;
  font-weight: 700;

  transition: .25s;
}

.header-btn:hover {
  transform: translateY(-2px);
  background: #ff2638;
}

.menu-btn {
  display: none;
}


/* HERO */

.hero {
  min-height: calc(100vh - 88px);

  display: grid;
  grid-template-columns: .95fr 1.05fr;

  border-bottom: 1px solid var(--line);
}

.hero-content {
  padding: 8vh 4vw 6vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 30px;

  color: #777;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.4px;
}

.eyebrow span {
  width: 28px;
  height: 2px;

  background: var(--accent);
}

.hero h1 {
  max-width: 760px;

  font-size: clamp(60px, 6vw, 100px);
  line-height: .9;
  letter-spacing: -5px;

  font-weight: 800;
}

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

.hero-text {
  max-width: 540px;

  margin-top: 34px;

  color: #9d9d9d;
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 34px;

  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  min-height: 54px;
  padding: 0 25px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  font-size: 12px;
  font-weight: 800;

  transition: .25s;
}

.btn-primary {
  background: var(--accent);
}

.btn-primary:hover {
  background: #ff2638;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,.22);
  color: #d0d0d0;
}

.btn-secondary:hover {
  background: #fff;
  color: #111;
}

.hero-stats {
  margin-top: auto;
  padding-top: 65px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.stat {
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.stat strong {
  display: block;

  font-size: 27px;
  font-weight: 800;
}

.stat span {
  display: block;

  margin-top: 6px;

  color: #777;
  font-size: 11px;
}


/* RIGHT VISUAL */

.hero-visual {
  position: relative;

  min-height: 680px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 65% 35%,
      rgba(239,31,47,.12),
      transparent 32%
    ),
    #0d0d0d;
}

.screen-card {
  position: absolute;

  background: #111;
  border: 1px solid rgba(255,255,255,.12);

  box-shadow: 0 35px 80px rgba(0,0,0,.55);
}

.screen-back {
  width: 62%;
  height: 55%;

  top: 15%;
  left: 8%;

  opacity: .4;
  transform: rotate(-4deg);
}

.screen-front {
  width: 68%;
  height: 61%;

  top: 19%;
  right: 7%;

  transform: rotate(3deg);

  overflow: hidden;

  background:
    linear-gradient(
      rgba(0,0,0,.35),
      rgba(0,0,0,.72)
    ),
    url("https://images.unsplash.com/photo-1486006920555-c77dcf18193c?auto=format&fit=crop&w=1600&q=80");

  background-size: cover;
  background-position: center;
}

.screen-top {
  height: 46px;

  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid rgba(255,255,255,.1);

  color: #d8d8d8;
  font-size: 8px;
  font-weight: 700;
}

.screen-content {
  height: calc(100% - 46px);

  padding: 45px 32px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.9),
      rgba(0,0,0,.15)
    );
}

.screen-content p {
  color: #999;

  font-size: 8px;
  letter-spacing: 1.6px;
}

.screen-content h2 {
  margin-top: 15px;

  font-size: clamp(29px, 3vw, 52px);
  line-height: .95;
  letter-spacing: -2px;
}

.screen-content h2 span {
  color: #777;
}

.screen-content button {
  width: fit-content;

  margin-top: 27px;
  padding: 13px 18px;

  border: 0;

  background: #f3f3f3;
  color: #111;

  font-size: 9px;
  font-weight: 800;
}

.fake-line,
.fake-box {
  position: absolute;

  left: 12%;
  right: 12%;

  background: #2a2a2a;
}

.fake-line {
  height: 11px;
}

.line-1 {
  top: 27%;
  right: 34%;
}

.line-2 {
  top: 38%;
  right: 47%;
}

.fake-box {
  top: 52%;

  height: 28%;

  border: 1px solid #333;
  background: #161616;
}

.floating-label {
  position: absolute;

  bottom: 12%;
  left: 10%;

  padding: 16px 18px;

  background: rgba(10,10,10,.8);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,.12);

  color: #777;
  font-size: 9px;
}

.floating-label span {
  display: block;

  margin-bottom: 5px;

  color: var(--accent);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
}


/* BENEFITS */

.benefits {
  padding: 55px 4vw;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  background: #0b0b0b;
}

.benefits > div {
  min-height: 150px;

  padding: 10px 34px;

  border-right: 1px solid var(--line);
}

.benefits > div:first-child {
  padding-left: 0;
}

.benefits > div:last-child {
  border-right: 0;
}

.benefits span {
  color: var(--accent);

  font-size: 10px;
  font-weight: 800;
}

.benefits h3 {
  margin-top: 26px;

  font-size: 19px;
}

.benefits p {
  max-width: 330px;

  margin-top: 12px;

  color: #777;
  font-size: 12px;
  line-height: 1.6;
}


/* MOBILE */

@media (max-width: 800px) {

  .header {
    height: 70px;

    padding: 0 20px;

    grid-template-columns: 1fr auto;
  }

  .nav,
  .header-btn {
    display: none;
  }

  .menu-btn {
    width: 28px;
    height: 24px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;

    border: 0;
    background: transparent;
  }

  .menu-btn span {
    width: 24px;
    height: 1px;

    display: block;

    background: white;
  }

  .nav.open {
    position: absolute;
    z-index: 50;

    top: 70px;
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    gap: 0;

    padding: 10px 20px 20px;

    background: #080808;

    border-bottom: 1px solid var(--line);
  }

  .nav.open a {
    width: 100%;

    padding: 15px 0;

    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: auto;

    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: 640px;

    padding: 70px 22px 35px;
  }

  .hero h1 {
    font-size: 49px;
    line-height: .92;
    letter-spacing: -3px;
  }

  .hero-text {
    margin-top: 27px;

    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-stats {
    margin-top: 55px;
    padding-top: 0;

    grid-template-columns: 1fr;
    gap: 22px;
  }

  .stat {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;

    padding-top: 14px;
  }

  .stat strong {
    font-size: 20px;
  }

  .stat span {
    margin-top: 0;
  }

  .hero-visual {
    min-height: 440px;
  }

  .screen-back {
    width: 73%;
    height: 56%;

    top: 12%;
    left: 3%;
  }

  .screen-front {
    width: 82%;
    height: 62%;

    top: 18%;
    right: 3%;
  }

  .screen-content {
    padding: 30px 20px;
  }

  .screen-content h2 {
    font-size: 30px;
  }

  .floating-label {
    bottom: 8%;
    left: 6%;
  }

  .benefits {
    padding: 50px 22px;

    grid-template-columns: 1fr;
  }

  .benefits > div,
  .benefits > div:first-child {
    min-height: 0;

    padding: 28px 0;

    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .benefits > div:last-child {
    border-bottom: 0;
  }

}


/* =========================
   SERVICES
========================= */

.services {
  padding: 110px 4vw 120px;
  background: #f0f0ed;
  color: #111;
}

.services-head {
  display: grid;
  grid-template-columns: .7fr 1.4fr .9fr;
  gap: 50px;
  align-items: end;

  padding-bottom: 70px;
  border-bottom: 1px solid rgba(0,0,0,.18);
}

.services-head > div {
  align-self: start;
  display: flex;
  align-items: center;
  gap: 25px;
}

.section-number {
  color: #999;
  font-size: 10px;
}

.section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
}

.services-head h2 {
  font-size: clamp(45px, 5vw, 82px);
  line-height: .92;
  letter-spacing: -4px;
}

.services-head h2 span {
  color: #aaa;
}

.services-head > p {
  max-width: 350px;
  color: #666;
  font-size: 13px;
  line-height: 1.7;
}

.services-grid {
  margin-top: 0;

  display: grid;
  grid-template-columns: 1.2fr .8fr;
}

.service-card {
  position: relative;

  min-height: 330px;
  padding: 38px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  border-right: 1px solid rgba(0,0,0,.15);
  border-bottom: 1px solid rgba(0,0,0,.15);

  transition:
    background .3s ease,
    color .3s ease;
}

.service-card:nth-child(even) {
  border-right: 0;
}

.service-card:hover {
  background: #111;
  color: #fff;
}

.service-num {
  color: #999;
  font-size: 10px;
}

.service-card h3 {
  max-width: 600px;

  font-size: clamp(30px, 3vw, 52px);
  line-height: 1;
  letter-spacing: -2px;
}

.service-card p {
  max-width: 430px;

  margin-top: 18px;

  color: #777;
  font-size: 13px;
  line-height: 1.65;
}

.service-card:hover p {
  color: #aaa;
}

.service-arrow {
  position: absolute;

  top: 35px;
  right: 38px;

  font-size: 22px;
  font-weight: 300;
}

.service-main {
  min-height: 430px;
}

.service-main h3 {
  font-size: clamp(45px, 5vw, 76px);
}

.service-wide {
  grid-column: 1 / -1;

  min-height: 270px;

  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  align-items: center;
}

.devices {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.devices span {
  padding: 12px 16px;

  border: 1px solid rgba(0,0,0,.18);

  color: #777;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.service-wide:hover .devices span {
  border-color: rgba(255,255,255,.2);
  color: #aaa;
}


/* SERVICES MOBILE */

@media (max-width: 800px) {

  .services {
    padding: 75px 22px 80px;
  }

  .services-head {
    grid-template-columns: 1fr;
    gap: 35px;

    padding-bottom: 50px;
  }

  .services-head h2 {
    font-size: 48px;
    letter-spacing: -3px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-main {
    min-height: 290px;

    padding: 28px 0;

    border-right: 0;
  }

  .service-card h3,
  .service-main h3 {
    font-size: 39px;
  }

  .service-arrow {
    top: 28px;
    right: 5px;
  }

  .service-wide {
    grid-column: auto;

    min-height: 330px;

    display: flex;
    align-items: stretch;
  }

  .devices {
    justify-content: flex-start;
    flex-wrap: wrap;

    margin-top: 30px;
  }

}

/* ===== DENSER LAYOUT ===== */

.hero-content {
  padding-top: 6vh;
  padding-bottom: 4vh;
}

.hero-stats {
  padding-top: 40px;
}

.benefits {
  padding-top: 40px;
  padding-bottom: 40px;
}

.services {
  padding-top: 80px;
  padding-bottom: 90px;
}

.services-head {
  padding-bottom: 48px;
}

.service-card,
.service-main {
  min-height: 240px;
}

.service-card {
  padding: 28px;
}

.service-main {
  min-height: 290px;
}

.service-card h3 {
  margin-top: 20px;
}

.service-card p {
  margin-top: 12px;
}

.service-wide {
  min-height: 210px;
}

@media (max-width: 800px) {
  .hero-content {
    min-height: 560px;
    padding-top: 55px;
    padding-bottom: 28px;
  }

  .services {
    padding-top: 60px;
    padding-bottom: 65px;
  }

  .services-head {
    padding-bottom: 38px;
  }

  .service-card,
  .service-main {
    min-height: 220px;
    padding: 24px 0;
  }

  .service-wide {
    min-height: 250px;
  }
}

/* ===== SERVICES FINAL ===== */

.services {
  padding: 85px 4vw 95px;
  background: #f0f0ed;
  color: #111;
}

.services-head {
  display: grid;
  grid-template-columns: .6fr 1.35fr .75fr;
  gap: 45px;
  align-items: end;

  padding-bottom: 48px;
  border-bottom: 1px solid rgba(0,0,0,.18);
}

.services-head-left {
  display: flex;
  align-self: start;
  gap: 20px;
}

.services-head h2 {
  font-size: clamp(45px, 5vw, 78px);
  line-height: .92;
  letter-spacing: -4px;
}

.services-head h2 span {
  color: #aaa;
}

.services-head > p {
  color: #666;
  font-size: 13px;
  line-height: 1.7;
}

.services-list {
  border-bottom: 1px solid rgba(0,0,0,.18);
}

.service-line {
  min-height: 130px;

  display: grid;
  grid-template-columns: 80px 1.2fr 1fr 40px;
  align-items: center;
  gap: 30px;

  padding: 0 20px;

  border-bottom: 1px solid rgba(0,0,0,.14);

  transition:
    background .25s ease,
    color .25s ease,
    padding .25s ease;
}

.service-line:last-child {
  border-bottom: 0;
}

.service-line:hover {
  background: #111;
  color: #fff;
  padding-left: 32px;
  padding-right: 28px;
}

.service-index {
  color: #999;
  font-size: 10px;
}

.service-title h3 {
  font-size: clamp(28px, 2.8vw, 46px);
  line-height: 1;
  letter-spacing: -2px;
}

.service-line > p {
  max-width: 420px;

  color: #777;
  font-size: 13px;
  line-height: 1.6;

  transition: color .25s ease;
}

.service-line:hover > p {
  color: #aaa;
}

.service-link {
  justify-self: end;
  font-size: 22px;
}

@media (max-width: 800px) {

  .services {
    padding: 65px 22px 70px;
  }

  .services-head {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 35px;
  }

  .services-head h2 {
    font-size: 46px;
    letter-spacing: -3px;
  }

  .service-line {
    min-height: 155px;

    grid-template-columns: 32px 1fr 24px;
    gap: 14px;

    padding: 22px 0;
  }

  .service-title {
    grid-column: 2;
  }

  .service-line > p {
    grid-column: 2;
    margin-top: -4px;
    font-size: 12px;
  }

  .service-link {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .service-title h3 {
    font-size: 30px;
  }

  .service-line:hover {
    padding-left: 0;
    padding-right: 0;
    background: transparent;
    color: #111;
  }

  .service-line:hover > p {
    color: #777;
  }
}

/* =========================
   PORTFOLIO
========================= */

.portfolio {
  padding: 90px 4vw 110px;
  background: #090909;
  color: #fff;
}

.portfolio-head {
  display: grid;
  grid-template-columns: .6fr 1.35fr .75fr;
  gap: 45px;
  align-items: end;

  padding-bottom: 55px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.portfolio-head > div {
  display: flex;
  gap: 20px;
  align-self: start;
}

.portfolio-head h2 {
  font-size: clamp(48px, 5vw, 80px);
  line-height: .92;
  letter-spacing: -4px;
}

.portfolio-head h2 span {
  color: #555;
}

.portfolio-head > p {
  color: #777;
  font-size: 13px;
  line-height: 1.7;
}

.projects {
  margin-top: 45px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.project {
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
}

.project-preview {
  height: 430px;
  padding: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.bubble-preview {
  background:
    radial-gradient(circle at 75% 25%, rgba(239,31,47,.2), transparent 30%),
    #121212;
}

.annreal-preview {
  background:
    linear-gradient(135deg, #1b1b1b, #0b0b0b);
}

.project-browser {
  width: 86%;
  height: 82%;

  border: 1px solid rgba(255,255,255,.15);
  background: #0c0c0c;

  box-shadow: 0 28px 70px rgba(0,0,0,.45);

  transform: rotate(-2deg);
}

.project:nth-child(2) .project-browser {
  transform: rotate(2deg);
}

.browser-bar {
  height: 30px;
  padding: 0 12px;

  display: flex;
  align-items: center;
  gap: 6px;

  border-bottom: 1px solid rgba(255,255,255,.08);
}

.browser-bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #444;
}

.preview-content {
  height: calc(100% - 30px);

  padding: 38px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.preview-content small {
  color: #666;
  font-size: 8px;
  letter-spacing: 2px;
}

.preview-content h3 {
  margin-top: 18px;

  font-size: clamp(32px, 3vw, 52px);
  line-height: .95;
  letter-spacing: -2px;
}

.preview-content > span {
  margin-top: 20px;

  color: #777;
  font-size: 10px;
}

.project-info {
  min-height: 185px;
  padding: 28px;

  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;

  border-top: 1px solid rgba(255,255,255,.1);
}

.project-number {
  color: #555;
  font-size: 9px;
}

.project-info h3 {
  margin-top: 13px;

  font-size: 27px;
  letter-spacing: -1px;
}

.project-info p {
  margin-top: 5px;

  color: #777;
  font-size: 11px;
}

.project-meta {
  grid-column: 2;
  grid-row: 1;

  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.project-meta span {
  padding: 7px 9px;

  border: 1px solid rgba(255,255,255,.12);

  color: #777;
  font-size: 7px;
  letter-spacing: 1px;
}

.project-info > a {
  grid-column: 2;
  grid-row: 2;

  justify-self: end;

  font-size: 11px;
  font-weight: 700;

  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 5px;
}

.project-info > a:hover {
  border-color: #fff;
}


/* PORTFOLIO MOBILE */

@media (max-width: 800px) {

  .portfolio {
    padding: 65px 22px 75px;
  }

  .portfolio-head {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 38px;
  }

  .portfolio-head h2 {
    font-size: 48px;
    letter-spacing: -3px;
  }

  .projects {
    grid-template-columns: 1fr;
  }

  .project-preview {
    height: 320px;
    padding: 25px;
  }

  .project-browser {
    width: 92%;
    height: 84%;
  }

  .preview-content {
    padding: 25px;
  }

  .preview-content h3 {
    font-size: 34px;
  }

  .project-info {
    min-height: 180px;
    padding: 24px;

    grid-template-columns: 1fr;
  }

  .project-meta {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }

  .project-info > a {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

}

/* ===== REAL PROJECT PREVIEWS ===== */

.bubble-preview {
  background:
    linear-gradient(rgba(0,0,0,.10), rgba(0,0,0,.28)),
    url("bubblewash-new.png") center top / cover no-repeat;
}

.annreal-preview {
  background:
    linear-gradient(rgba(0,0,0,.10), rgba(0,0,0,.28)),
    url("annreal-new.png") center top / cover no-repeat;
}

.project-preview .project-browser {
  opacity: 0;
  transform: scale(.96);
  pointer-events: none;
}

.project-preview {
  position: relative;
  transition: background-size .5s ease;
}

.project-preview::after {
  content: "VIEW PROJECT ↗";

  position: absolute;
  right: 22px;
  bottom: 22px;

  padding: 11px 14px;

  background: rgba(8,8,8,.78);
  backdrop-filter: blur(8px);

  border: 1px solid rgba(255,255,255,.15);

  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;

  opacity: 0;
  transform: translateY(8px);

  transition: .3s ease;
}

.project:hover .project-preview::after {
  opacity: 1;
  transform: translateY(0);
}

.project-preview {
  filter: grayscale(12%);
  transition: filter .35s ease, transform .35s ease;
}

.project:hover .project-preview {
  filter: grayscale(0%);
}

@media (max-width: 800px) {
  .project-preview::after {
    opacity: 1;
    transform: none;
  }
}

/* ===== PROJECT PREVIEW CROP / POLISH ===== */

.bubble-preview,
.annreal-preview {
  background-repeat: no-repeat;
  background-color: #0b0b0b;
}

.bubble-preview {
  background-size: 118% auto;
  background-position: 44% 18%;
}

.annreal-preview {
  background-size: 122% auto;
  background-position: 51% 20%;
}

.project-preview::after {
  content: "ПЕРЕГЛЯНУТИ ↗";
}

@media (max-width: 800px) {
  .bubble-preview {
    background-size: 150% auto;
    background-position: 45% 18%;
  }

  .annreal-preview {
    background-size: 155% auto;
    background-position: 50% 18%;
  }
}

/* ===== PROCESS ===== */

.process {
  padding: 90px 4vw 100px;
  background: #f0f0ed;
  color: #111;
}

.process-head {
  display: grid;
  grid-template-columns: .6fr 1.35fr .75fr;
  gap: 45px;
  align-items: end;
  padding-bottom: 55px;
}

.process-head > div {
  display: flex;
  gap: 20px;
  align-self: start;
}

.process-head h2 {
  font-size: clamp(48px, 5vw, 80px);
  line-height: .92;
  letter-spacing: -4px;
}

.process-head h2 span {
  color: #aaa;
}

.process-head > p {
  color: #666;
  font-size: 13px;
  line-height: 1.7;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(0,0,0,.18);
  border-bottom: 1px solid rgba(0,0,0,.18);
}

.process-item {
  min-height: 260px;
  padding: 28px;

  display: flex;
  flex-direction: column;

  border-right: 1px solid rgba(0,0,0,.15);
}

.process-item:last-child {
  border-right: 0;
}

.process-item > span {
  color: #999;
  font-size: 10px;
}

.process-item h3 {
  margin-top: auto;
  font-size: 28px;
  letter-spacing: -1px;
}

.process-item p {
  margin-top: 12px;
  max-width: 240px;

  color: #777;
  font-size: 12px;
  line-height: 1.6;
}

.process-item {
  transition: background .25s ease, color .25s ease;
}

.process-item:hover {
  background: #111;
  color: #fff;
}

.process-item:hover p {
  color: #aaa;
}

@media (max-width: 800px) {

  .process {
    padding: 65px 22px 70px;
  }

  .process-head {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 38px;
  }

  .process-head h2 {
    font-size: 48px;
    letter-spacing: -3px;
  }

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

  .process-item {
    min-height: 170px;
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(0,0,0,.15);
  }

  .process-item:last-child {
    border-bottom: 0;
  }

  .process-item:hover {
    background: transparent;
    color: #111;
  }

  .process-item h3 {
    margin-top: 45px;
  }

}

/* ===== CONTACTS ===== */

.contacts {
  padding: 90px 4vw 100px;
  background: #090909;
  color: #fff;
}

.contacts-head {
  display: flex;
  gap: 20px;
}

.contacts-main {
  margin-top: 65px;

  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: end;
}

.contacts-main h2 {
  font-size: clamp(52px, 6vw, 96px);
  line-height: .9;
  letter-spacing: -5px;
}

.contacts-main h2 span {
  color: #555;
}

.contacts-main p {
  max-width: 520px;
  margin-top: 28px;

  color: #777;
  font-size: 14px;
  line-height: 1.7;
}

.contacts-actions {
  border-top: 1px solid rgba(255,255,255,.14);
}

.contact-big {
  min-height: 90px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid rgba(255,255,255,.14);

  font-size: 22px;
  font-weight: 700;

  transition: padding .25s ease;
}

.contact-big:hover {
  padding-left: 12px;
}

.contact-big span {
  color: #777;
}

@media (max-width: 800px) {

  .contacts {
    padding: 65px 22px 75px;
  }

  .contacts-main {
    margin-top: 45px;

    grid-template-columns: 1fr;
    gap: 45px;
  }

  .contacts-main h2 {
    font-size: 48px;
    letter-spacing: -3px;
  }

  .contact-big {
    min-height: 75px;
    font-size: 19px;
  }

}

/* ==================================================
   STYLE 03 / DIGITAL
   PORTFOLIO
================================================== */

.portfolio {
  position: relative;
  overflow: hidden;

  padding: 100px 4vw 120px;

  background:
    radial-gradient(circle at 80% 15%, rgba(68, 91, 255, .20), transparent 28%),
    radial-gradient(circle at 15% 75%, rgba(0, 191, 255, .10), transparent 25%),
    #060712;

  color: #fff;
}

/* сетка на фоне */

.portfolio::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);

  background-size: 42px 42px;

  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.portfolio > * {
  position: relative;
  z-index: 2;
}


/* HEADER */

.portfolio-head {
  display: grid;
  grid-template-columns: .55fr 1.35fr .8fr;
  gap: 45px;
  align-items: end;

  padding-bottom: 55px;

  border-bottom: 1px solid rgba(135, 154, 255, .20);
}

.portfolio-head::before {
  content: "STYLE 03 / DIGITAL";

  position: absolute;
  top: -42px;
  right: 0;

  color: #7885ff;

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2px;
}

.portfolio-head h2 {
  font-size: clamp(52px, 5.5vw, 88px);
  line-height: .87;
  letter-spacing: -5px;

  font-weight: 700;
}

.portfolio-head h2 span {
  color: transparent;

  -webkit-text-stroke: 1px rgba(164,175,255,.55);
}

.portfolio-head > p {
  color: #7f86a8;

  font-size: 13px;
  line-height: 1.7;
}


/* PROJECT GRID */

.projects {
  margin-top: 42px;

  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}


/* GLASS PROJECT */

.project {
  position: relative;

  overflow: hidden;

  border: 1px solid rgba(136,151,255,.22);

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.07),
      rgba(255,255,255,.015)
    );

  backdrop-filter: blur(15px);

  box-shadow:
    inset 0 1px rgba(255,255,255,.06),
    0 30px 80px rgba(0,0,0,.28);

  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}

.project:hover {
  transform: translateY(-6px);

  border-color: rgba(137,154,255,.55);

  box-shadow:
    0 35px 90px rgba(0,0,0,.4),
    0 0 50px rgba(76,94,255,.09);
}


/* разные размеры специально */

.project:first-child {
  margin-top: 0;
}

.project:nth-child(2) {
  margin-top: 90px;
}


/* PREVIEW */

.project-preview {
  position: relative;

  height: 390px;

  overflow: hidden;

  filter: none;

  border-bottom: 1px solid rgba(130,148,255,.18);
}

.project-preview::before {
  content: "";

  position: absolute;
  z-index: 2;
  inset: 0;

  pointer-events: none;

  background:
    linear-gradient(
      to top,
      rgba(5,6,18,.7),
      transparent 45%
    );
}

/* возвращаем чуть более нормальное кадрирование */

.bubble-preview {
  background:
    url("bubblewash-new.png") center 20% / cover no-repeat;
}

.annreal-preview {
  background:
    url("annreal-new.png") center 20% / cover no-repeat;
}


/* цифровая метка */

.project-preview::after {
  content: "OPEN /  ↗";

  position: absolute;
  z-index: 5;

  right: 18px;
  bottom: 18px;

  padding: 10px 13px;

  background: rgba(10,12,30,.72);

  border: 1px solid rgba(150,164,255,.3);

  backdrop-filter: blur(12px);

  color: #a7b0ff;

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;

  opacity: 1;
  transform: none;
}


/* INFO */

.project-info {
  min-height: 180px;

  padding: 27px;

  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;

  background:
    linear-gradient(
      135deg,
      rgba(31,35,72,.45),
      rgba(8,9,22,.75)
    );

  border-top: 0;
}

.project-number {
  color: #6671d8;

  font-family: monospace;
}

.project-info h3 {
  margin-top: 12px;

  font-size: 29px;
  letter-spacing: -1.5px;
}

.project-info p {
  color: #737b9f;
}


/* TAGS */

.project-meta span {
  border: 1px solid rgba(131,148,255,.2);

  background: rgba(107,124,255,.05);

  color: #7782cb;
}


/* LINK */

.project-info > a {
  color: #a8b0ff;

  border-bottom-color: rgba(153,166,255,.35);
}

.project-info > a:hover {
  color: white;
  border-bottom-color: white;
}


/* декоративные координаты */

.project:first-child::after {
  content: "48.9226° N / 28.4682° E";

  position: absolute;
  z-index: 6;

  top: 15px;
  left: 17px;

  padding: 6px 8px;

  background: rgba(6,7,18,.65);

  color: #7d86bc;

  font-family: monospace;
  font-size: 7px;
  letter-spacing: 1px;
}

.project:nth-child(2)::after {
  content: "PROJECT / 002";

  position: absolute;
  z-index: 6;

  top: 15px;
  left: 17px;

  padding: 6px 8px;

  background: rgba(6,7,18,.65);

  color: #7d86bc;

  font-family: monospace;
  font-size: 7px;
  letter-spacing: 1px;
}


/* MOBILE */

@media (max-width: 800px) {

  .portfolio {
    padding: 75px 22px 80px;
  }

  .portfolio-head {
    grid-template-columns: 1fr;

    gap: 28px;
    padding-bottom: 38px;
  }

  .portfolio-head::before {
    top: -35px;
    left: 0;
    right: auto;
  }

  .portfolio-head h2 {
    font-size: 51px;
    letter-spacing: -3px;
  }

  .projects {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project:nth-child(2) {
    margin-top: 0;
  }

  .project-preview {
    height: 300px;
  }

  .bubble-preview,
  .annreal-preview {
    background-size: cover;
    background-position: center top;
  }

  .project-info {
    min-height: 180px;

    grid-template-columns: 1fr;
  }

  .project-meta {
    grid-column: 1;
    grid-row: auto;

    justify-content: flex-start;
  }

  .project-info > a {
    grid-column: 1;
    grid-row: auto;

    justify-self: start;
  }

}

/* ==================================================
   STYLE 04 / EDITORIAL
   PROCESS
================================================== */

.process {
  position: relative;
  overflow: hidden;

  padding: 105px 4vw 115px;

  background: #e8e2d8;
  color: #171714;
}

.process::before {
  content: "STYLE 04 / EDITORIAL";

  position: absolute;
  top: 35px;
  right: 4vw;

  font-family: Georgia, serif;
  font-size: 9px;
  font-style: italic;
  letter-spacing: 1.5px;

  color: #8b8378;
}


/* HEADER */

.process-head {
  display: grid;
  grid-template-columns: .55fr 1.4fr .75fr;
  gap: 45px;
  align-items: end;

  padding-bottom: 65px;
  border-bottom: 1px solid #aaa297;
}

.process-head > div {
  display: flex;
  gap: 20px;
  align-self: start;
}

.process .section-number,
.process .section-label {
  color: #716b63;
}

.process-head h2 {
  font-family: Georgia, "Times New Roman", serif;

  font-size: clamp(58px, 6vw, 98px);
  font-weight: 400;
  font-style: italic;

  line-height: .83;
  letter-spacing: -5px;
}

.process-head h2 span {
  color: #918a80;
}

.process-head > p {
  max-width: 330px;

  color: #625d56;
  font-family: Georgia, serif;
  font-size: 14px;
  line-height: 1.65;
}


/* STEPS */

.process-list {
  display: block;

  border: 0;
}

.process-item {
  position: relative;

  min-height: 190px;

  display: grid;
  grid-template-columns: 170px 1fr 1fr;
  gap: 45px;
  align-items: center;

  padding: 25px 0;

  border-right: 0;
  border-bottom: 1px solid #aaa297;

  transition:
    padding .3s ease,
    background .3s ease;
}

.process-item:last-child {
  border-bottom: 1px solid #aaa297;
}


/* BIG NUMBERS */

.process-item > span {
  color: #aaa297;

  font-family: Georgia, serif;
  font-size: 76px;
  font-style: italic;

  line-height: 1;
  letter-spacing: -5px;
}

.process-item h3 {
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 400;

  letter-spacing: -2.5px;
}

.process-item p {
  max-width: 350px;
  margin: 0;

  color: #6d675f;

  font-family: Georgia, serif;
  font-size: 13px;
  line-height: 1.7;
}


/* editorial hover */

.process-item:hover {
  padding-left: 25px;
  padding-right: 25px;

  background: #1a1916;
  color: #eee8df;
}

.process-item:hover > span {
  color: #665f56;
}

.process-item:hover p {
  color: #aaa298;
}


/* маленькие декоративные подписи */

.process-item::after {
  position: absolute;
  right: 0;
  top: 18px;

  color: #928b81;

  font-size: 7px;
  letter-spacing: 2px;
}

.process-item:nth-child(1)::after {
  content: "BRIEF";
}

.process-item:nth-child(2)::after {
  content: "DIRECTION";
}

.process-item:nth-child(3)::after {
  content: "DESIGN / CODE";
}

.process-item:nth-child(4)::after {
  content: "ONLINE";
}


/* MOBILE */

@media (max-width: 800px) {

  .process {
    padding: 80px 22px 75px;
  }

  .process::before {
    top: 27px;
    right: 22px;
  }

  .process-head {
    grid-template-columns: 1fr;
    gap: 28px;

    padding-bottom: 40px;
  }

  .process-head h2 {
    font-size: 57px;
    letter-spacing: -3px;
  }

  .process-item {
    min-height: 210px;

    grid-template-columns: 75px 1fr;
    gap: 15px;

    padding: 25px 0;
  }

  .process-item > span {
    align-self: start;

    font-size: 48px;
    letter-spacing: -3px;
  }

  .process-item h3 {
    margin: 0;

    font-size: 39px;
  }

  .process-item p {
    grid-column: 2;

    font-size: 12px;
  }

  .process-item:hover {
    padding-left: 0;
    padding-right: 0;

    background: transparent;
    color: #171714;
  }

  .process-item:hover > span {
    color: #aaa297;
  }

  .process-item:hover p {
    color: #6d675f;
  }

}

/* =========================================
   INTEXNULL - WARM MILK PALETTE
========================================= */

:root {
  --milk: #f3f0e8;
  --milk-2: #e9e5dc;
  --milk-3: #ded9cf;

  --ink: #171714;
  --muted: #77736b;
  --line: #d2cec4;

  --accent: #c94b45;
}

/* основной фон */

body {
  background: var(--milk);
  color: var(--ink);
}


/* HEADER */

.header {
  background: rgba(243, 240, 232, .94) !important;
  color: var(--ink) !important;

  border-bottom: 1px solid var(--line) !important;

  backdrop-filter: blur(16px);
}

.header a {
  color: var(--ink) !important;
}

.header .logo,
.header .logo * {
  color: var(--ink) !important;
}


/* HERO */

.hero {
  background: var(--milk) !important;
  color: var(--ink) !important;
}

.hero h1 {
  color: var(--ink) !important;
}

.hero h1 span {
  color: var(--accent) !important;
}

.hero p {
  color: var(--muted) !important;
}

.hero .eyebrow,
.hero .section-label {
  color: var(--accent) !important;
}


/* BUTTONS */

.btn-primary,
.hero .primary-btn {
  background: var(--ink) !important;
  color: var(--milk) !important;

  border-color: var(--ink) !important;
}

.btn-secondary,
.hero .secondary-btn {
  background: transparent !important;
  color: var(--ink) !important;

  border-color: var(--line) !important;
}


/* SERVICES */

.services {
  background: #ebe7de !important;
  color: var(--ink) !important;
}


/* PORTFOLIO - MILK DIGITAL */

.portfolio {
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(201,75,69,.08),
      transparent 30%
    ),
    var(--milk) !important;

  color: var(--ink) !important;
}

.portfolio::before {
  background-image:
    linear-gradient(rgba(23,23,20,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,23,20,.045) 1px, transparent 1px);
}

.portfolio-head {
  border-color: var(--line) !important;
}

.portfolio-head h2 {
  color: var(--ink) !important;
}

.portfolio-head h2 span {
  color: #aaa69d !important;
  -webkit-text-stroke: 0 !important;
}

.portfolio-head > p {
  color: var(--muted) !important;
}

.portfolio-head::before {
  color: var(--accent) !important;
}


/* PROJECT CARDS */

.project {
  background: rgba(255,255,255,.32) !important;

  border-color: var(--line) !important;

  box-shadow:
    0 25px 60px rgba(45,40,30,.07) !important;
}

.project:hover {
  border-color: var(--accent) !important;

  box-shadow:
    0 30px 70px rgba(45,40,30,.12) !important;
}

.project-info {
  background: #e7e2d8 !important;
  color: var(--ink) !important;
}

.project-info h3 {
  color: var(--ink) !important;
}

.project-info p {
  color: var(--muted) !important;
}

.project-number,
.project-info > a {
  color: var(--accent) !important;
}

.project-meta span {
  color: var(--muted) !important;

  border-color: #c8c3b8 !important;
  background: rgba(255,255,255,.22) !important;
}


/* PROCESS */

.process {
  background: #ded9cf !important;
  color: var(--ink) !important;
}

.process-head,
.process-item {
  border-color: #c4bfb5 !important;
}


/* CONTACTS */

.contacts {
  background: var(--milk) !important;
  color: var(--ink) !important;

  border-top: 1px solid var(--line);
}

.contacts-main h2 {
  color: var(--ink) !important;
}

.contacts-main h2 span {
  color: #aaa69d !important;
}

.contacts-main p {
  color: var(--muted) !important;
}

.contacts-actions {
  border-color: var(--line) !important;
}

.contact-big {
  color: var(--ink) !important;
  border-color: var(--line) !important;
}

.contact-big:hover {
  color: var(--accent) !important;
}


/* selection */

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


/* ===== FINAL ACCENT OVERRIDE ===== */

:root {
  --accent: #68705a;
}

/* всё старое красное принудительно переводим в новый акцент */

.hero h1 span,
.hero .eyebrow,
.hero .section-label,
.portfolio-head::before,
.project-number,
.project-info > a,
.process::before,
.process .section-number,
.contact-big:hover {
  color: var(--accent) !important;
}

.project:hover {
  border-color: var(--accent) !important;
}

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


/* ===== UNIFY ALL ACCENTS ===== */

:root {
  --accent: #68705a;
  --accent-dark: #555d49;
  --ink: #171714;
  --milk: #f3f0e8;
}

/* главная кнопка */

.btn-primary,
.hero .primary-btn {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.btn-primary:hover,
.hero .primary-btn:hover {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
}


/* кнопки/метки на превью проектов */

.project-preview::after {
  color: #fff !important;
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}


/* ссылки проектов */

.project-info > a {
  color: var(--accent) !important;
  border-bottom-color: rgba(104,112,90,.45) !important;
}

.project-info > a:hover {
  color: var(--accent-dark) !important;
  border-bottom-color: var(--accent-dark) !important;
}


/* номера и мелкие акценты */

.project-number,
.portfolio-head::before,
.process::before,
.process .section-number {
  color: var(--accent) !important;
}


/* рамки при наведении */

.project:hover {
  border-color: var(--accent) !important;
}


/* убиваем остатки старого синего */

.project:first-child::after,
.project:nth-child(2)::after {
  color: #ddd9cf !important;
  background: rgba(23,23,20,.82) !important;
}


/* ===== BENEFITS WARM THEME ===== */

.benefits {
  background: #e7e2d8 !important;
  color: var(--ink) !important;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefits > div {
  border-right-color: #c9c4b9 !important;
}

.benefits span {
  color: var(--accent) !important;
}

.benefits h3 {
  color: var(--ink) !important;
}

.benefits p {
  color: var(--muted) !important;
}


/* ===== HERO STATS DIVIDERS ===== */

.hero-stats > div {
  position: relative;
}

.hero-stats > div:not(:last-child)::after {
  content: "";
  position: absolute;

  top: 0;
  right: -20px;

  width: 1px;
  height: 100%;

  background: #c9c4b9;
}

@media (max-width: 800px) {
  .hero-stats > div:not(:last-child)::after {
    right: -10px;
  }
}


/* FIX STATS DIVIDERS */

.hero-stats {
  align-items: stretch !important;
}

.hero-stats > div {
  position: relative !important;
  padding-right: 28px !important;
}

.hero-stats > div:not(:last-child) {
  border-right: 1px solid #c5c0b5 !important;
}

.hero-stats > div:not(:last-child)::after {
  display: none !important;
}


/* OLIVE DIVIDERS */

.hero-stats > div:not(:last-child) {
  border-right: 1px solid #7c8468 !important;
}

.hero-stats > div {
  border-top-color: #7c8468 !important;
}


/* CLEAN HERO STATS */

.hero-stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  width: 100% !important;
}

.hero-stats > div {
  padding: 20px 24px !important;
  margin: 0 !important;
  border-top: 1px solid #7c8468 !important;
  border-right: none !important;
  box-sizing: border-box !important;
}

.hero-stats > div:first-child {
  padding-left: 0 !important;
}

.hero-stats > div:last-child {
  padding-right: 0 !important;
}

.hero-stats > div:not(:last-child) {
  border-right: 1px solid #7c8468 !important;
}

.hero-stats strong {
  white-space: nowrap !important;
}


/* ===== GLOBAL OLIVE DIVIDERS ===== */

:root {
  --line: #7c8468 !important;
}

/* горизонтальные и вертикальные границы основных блоков */
.hero-stats > div,
.benefits > div,
.service-row,
.services-list,
.services,
.portfolio,
.project,
.process,
.process-item,
.contact,
.contact-big,
footer {
  border-color: #7c8468 !important;
}

/* вертикальные разделители */
.hero-stats > div:not(:last-child),
.benefits > div:not(:last-child) {
  border-right-color: #7c8468 !important;
}

/* псевдо-линии */
.hero-stats > div::before,
.benefits > div::before,
.section-label::before,
.eyebrow::before {
  border-color: #7c8468 !important;
  background-color: #7c8468 !important;
}


/* ===== SERVICES POLISH ===== */

.service-row {
  position: relative;
  transition:
    background-color .3s ease,
    padding-left .3s ease !important;
}

.service-row:hover {
  background-color: rgba(124, 132, 104, 0.09) !important;
}

.service-row h3 {
  transition: transform .3s ease !important;
}

.service-row:hover h3 {
  transform: translateX(10px);
}

.service-row a {
  transition: transform .3s ease, color .3s ease !important;
}

.service-row:hover a {
  transform: translate(5px, -5px);
  color: #7c8468 !important;
}

/* номера услуг */
.service-row > span,
.service-row .number {
  color: #7c8468 !important;
}

/* заголовок секции */
.services .section-label,
.services .section-number {
  color: #7c8468 !important;
}


/* SERVICES OLIVE HOVER */

.service-row:hover {
  background: #7c8468 !important;
  color: #171714 !important;
}

.service-row:hover h3,
.service-row:hover p,
.service-row:hover span,
.service-row:hover a {
  color: #171714 !important;
}


/* ===== PORTFOLIO WARM FINAL ===== */

.portfolio {
  background: #f3f0e8 !important;
  color: #171714 !important;
}

.portfolio::before {
  background-image:
    linear-gradient(rgba(124,132,104,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,132,104,.06) 1px, transparent 1px);
}

.portfolio-head {
  border-bottom: 1px solid #7c8468 !important;
}

.portfolio-head::before {
  content: "НАПРИКЛАД / PORTFOLIO";
  color: #7c8468 !important;
}

.portfolio-head h2 {
  color: #171714 !important;
}

.portfolio-head h2 span {
  color: #a6aa94 !important;
}

.portfolio-head > p {
  color: #77736b !important;
}

.projects {
  gap: 22px !important;
}

.project {
  background: #ebe7de !important;
  border: 1px solid #7c8468 !important;
  box-shadow: 0 22px 50px rgba(30,28,22,.08) !important;
}

.project:hover {
  transform: translateY(-6px);
  border-color: #68705a !important;
  box-shadow: 0 30px 65px rgba(30,28,22,.13) !important;
}

.project-info {
  background: #e5e0d6 !important;
  color: #171714 !important;
}

.project-info h3 {
  color: #171714 !important;
}

.project-info p {
  color: #77736b !important;
}

.project-number {
  color: #68705a !important;
}

.project-meta span {
  color: #68705a !important;
  border-color: rgba(104,112,90,.38) !important;
  background: rgba(124,132,104,.06) !important;
}

.project-info > a {
  color: #68705a !important;
  border-bottom-color: rgba(104,112,90,.45) !important;
}

.project-info > a:hover {
  color: #4f5744 !important;
  border-bottom-color: #4f5744 !important;
}

.project-preview::after {
  background: #68705a !important;
  color: #fff !important;
  border-color: #68705a !important;
}

.project:first-child::after,
.project:nth-child(2)::after {
  color: #d9d6cb !important;
  background: rgba(23,23,20,.82) !important;
}

/* ===== PORTFOLIO CARD ALIGN ===== */

.projects {
  align-items: stretch !important;
}

.project {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.project-preview {
  height: 430px !important;
  overflow: hidden !important;
  position: relative !important;
}

.project-preview img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
}

.project-info {
  flex: 1 !important;
  min-height: 180px !important;
}


/* ===== PORTFOLIO GEOMETRY FIX ===== */

.projects {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
}

.project {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  transform: none;
}

.project-preview {
  width: 100% !important;
  height: 340px !important;
  overflow: hidden !important;
}

.project-preview img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
}

.project-info {
  min-height: 170px !important;
  padding: 28px 24px !important;
}

.project:hover {
  transform: translateY(-5px) !important;
}


/* REMOVE DUPLICATE PREVIEW BUTTON */

.project-preview::after {
  display: none !important;
}


/* ===== PROCESS FINAL POLISH ===== */

.process {
  padding: 80px 4vw 85px !important;
  background: #e7e2d8 !important;
}

.process::before {
  content: "НАПРИКЛАД / EDITORIAL";
  color: #7c8468 !important;
}

.process-head {
  padding-bottom: 42px !important;
  border-bottom: 1px solid #7c8468 !important;
}

.process-head h2 {
  color: #171714 !important;
}

.process-head h2 span {
  color: #9ea28e !important;
}

.process-head > p {
  color: #77736b !important;
}

.process-item {
  min-height: 145px !important;
  grid-template-columns: 120px 1fr 1fr !important;
  padding: 18px 0 !important;
  border-bottom: 1px solid rgba(124,132,104,.65) !important;
}

.process-item > span {
  color: #7c8468 !important;
  font-size: 58px !important;
}

.process-item h3 {
  font-size: clamp(32px, 3.4vw, 52px) !important;
}

.process-item p {
  color: #77736b !important;
}

.process-item::after {
  color: #7c8468 !important;
}

.process-item:hover {
  background: #7c8468 !important;
  color: #171714 !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.process-item:hover > span,
.process-item:hover p,
.process-item:hover::after {
  color: #171714 !important;
}

@media (max-width: 800px) {
  .process {
    padding: 60px 22px 65px !important;
  }

  .process-item {
    min-height: 170px !important;
    grid-template-columns: 65px 1fr !important;
  }

  .process-item > span {
    font-size: 42px !important;
  }

  .process-item h3 {
    font-size: 34px !important;
  }
}

/* ==========================================
   CONTACTS / FINAL
========================================== */

.contacts {
  position: relative;

  padding: 80px 4vw 30px !important;

  background: #f3f0e8 !important;
  color: #171714 !important;

  border-top: 1px solid #7c8468 !important;
}

.contact-label {
  display: flex;
  gap: 28px;

  color: #7c8468;

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.contact-hero {
  margin-top: 65px;
  padding-bottom: 70px;

  display: grid;
  grid-template-columns: 1.45fr .55fr;
  gap: 70px;
  align-items: end;

  border-bottom: 1px solid #7c8468;
}

.contact-hero h2 {
  font-size: clamp(70px, 8vw, 135px);
  line-height: .82;

  letter-spacing: -7px;
  font-weight: 800;
}

.contact-hero h2 span {
  color: #9da18d;
}

.contact-side {
  padding-bottom: 8px;
}

.contact-side p {
  max-width: 390px;

  color: #77736b;

  font-size: 13px;
  line-height: 1.7;
}

.available {
  margin-top: 28px;

  display: flex;
  align-items: center;
  gap: 9px;

  color: #68705a;

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.available i {
  width: 7px;
  height: 7px;

  display: block;

  border-radius: 50%;
  background: #68705a;
}


/* LINKS */

.contact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;

  border-bottom: 1px solid #7c8468;
}

.contact-link {
  min-height: 180px;

  padding: 30px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  color: #171714 !important;

  border-right: 1px solid #7c8468;

  transition:
    background .3s ease,
    color .3s ease,
    padding .3s ease;
}

.contact-link:last-child {
  border-right: 0;
}

.contact-link > div > span {
  display: block;

  margin-bottom: 16px;

  color: #7c8468;

  font-size: 8px;
  font-weight: 800;
  letter-spacing: 2px;
}

.contact-link strong {
  font-size: clamp(28px, 3vw, 46px);
  letter-spacing: -2px;
}

.contact-arrow {
  font-size: 30px;

  transition: transform .3s ease;
}

.contact-link:hover {
  padding-left: 42px;

  background: #7c8468;

  color: #f3f0e8 !important;
}

.contact-link:hover > div > span {
  color: #d9dccc;
}

.contact-link:hover .contact-arrow {
  transform: translate(5px, -5px);
}


/* FOOTER */

.studio-footer {
  min-height: 95px;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  color: #77736b;

  font-size: 8px;
  letter-spacing: 1.5px;
}

.studio-footer strong {
  color: #171714;

  font-size: 17px;
  letter-spacing: -1px;
}

.studio-footer span:last-child {
  justify-self: end;
}


/* MOBILE */

@media (max-width: 800px) {

  .contacts {
    padding: 60px 22px 25px !important;
  }

  .contact-hero {
    margin-top: 45px;
    padding-bottom: 45px;

    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact-hero h2 {
    font-size: 59px;
    line-height: .87;

    letter-spacing: -4px;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }

  .contact-link {
    min-height: 135px;

    padding: 24px 0;

    border-right: 0;
    border-bottom: 1px solid #7c8468;
  }

  .contact-link:last-child {
    border-bottom: 0;
  }

  .contact-link:hover {
    padding-left: 15px;
    padding-right: 15px;
  }

  .contact-link strong {
    font-size: 30px;
  }

  .studio-footer {
    min-height: 120px;

    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .studio-footer span:nth-child(2) {
    display: none;
  }

}


/* BUBBLE WASH CLEAN PREVIEW */

.project:first-child .project-preview {
  overflow: hidden !important;
}

.project:first-child .project-preview img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
}


/* ===== FINAL CLEAN PROJECT PREVIEWS ===== */

.bubble-preview,
.annreal-preview {
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: top center !important;
}

.project-preview {
  height: 340px !important;
}


/* ===== PORTFOLIO LOGOS ===== */

.bubble-preview,
.annreal-preview {
  height: 340px !important;
  background: #11110f !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  overflow: hidden !important;
}

/* Bubble Wash */
.bubble-preview {
  background-image: url("bubble-logo.png") !important;
  background-size: 230px auto !important;
}

/* AnnReal */
.annreal-preview {
  background-image: url("annreal-logo.png") !important;
  background-size: 190px auto !important;
}

/* убираем старое превью сайта */
.bubble-preview > *,
.annreal-preview > * {
  display: none !important;
}


/* ===== MATCH PORTFOLIO LOGOS ===== */

.bubble-preview {
  background-size: 215px auto !important;
  background-position: center !important;
}

/* белый круг под AR вместо квадратного ощущения */
.annreal-preview {
  background-image: none !important;
  position: relative !important;
}

.annreal-preview::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;

  width: 205px !important;
  height: 205px !important;

  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;

  border-radius: 50% !important;

  background:
    #f5f3ec
    url("annreal-logo.png")
    center / 78% auto
    no-repeat !important;
}


/* ===== BIGGER PORTFOLIO LOGOS ===== */

.bubble-preview {
  background-size: 320px auto !important;
}

.annreal-preview::after {
  width: 290px !important;
  height: 290px !important;

  background-size: 78% auto !important;
}


/* ===== FIX MIRO LOGO ===== */

.logo,
.logo a,
.brand,
.brand a {
  overflow: visible !important;
  text-indent: 0 !important;
  color: #171714 !important;
}


/* FIX MIRO FIRST LETTER */

.logo-main::first-letter {
  color: #171714 !important;
}


/* ===== MIRO HERO MOCKUP ===== */

.miro-screen .screen-content h2 span {
  color: #7c8468 !important;
}

.miro-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.miro-tags span {
  padding: 7px 10px;

  border: 1px solid rgba(255,255,255,.22);

  color: rgba(255,255,255,.72);

  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1.3px;
}


/* ==========================================
   ABOUT / MIRO
========================================== */

.about {
  padding: 85px 4vw 90px;
  background: #ebe7de;
  color: #171714;
  border-top: 1px solid #7c8468;
}

.about-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;

  padding-bottom: 45px;
  border-bottom: 1px solid #7c8468;
}

.about-label {
  display: flex;
  gap: 22px;

  color: #7c8468;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
}

.about-top > p {
  max-width: 430px;
  justify-self: end;

  color: #77736b;
  font-size: 13px;
  line-height: 1.7;
}

.about-main {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 80px;

  padding: 65px 0;
}

.about-main h2 {
  font-size: clamp(54px, 6vw, 96px);
  line-height: .88;
  letter-spacing: -5px;
}

.about-main h2 span {
  color: #9da18d;
}

.about-copy {
  align-self: end;
}

.about-copy p {
  max-width: 440px;
  margin-bottom: 18px;

  color: #77736b;
  font-size: 13px;
  line-height: 1.7;
}

.about-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-top: 15px;
  padding-bottom: 6px;

  color: #68705a;
  border-bottom: 1px solid #68705a;

  font-size: 11px;
  font-weight: 800;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid #7c8468;
  border-bottom: 1px solid #7c8468;
}

.about-points > div {
  min-height: 175px;
  padding: 26px;

  border-right: 1px solid #7c8468;
}

.about-points > div:last-child {
  border-right: 0;
}

.about-points span {
  color: #7c8468;
  font-size: 9px;
}

.about-points strong {
  display: block;
  margin-top: 42px;

  font-size: 22px;
}

.about-points p {
  max-width: 280px;
  margin-top: 10px;

  color: #77736b;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 800px) {

  .about {
    padding: 60px 22px 65px;
  }

  .about-top,
  .about-main {
    grid-template-columns: 1fr;
  }

  .about-top {
    gap: 25px;
    padding-bottom: 35px;
  }

  .about-top > p {
    justify-self: start;
  }

  .about-main {
    gap: 35px;
    padding: 45px 0;
  }

  .about-main h2 {
    font-size: 49px;
    letter-spacing: -3px;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .about-points > div {
    min-height: 140px;
    padding: 24px 0;

    border-right: 0;
    border-bottom: 1px solid #7c8468;
  }

  .about-points > div:last-child {
    border-bottom: 0;
  }

  .about-points strong {
    margin-top: 25px;
  }
}

/* ==========================================
   MIRO - FINAL MOBILE HERO FIX
========================================== */

@media (max-width: 700px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .header {
    width: 100%;
    padding: 20px 22px !important;
    box-sizing: border-box;
  }

  .logo {
    flex-shrink: 0;
  }

  .nav {
    display: none !important;
  }

  .header > a:last-child,
  .header .btn {
    display: none !important;
  }

  /* HERO */

  .hero {
    display: block !important;
    width: 100% !important;
    min-height: auto !important;
  }

  .hero-left {
    width: 100% !important;
    max-width: none !important;
    min-height: auto !important;

    padding: 82px 22px 65px !important;
    box-sizing: border-box !important;
  }

  .eyebrow {
    max-width: 100% !important;
    margin-bottom: 42px !important;

    font-size: 10px !important;
    letter-spacing: 3px !important;
    white-space: normal !important;
  }

  .hero h1 {
    width: 100% !important;
    max-width: 100% !important;

    margin: 0 0 38px !important;

    font-size: clamp(48px, 13vw, 66px) !important;
    line-height: .92 !important;
    letter-spacing: -3.5px !important;

    overflow-wrap: normal !important;
  }

  .hero h1 span {
    display: block;
  }

  .hero-description,
  .hero-left > p {
    width: 100% !important;
    max-width: 100% !important;

    margin-bottom: 38px !important;

    font-size: 16px !important;
    line-height: 1.65 !important;

    overflow-wrap: break-word !important;
  }

  /* BUTTONS */

  .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;

    width: 100% !important;
  }

  .hero-buttons a,
  .hero-buttons button {
    width: 100% !important;
    min-width: 0 !important;
    height: 70px !important;

    padding: 0 20px !important;
    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* STATS */

  .hero-stats {
    width: 100% !important;
    margin-top: 75px !important;

    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .hero-stats > div {
    min-width: 0 !important;
    padding: 18px 10px 0 0 !important;
  }

  .hero-stats strong {
    font-size: 24px !important;
  }

  .hero-stats p,
  .hero-stats span {
    font-size: 9px !important;
  }

  /* Desktop mockup убираем с первого экрана телефона */

  .hero-right {
    display: none !important;
  }
}


/* ==========================================
   MIRO MOBILE HERO - REAL CLASS FIX
========================================== */

@media (max-width: 700px) {

  .hero {
    display: block !important;
    min-height: auto !important;
    width: 100% !important;
  }

  .hero-content {
    width: 100% !important;
    min-height: auto !important;
    padding: 70px 22px 45px !important;
  }

  .hero h1 {
    width: 100% !important;
    max-width: 100% !important;

    font-size: clamp(48px, 13vw, 62px) !important;
    line-height: .93 !important;
    letter-spacing: -3px !important;
  }

  .hero-text {
    width: 100% !important;
    max-width: 100% !important;

    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  /* кнопки */

  .hero-actions {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;

    margin-top: 32px !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 64px !important;

    padding: 0 20px !important;

    justify-content: space-between !important;
  }

  /* статистика */

  .hero-stats {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;

    margin-top: 55px !important;
    padding-top: 0 !important;
  }

  .hero-stats .stat {
    display: block !important;

    min-width: 0 !important;
    padding: 17px 12px 0 !important;

    border-top: 1px solid #7c8468 !important;
  }

  .hero-stats .stat:first-child {
    padding-left: 0 !important;
  }

  .hero-stats .stat:last-child {
    padding-right: 0 !important;
  }

  .hero-stats .stat:not(:last-child) {
    border-right: 1px solid #7c8468 !important;
  }

  .hero-stats .stat strong {
    display: block !important;

    font-size: 21px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .hero-stats .stat span {
    display: block !important;

    margin-top: 8px !important;

    font-size: 8px !important;
    line-height: 1.3 !important;
  }

  /* на телефоне mockup полностью убираем */

  .hero-visual {
    display: none !important;
  }
}


@media (max-width: 700px) {

  .hero-content::after {
    content: "DESIGN   /   MOBILE   /   DEVELOPMENT";

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 72px;

    margin-top: 34px;
    padding: 0 18px;

    border: 1px solid #7c8468;

    color: #68705a;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;

    box-sizing: border-box;
  }

  .hero-stats {
    margin-top: 28px !important;
  }

}

/* FIX SERVICES DESCRIPTION COLOR */

.services-head > p {
  color: #555c49 !important;
}

.service-line > p {
  color: #66645e !important;
}


/* ===== MOBILE SERVICES ANIMATION ===== */

@media (max-width: 700px) {

  .service-line {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity .55s ease,
      transform .55s ease,
      background .25s ease !important;
  }

  .service-line.mobile-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .service-line.mobile-active {
    background: #7c8468 !important;
  }

  .service-line.mobile-active h3,
  .service-line.mobile-active p,
  .service-line.mobile-active span {
    color: #f3f0e8 !important;
  }

  .service-line .service-link {
    transition: transform .3s ease !important;
  }

  .service-line.mobile-active .service-link {
    transform: translate(5px, -5px) !important;
  }
}


/* ===== CLEAN MOBILE HERO DETAIL ===== */

@media (max-width: 700px) {

  .hero-content::after {
    content: "WEB DESIGN  /  DEVELOPMENT  /  MOBILE";

    min-height: auto !important;
    margin-top: 32px !important;
    padding: 15px 0 !important;

    border: 0 !important;
    border-top: 1px solid #7c8468 !important;
    border-bottom: 1px solid #7c8468 !important;

    background: transparent !important;

    color: #68705a !important;

    font-size: 8px !important;
    font-weight: 800 !important;
    letter-spacing: 1.7px !important;
  }

}

/* ==========================================
   MIRO - MOBILE INTERACTIONS
========================================== */

@media (max-width: 700px) {

  /* Всё, что появляется при скролле */
  .mobile-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
      opacity .55s ease,
      transform .55s cubic-bezier(.2,.7,.2,1) !important;
  }

  .mobile-reveal.mobile-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Нажатие на кнопки/ссылки */
  .btn,
  .contact-link,
  .project-info a,
  .service-line {
    -webkit-tap-highlight-color: transparent;
  }

  .btn:active,
  .contact-link:active,
  .project-info a:active {
    transform: scale(.97) !important;
    opacity: .78;
  }

  /* Карточки проектов */
  .project {
    transition:
      transform .3s ease,
      box-shadow .3s ease !important;
  }

  .project.mobile-active {
    transform: scale(.985);
  }

  /* Стрелки */
  .service-line:active .service-link,
  .project-info a:active {
    transform: translate(5px, -3px) !important;
  }

}

/* ==========================================
   FIX MOBILE PAGE SCROLL
========================================== */

@media (max-width: 700px) {

  html,
  body {
    height: auto !important;
    min-height: 100% !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
  }

  body,
  main {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .hero,
  .benefits,
  .services,
  .portfolio,
  .process,
  .about,
  .contacts {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .benefits {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

}

/* REMOVE MOBILE STICKER */

@media (max-width: 700px) {
  .hero-content::after {
    content: none !important;
    display: none !important;
  }

  .hero-stats {
    margin-top: 45px !important;
  }
}


/* ===== REMOVE CHEAP MOBILE ARROW BOXES ===== */

@media (max-width: 700px) {

  .service-link,
  .service-row a,
  .service-line a {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: #171714 !important;

    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

    padding: 0 !important;

    font-size: 25px !important;
    line-height: 1 !important;

    -webkit-appearance: none !important;
    appearance: none !important;
  }

  .service-line:active .service-link {
    transform: translate(4px, -4px) !important;
  }

}

/* ===== FORCE TEXT ARROWS ON IOS ===== */

@media (max-width: 700px) {

  .service-link {
    font-size: 0 !important;
    color: #171714 !important;
    background: none !important;
    border: 0 !important;
  }

  .service-link::after {
    content: "→" !important;

    display: inline-block !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 24px !important;
    font-style: normal !important;
    font-weight: 400 !important;

    color: #171714 !important;

    transform: rotate(-45deg) !important;
  }

  .service-line:active .service-link::after {
    transform: translate(3px, -3px) rotate(-45deg) !important;
  }

}
