:root {
  --black: #050505;
  --black-2: #111;
  --red: #ff1010;
  --red-2: #8b0303;
  --red-soft: rgba(255, 16, 16, 0.26);
  --white: #f5f1ef;
  --muted: rgba(245, 241, 239, 0.68);
  --line: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.055);
  --display: "Neometric", "Montserrat", "Arial Black", Impact, sans-serif;
  --body: "Montserrat", "Segoe UI", Arial, sans-serif;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #050505;
  color: var(--white);
  font-family: var(--body);
  font-weight: 500;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -3;
  background:
    radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.055), transparent 22%),
    radial-gradient(circle at 20% 18%, rgba(255, 16, 16, 0.34), transparent 28%),
    radial-gradient(circle at 80% 34%, rgba(130, 0, 0, 0.5), transparent 30%),
    radial-gradient(circle at 44% 86%, rgba(255, 45, 45, 0.22), transparent 36%),
    linear-gradient(135deg, #020202, #130000 34%, #050505 68%, #250000);
  animation: liquidBg 34s ease-in-out infinite alternate;
  animation-play-state: paused;
}

body.is-motion-visible::before {
  animation-play-state: running;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0 48%, transparent 78%);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

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

mark {
  padding: 0 0.16em;
  border-radius: 0.28em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background: rgba(255, 16, 16, 0.95);
  color: var(--white);
  box-shadow: 0 0 34px rgba(255, 16, 16, 0.35);
}

.block {
  position: relative;
  isolation: isolate;
  background: transparent;
  margin: 0;
}

.block::before {
  display: none;
}

.soft-seam {
  display: none;
}

.soft-seam::before,
.soft-seam::after {
  display: none;
}

.soft-seam::after {
  display: none;
}

.soft-seam.reverse::before {
  display: none;
}

.site-header {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 40;
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  align-items: center;
  width: min(1160px, calc(100% - 48px));
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: rgba(8, 0, 0, 0.46);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--display);
  font-size: 1.28rem;
  line-height: 1;
  text-transform: uppercase;
}

.brand img {
  width: 190px;
  height: 58px;
  border-radius: 12px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 16, 16, 0.34));
}

.desktop-nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.menu-toggle {
  justify-self: end;
}

.desktop-nav a {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.desktop-nav a:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 16, 16, 0.8);
}

.menu-toggle,
.menu-close,
.back-top,
.modal-close {
  cursor: pointer;
}

.menu-toggle {
  background: transparent;
  color: #fff;
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1;
  text-transform: uppercase;
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 16, 16, 0.28), transparent 34%),
    rgba(0, 0, 0, 0.96);
  transform: translateY(-100%);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}

.menu-panel.is-open {
  transform: translateY(0);
}

.menu-panel a {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.menu-panel a:hover {
  color: var(--red);
  text-shadow: 0 0 24px rgba(255, 16, 16, 0.8);
}

.menu-close {
  position: absolute;
  top: 34px;
  right: 64px;
  background: transparent;
  color: var(--white);
  text-transform: uppercase;
}

.hero {
  display: grid;
  min-height: 100svh;
  padding: 130px 64px 64px;
  overflow: hidden;
  place-items: center;
}

.hero-center {
  position: relative;
  z-index: 3;
  width: min(1180px, 100%);
  text-align: center;
}

.hero-kicker {
  margin: 0 0 24px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.8rem, 16vw, 14rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.typed-word {
  display: flex;
  justify-content: center;
  overflow: visible;
  padding-top: 0.05em;
}

.typed-word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.38em) rotateX(70deg);
  animation: typeLetter 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.typed-word span:nth-child(2) {
  animation-delay: 0.18s;
}

.typed-word span:nth-child(3) {
  animation-delay: 0.36s;
}

.typed-word span:nth-child(4) {
  animation-delay: 0.54s;
}

.typed-word span:nth-child(5) {
  animation-delay: 0.72s;
}

.web-word {
  display: block;
  margin-top: 0.04em;
  color: rgba(255, 255, 255, 0.08);
  opacity: 0;
  filter: blur(12px);
  animation: webReveal 1.3s ease 1.3s forwards;
}

.hero-subtitle {
  width: min(760px, 100%);
  margin: 34px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.4;
}

.hero-logo-mark {
  position: absolute;
  inset: 14% 0 auto;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.hero-logo-mark::before {
  content: "";
  width: min(58vw, 760px);
  height: min(58vw, 760px);
  border-radius: 44% 56% 48% 52% / 58% 44% 56% 42%;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.34) 42%, transparent 72%),
    radial-gradient(circle at 50% 54%, rgba(255, 16, 16, 0.18), transparent 58%);
  filter: blur(4px);
  opacity: 0.9;
  animation: shadePulse 7s ease-in-out infinite alternate;
}

.hero-attributes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.44);
  font-family: var(--display);
  text-transform: uppercase;
  filter: blur(0.7px);
}

.hero-attributes span {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(8px);
  animation: floatAttribute 6s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-attributes span:nth-child(1) {
  top: 18%;
  left: 9%;
}

.hero-attributes span:nth-child(2) {
  top: 22%;
  right: 8%;
  animation-delay: 0.4s;
}

.hero-attributes span:nth-child(3) {
  top: 48%;
  left: 4%;
  animation-delay: 0.8s;
}

.hero-attributes span:nth-child(4) {
  top: 48%;
  right: 5%;
  animation-delay: 1.2s;
}

.hero-attributes span:nth-child(5) {
  bottom: 18%;
  left: 7%;
  animation-delay: 1.6s;
}

.hero-attributes span:nth-child(6) {
  bottom: 20%;
  right: 7%;
  animation-delay: 2s;
}

.hero-attributes span:nth-child(7) {
  top: 34%;
  left: 8%;
  animation-delay: 2.4s;
}

.hero-attributes span:nth-child(8) {
  top: 34%;
  right: 8%;
  animation-delay: 2.8s;
}

.down-sticker {
  position: absolute;
  right: 64px;
  bottom: 54px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  background: rgba(255, 16, 16, 0.88);
  color: #fff;
  font-family: var(--display);
  font-size: 2.6rem;
  box-shadow: 0 0 36px rgba(255, 16, 16, 0.64);
  transform: rotate(7deg);
  animation: stickerBounce 2s ease-in-out infinite;
}

.intro {
  padding: 130px 24px 150px;
}

.intro-title {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto 72px;
  text-align: center;
}

.intro-title h2,
.process-heading h2,
.portfolio-head h2,
.blog-head h2,
.philosophy-title h2,
.task h2,
.team-title h2,
.reviews-head h2,
.contact-copy h2,
.consult-copy h2 {
  margin: 0;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0;
}

.intro-title h2 {
  display: grid;
  justify-items: center;
  gap: 0.04em;
  font-size: clamp(2.8rem, 6.2vw, 6.2rem);
  line-height: 1;
  text-wrap: balance;
}

.intro-line {
  display: block;
  max-width: 100%;
}

.intro-line-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.08em 0.16em;
}

.intro-title mark {
  display: inline-block;
  max-width: 100%;
  padding: 0.04em 0.2em 0.08em;
  border-radius: 0.2em;
  line-height: 0.9;
  white-space: nowrap;
}

.intro-title p {
  width: min(760px, 100%);
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.55;
}

.spotlight-points {
  display: grid;
  gap: 22px;
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
}

.spot-point {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(8px);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.spot-point::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 16, 16, 0.5), transparent 48%);
  opacity: 0;
  transform: translateY(-28%);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.spot-point.is-active {
  transform: translateY(-4px);
  border-color: rgba(255, 16, 16, 0.65);
  box-shadow: 0 0 50px rgba(255, 16, 16, 0.18);
}

.spot-point.is-active::before {
  opacity: 1;
  transform: translateY(0);
}

.spot-point > * {
  position: relative;
  z-index: 1;
}

.spot-point span {
  color: var(--red);
  font-family: var(--display);
}

.spot-point h3 {
  margin: 28px 0 14px;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1;
  text-transform: uppercase;
}

.spot-point p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.process {
  min-height: 0;
  padding: 120px 24px 150px;
  overflow: clip;
}

.road-bg {
  display: none;
}

.process-rails {
  position: absolute;
  inset: 80px 0 120px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.rail {
  position: absolute;
  top: 0;
  bottom: 0;
  display: block;
  width: 3px;
  height: auto;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 16, 16, 0.32) 8%, rgba(255, 74, 74, 0.9) 50%, rgba(255, 16, 16, 0.32) 92%, transparent 100%);
  box-shadow:
    0 0 14px rgba(255, 16, 16, 0.95),
    0 0 44px rgba(255, 16, 16, 0.55),
    0 0 90px rgba(255, 16, 16, 0.28);
  mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
}

.rail::before {
  content: "";
  position: absolute;
  inset: 0 -12px;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent, rgba(255, 16, 16, 0.26) 10%, rgba(255, 16, 16, 0.26) 90%, transparent);
  filter: blur(8px);
}

.rail::after {
  content: "";
  position: absolute;
  top: -380px;
  left: -4px;
  width: 11px;
  height: 380px;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.88), rgba(255, 16, 16, 0.95), transparent);
  filter: blur(1px);
  transform: translate3d(0, var(--rail-shift, 0px), 0);
  transition: transform 0.08s linear;
  will-change: transform;
}

.rail-left {
  left: max(44px, calc(50% - 430px));
}

.rail-right {
  left: max(44px, calc(50% + 430px));
}

.process-heading {
  position: relative;
  z-index: 2;
  width: min(960px, calc(100% - 32px));
  margin: 0 auto 70px;
  text-align: center;
}

.process-heading h2 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.9;
}

.pull-copy {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.4;
  transform: none;
  opacity: 1;
}

.process-step {
  min-height: 0;
  padding: 64px 0;
}

.step-inner {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.step-number {
  display: grid;
  place-items: center;
  width: 112px;
  height: 88px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 16, 16, 0.95), rgba(70, 0, 0, 0.82));
  box-shadow: 0 0 35px rgba(255, 16, 16, 0.32);
  font-family: var(--display);
  font-size: 1.85rem;
}

.step-inner h3 {
  margin: 24px 0 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.step-inner p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.42;
}

.services {
  padding: 120px 24px 80px;
}

.section-label {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 28px;
  color: var(--red);
  font-family: var(--display);
  text-transform: lowercase;
}

.service-list {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 82px 82px 1fr 40px;
  align-items: center;
  width: 100%;
  min-height: 132px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  text-align: left;
  cursor: pointer;
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 12px -6px;
  border-radius: 24px;
  background: linear-gradient(90deg, rgba(255, 16, 16, 0.18), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-row:hover::before,
.service-row.is-open::before {
  opacity: 1;
}

.service-row > * {
  position: relative;
  z-index: 1;
}

.service-row span {
  color: var(--muted);
}

.service-row strong {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3.4vw, 2.45rem);
  line-height: 1;
  text-transform: uppercase;
}

.service-row em {
  color: var(--red);
  font-style: normal;
  font-size: 2rem;
  transition: transform 0.2s ease;
}

.service-row small {
  grid-column: 3 / 5;
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.service-row.is-open small {
  max-height: 80px;
  padding: 0 0 26px;
}

.service-row.is-open em {
  transform: rotate(45deg);
}

.service-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.95) 0 10%, transparent 11%),
    conic-gradient(from 0deg, var(--red), #fff, var(--red), #320000, var(--red));
  box-shadow: 0 0 32px rgba(255, 16, 16, 0.42);
  animation: iconSpin 8s linear infinite;
}

.service-icon::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,0,0,.92), rgba(0,0,0,.35) 46%, transparent 47%);
}

.service-icon::after {
  content: "";
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  background: #fff;
  filter: drop-shadow(0 0 10px rgba(255, 16, 16, 0.95));
  -webkit-mask: var(--service-glyph) center / contain no-repeat;
  mask: var(--service-glyph) center / contain no-repeat;
}

.service-web {
  --service-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M12 9 6 16l6 7M20 9l6 7-6 7M18 7l-4 18' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.service-ai {
  --service-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M10 10h12M10 22h12M11 10l10 12M21 10 11 22' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='10' r='3' fill='%23000'/%3E%3Ccircle cx='22' cy='10' r='3' fill='%23000'/%3E%3Ccircle cx='10' cy='22' r='3' fill='%23000'/%3E%3Ccircle cx='22' cy='22' r='3' fill='%23000'/%3E%3C/svg%3E");
}

.service-bot {
  --service-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 5v5M9 11h14a4 4 0 0 1 4 4v7a5 5 0 0 1-5 5H10a5 5 0 0 1-5-5v-7a4 4 0 0 1 4-4Z' fill='none' stroke='%23000' stroke-width='3' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='19' r='2.4' fill='%23000'/%3E%3Ccircle cx='20' cy='19' r='2.4' fill='%23000'/%3E%3Cpath d='M13 24h6' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.service-system {
  --service-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect x='5' y='6' width='22' height='20' rx='4' fill='none' stroke='%23000' stroke-width='3'/%3E%3Cpath d='M5 13h22M12 13v13M17 19h5M17 23h5' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.meme-block {
  padding: 80px 24px 130px;
}

.consult-shell {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 54px;
  align-items: center;
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto;
}

.meme-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 54px rgba(255, 16, 16, 0.16);
}

.meme-frame img {
  width: 100%;
  min-height: 350px;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.8);
}

.meme-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.82));
}

.meme-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  padding: 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.7vw, 1.8rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.consult-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.9;
}

.animated-plates {
  perspective: 1000px;
}

.animated-plates p,
.animated-plates article,
.review-card,
.contact-form,
.contact-copy {
  position: relative;
  overflow: hidden;
}

.animated-plates p {
  margin: 16px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  transform-origin: left center;
  animation: plateFloat 5s ease-in-out infinite;
}

.animated-plates p:nth-child(2) {
  animation-delay: 0.3s;
}

.animated-plates p:nth-child(3) {
  animation-delay: 0.6s;
}

.solid-button,
.ghost-button {
  display: inline-grid;
  place-items: center;
  min-height: 76px;
  padding: 0 44px;
  border-radius: 18px;
  font-family: var(--display);
  font-size: 1.18rem;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.solid-button {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, var(--red), #4b0000);
  color: #fff;
  box-shadow: 0 0 34px rgba(255, 16, 16, 0.28);
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.solid-button:hover,
.ghost-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 42px rgba(255, 16, 16, 0.42);
}

.portfolio {
  padding: 120px 24px 140px;
}

.portfolio-head,
.portfolio-list {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.portfolio-head {
  margin-bottom: 42px;
}

.portfolio-head h2,
.blog-head h2,
.reviews-head h2 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.92;
}

.portfolio-head p,
.blog-head p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.16rem;
}

.portfolio-list {
  border-top: 1px solid var(--line);
}

.portfolio-list a {
  display: grid;
  grid-template-columns: 148px 1fr 190px;
  gap: 24px;
  align-items: center;
  min-height: 116px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.portfolio-thumb {
  width: 148px;
  height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.portfolio-list strong {
  font-size: clamp(1.5rem, 3.4vw, 2.7rem);
  font-weight: 600;
  text-transform: uppercase;
}

.portfolio-list span {
  color: var(--muted);
  text-align: right;
  text-transform: uppercase;
}

.portfolio-list a:hover strong {
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 16, 16, 0.8);
}

.portfolio-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 300px;
  height: 190px;
  border-radius: 22px;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--cursor-x, 0), var(--cursor-y, 0), 0) rotate(2deg) scale(0.96);
  transition: opacity 0.16s ease, transform 0.08s linear;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.5);
}

.portfolio-preview.is-visible {
  opacity: 1;
  transform: translate3d(var(--cursor-x, 0), var(--cursor-y, 0), 0) rotate(2deg) scale(1);
}

.blog {
  padding: 100px 52px 130px;
  overflow: hidden;
}

.blog-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  width: min(1160px, 100%);
  margin: 0 auto 46px;
}

.blog-head a {
  color: var(--red);
  text-transform: uppercase;
}

.blog-train {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: min(1160px, 100%);
  margin: 0 auto;
  transform: translateX(110vw);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.blog-train.is-visible {
  transform: translateX(0);
}

.blog-train article {
  position: relative;
  min-height: 430px;
  padding: 16px 16px 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 42px rgba(255, 16, 16, 0.08);
}

.blog-train article::before,
.blog-train article::after {
  display: none;
}

.blog-train article::before {
  left: 34px;
}

.blog-train article::after {
  right: 34px;
}

.blog-train img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.blog-train h3 {
  min-height: 126px;
  margin: 22px 0 14px;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.06;
  text-transform: uppercase;
}

.blog-train time {
  color: var(--muted);
}

.blog-train article > a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--red);
  font-family: var(--display);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.philosophy {
  padding: 130px 24px 150px;
}

.philosophy-title {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto 74px;
  text-align: center;
}

.typewriter {
  min-height: 56px;
  margin: 0 auto 34px;
  color: var(--red);
  font-family: var(--body);
  font-size: 1.12rem;
  line-height: 1.4;
}

.typewriter::after {
  content: "|";
  margin-left: 4px;
  animation: caret 0.8s steps(2, end) infinite;
}

.philosophy-title h2 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.85;
}

.philosophy-title strong {
  display: block;
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1.42;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.philosophy-grid article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.055);
  animation: plateFloat 5s ease-in-out infinite;
}

.plate-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 16, 16, 0.34), transparent 58%),
    rgba(0, 0, 0, 0.32);
  box-shadow: 0 0 28px rgba(255, 16, 16, 0.24);
}

.plate-icon::before,
.plate-icon::after {
  content: "";
  display: block;
}

.geo-icon::before {
  width: 24px;
  height: 24px;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.geo-icon::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.ai-icon::before {
  width: 28px;
  height: 28px;
  border: 3px solid #fff;
  border-radius: 10px;
  box-shadow:
    -16px 0 0 -12px #fff,
    16px 0 0 -12px #fff,
    0 -16px 0 -12px #fff,
    0 16px 0 -12px #fff;
}

.seo-icon::before {
  width: 30px;
  height: 30px;
  border: 4px solid #fff;
  border-radius: 50%;
}

.seo-icon::after {
  position: absolute;
  width: 18px;
  height: 4px;
  border-radius: 99px;
  background: var(--red);
  transform: translate(15px, 15px) rotate(45deg);
}

.philosophy-grid article:nth-child(2) {
  animation-delay: 0.25s;
}

.philosophy-grid article:nth-child(3) {
  animation-delay: 0.5s;
}

.philosophy-grid span {
  color: var(--red);
  text-transform: uppercase;
}

.philosophy-grid p {
  margin: 40px 0 0;
  color: var(--muted);
  line-height: 1.42;
}

.task {
  display: grid;
  justify-items: center;
  gap: 34px;
  min-height: 620px;
  padding: 150px 24px;
  text-align: center;
}

.task h2 {
  display: grid;
  gap: 10px;
  font-size: clamp(2.9rem, 8vw, 6.8rem);
  line-height: 0.9;
}

.task h2 span {
  opacity: 0;
  transform: translateY(40px);
}

.task h2 span:nth-child(2) {
  color: var(--red);
}

.task.is-visible h2 span {
  animation: sequentialLine 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.task.is-visible h2 span:nth-child(2) {
  animation-delay: 0.7s;
}

.ticker {
  min-height: 420px;
  overflow: clip;
  display: grid;
  align-items: center;
  contain: layout paint;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.ticker.is-burst .ticker-track {
  animation: marquee 28s linear infinite;
}

.ticker:hover:not(.has-hovered) .ticker-track {
  animation: marquee 28s linear infinite;
}

.ticker.has-hovered .ticker-track {
  animation: marquee 28s linear infinite;
}

.ticker-track span {
  padding-right: 70px;
  font-family: "Neometric Heavy", var(--display);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 28px rgba(255, 16, 16, 0.42);
}

.team {
  padding: 120px 24px;
}

.team-title,
.team-row {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.team-title {
  margin-bottom: 70px;
}

.team-title h2 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.92;
}

.team-title p {
  color: var(--muted);
  font-size: 1.2rem;
}

.team-row {
  display: grid;
  grid-template-columns: 330px 270px 1fr;
  gap: 42px;
  align-items: center;
  min-height: 500px;
  border-top: 1px solid var(--line);
}

.team-row:last-child {
  border-bottom: 1px solid var(--line);
}

.team-row.reverse {
  grid-template-columns: 1fr 270px 330px;
}

.team-row.reverse .team-figure-shell {
  grid-column: 3;
}

.team-row.reverse .team-copy {
  grid-column: 2;
  grid-row: 1;
}

.team-row.reverse p {
  grid-column: 1;
  grid-row: 1;
}

.team-figure-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: 330px;
  aspect-ratio: 1;
  isolation: isolate;
  animation: teamLevitate 6s ease-in-out infinite;
}

.team-row.reverse .team-figure-shell {
  animation-delay: -2.4s;
}

.team-figure-shell::before,
.team-figure-shell::after {
  content: "";
  position: absolute;
  inset: 9%;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.team-figure-shell::before {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 16, 16, 0.42), transparent 55%),
    radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.14), transparent 42%);
  filter: blur(18px);
  animation: teamGlow 4.8s ease-in-out infinite;
}

.team-figure-shell::after {
  inset: 78% 18% 4%;
  background: radial-gradient(ellipse, rgba(255, 16, 16, 0.36), transparent 68%);
  filter: blur(10px);
  transform: scaleX(0.9);
  opacity: 0.7;
}

.team-figure {
  width: min(410px, 112%);
  max-width: none;
  aspect-ratio: 1;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(255, 16, 16, 0.82))
    drop-shadow(0 20px 32px rgba(0, 0, 0, 0.48));
  transform: translateZ(0);
}

.team-row h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
}

.team-row span {
  color: var(--red);
}

.team-row p {
  margin: 0;
  color: var(--muted);
  font-size: 1.32rem;
  line-height: 1.38;
}

.reviews {
  padding: 120px 24px;
}

.reviews-head,
.reviews-grid {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 50px;
}

.review-card {
  min-height: 330px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
  text-align: left;
  cursor: pointer;
  animation: plateFloat 5s ease-in-out infinite;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.review-card:nth-child(2) {
  animation-delay: 0.25s;
}

.review-card:nth-child(3) {
  animation-delay: 0.5s;
}

.review-card:hover {
  transform: translateY(-8px) rotateX(4deg);
  border-color: rgba(255, 16, 16, 0.7);
}

.review-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  text-transform: uppercase;
}

.review-card span {
  color: var(--red);
  text-transform: uppercase;
}

.review-card p {
  margin: 78px 0 22px;
  color: var(--muted);
  line-height: 1.42;
}

.review-card em {
  color: rgba(255, 255, 255, 0.48);
  font-style: normal;
  text-transform: uppercase;
}

.faq {
  padding: 120px 24px;
}

.faq-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  align-items: start;
}

.faq-head .section-label {
  width: auto;
  margin: 0 0 26px;
}

.faq-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 6.6vw, 6.2rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.8rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.52;
}

.contact {
  padding: 120px 24px 140px;
}

.contact-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.contact-copy,
.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  animation: plateFloat 5s ease-in-out infinite;
}

.contact-form {
  animation-delay: 0.3s;
}

.contact-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 0.92;
}

.contact-copy p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.48;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.social-links a {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  padding: 18px;
  outline: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 16, 16, 0.75);
  box-shadow: 0 0 0 4px rgba(255, 16, 16, 0.12);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #ff9a9a;
}

.site-footer {
  padding: 76px 24px 46px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 28px;
  align-items: center;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 60px rgba(255, 16, 16, 0.12);
  backdrop-filter: blur(8px);
}

.footer-brand img {
  width: 190px;
  filter: drop-shadow(0 0 18px rgba(255, 16, 16, 0.24));
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.footer-summary {
  max-width: 450px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-inner nav a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.footer-inner nav a:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 16, 16, 0.7);
}

.footer-info {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-info section {
  min-height: 140px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.footer-info h3 {
  margin: 0 0 10px;
  color: #fff;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1;
  text-transform: uppercase;
}

.footer-info a,
.footer-info span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.footer-info a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-info a + a,
.footer-info a + span,
.footer-info span + span {
  margin-top: 7px;
}

.footer-info a:hover {
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 16, 16, 0.7);
}

.detail-header {
  position: absolute;
}

.detail-cta {
  justify-self: end;
  align-self: center;
}

.detail-page {
  min-height: 100vh;
  padding: 150px 24px 110px;
}

.detail-hero,
.article-layout,
.article-index-grid,
.case-hero,
.case-grid,
.case-kpis,
.case-stack,
.case-results {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.detail-hero {
  padding: 74px 0 58px;
}

.detail-hero .section-label {
  width: auto;
  margin: 0 0 22px;
}

.detail-hero h1,
.case-hero h1 {
  margin: 0;
  max-width: 980px;
  font-family: var(--display);
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.86;
  text-transform: uppercase;
}

.detail-hero p,
.case-hero p {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.detail-meta span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  font-size: 0.78rem;
}

.case-live-link {
  display: inline-flex;
  align-items: center;
  margin-top: 26px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 16, 16, 0.52);
  border-radius: 999px;
  background: rgba(255, 16, 16, 0.12);
  color: #fff;
  font-family: var(--display);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 28px rgba(255, 16, 16, 0.16);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.case-live-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 16, 16, 0.2);
}

.article-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-index-card {
  min-height: 560px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.article-index-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 16, 16, 0.6);
}

.article-index-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.article-index-card span {
  display: block;
  margin: 24px 0 14px;
  color: var(--red);
  text-transform: uppercase;
}

.article-index-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.article-index-card p {
  color: var(--muted);
  line-height: 1.45;
}

.article-layout {
  display: grid;
  gap: 42px;
}

.article-cover {
  width: min(840px, 100%);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.32);
}

.article-body {
  width: min(780px, 100%);
  margin: 0 auto;
  color: rgba(245, 241, 239, 0.82);
  font-size: 1.08rem;
  line-height: 1.72;
}

.article-body .lead {
  color: #fff;
  font-size: 1.32rem;
  line-height: 1.5;
}

.article-body h2 {
  margin: 54px 0 12px;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.8vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.article-body ul,
.case-stack ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
}

.article-body li::marker,
.case-stack li::marker {
  color: var(--red);
}

.article-body blockquote {
  margin: 44px 0;
  padding: 28px;
  border-left: 4px solid var(--red);
  border-radius: 0 20px 20px 0;
  background: rgba(255, 16, 16, 0.08);
  color: #fff;
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.legal-page {
  color: rgba(245, 241, 239, 0.82);
}

.legal-hero {
  width: min(900px, calc(100% - 32px));
}

.legal-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.legal-content {
  width: min(840px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 60px rgba(255, 16, 16, 0.1);
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1;
  text-transform: uppercase;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0;
  line-height: 1.7;
}

.legal-content a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 16, 16, 0.78);
  text-underline-offset: 4px;
}

.case-hero {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 48px;
  align-items: center;
  padding: 74px 0 60px;
}

.case-hero img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 30px 100px rgba(255, 16, 16, 0.12);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case-grid article,
.case-stack,
.case-results {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.case-grid article {
  min-height: 260px;
  padding: 26px;
}

.case-grid span,
.case-results strong {
  color: var(--red);
  font-family: var(--display);
  text-transform: uppercase;
}

.case-grid p,
.case-results p {
  color: var(--muted);
  line-height: 1.5;
}

.case-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.case-kpis article {
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(255, 16, 16, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(140deg, rgba(255, 16, 16, 0.15), rgba(255, 255, 255, 0.04) 44%, rgba(0, 0, 0, 0.25)),
    rgba(255, 255, 255, 0.045);
}

.case-kpis strong {
  display: block;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.18rem, 2vw, 1.65rem);
  line-height: 1;
  text-transform: uppercase;
}

.case-kpis span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.4;
}

.case-stack {
  margin-top: 24px;
  padding: 34px;
}

.case-stack h2 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.case-stack li {
  color: rgba(245, 241, 239, 0.82);
}

.case-results {
  margin-top: 24px;
  padding: 34px;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.74);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.review-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: min(620px, 100%);
  padding: 40px;
  border: 1px solid rgba(255, 16, 16, 0.45);
  border-radius: 28px;
  background: #0c0c0c;
  color: var(--white);
  box-shadow: 0 0 70px rgba(255, 16, 16, 0.24);
}

.modal-card h2 {
  margin: 0 0 20px;
  font-family: var(--display);
  text-transform: uppercase;
}

.modal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1.4rem;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-size: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.72s ease,
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

body::before {
  animation-play-state: paused;
}

body.is-motion-visible::before {
  animation-play-state: running;
}

.hero:not(.is-animating) .hero-logo-mark::before,
.hero:not(.is-animating) .hero-attributes span,
.hero:not(.is-animating) .down-sticker,
.services:not(.is-animating) .service-icon,
.meme-block:not(.is-animating) .animated-plates p,
.philosophy:not(.is-animating) .animated-plates article,
.philosophy:not(.is-animating) .typewriter::after,
.reviews:not(.is-animating) .review-card,
.team:not(.is-animating) .team-figure-shell,
.team:not(.is-animating) .team-figure-shell::before,
.contact:not(.is-animating) .animated-plates p,
.contact:not(.is-animating) .animated-plates article,
.ticker:not(.is-animating) .ticker-track {
  animation-play-state: paused;
}

.hero.is-animating .hero-logo-mark::before,
.hero.is-animating .hero-attributes span,
.hero.is-animating .down-sticker,
.services.is-animating .service-icon,
.meme-block.is-animating .animated-plates p,
.philosophy.is-animating .animated-plates article,
.philosophy.is-animating .typewriter::after,
.reviews.is-animating .review-card,
.team.is-animating .team-figure-shell,
.team.is-animating .team-figure-shell::before,
.contact.is-animating .animated-plates p,
.contact.is-animating .animated-plates article,
.ticker.is-animating .ticker-track {
  animation-play-state: running;
}

@keyframes liquidBg {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 1%, 0) scale(1.08);
  }
}

@keyframes typeLetter {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

@keyframes webReveal {
  0% {
    opacity: 0;
    color: rgba(255, 255, 255, 0.05);
    filter: blur(18px);
    text-shadow: none;
  }
  100% {
    opacity: 1;
    color: rgba(255, 255, 255, 0.92);
    filter: blur(0);
    text-shadow:
      0 0 16px rgba(255, 16, 16, 0.85),
      0 0 48px rgba(255, 16, 16, 0.55);
  }
}

@keyframes shadePulse {
  from {
    transform: scale(0.96) rotate(-2deg);
    opacity: 0.76;
  }
  to {
    transform: scale(1.06) rotate(2deg);
    opacity: 0.94;
  }
}

@keyframes floatAttribute {
  from {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }
  to {
    transform: translate3d(18px, -14px, 0) rotate(2deg);
  }
}

@keyframes stickerBounce {
  0%,
  100% {
    transform: rotate(7deg) translateY(0);
  }
  50% {
    transform: rotate(7deg) translateY(-8px);
  }
}

@keyframes iconSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes plateFloat {
  0%,
  100% {
    transform: translateY(0) rotateX(0);
  }
  50% {
    transform: translateY(-8px) rotateX(2deg);
  }
}

@keyframes teamLevitate {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }
  50% {
    transform: translate3d(0, -16px, 0) rotate(1.5deg);
  }
}

@keyframes teamGlow {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

@keyframes sequentialLine {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes sloganBurst {
  0% {
    transform: translateX(0) skewX(0);
    filter: blur(0);
  }
  38% {
    transform: translateX(-15%) skewX(-5deg);
    filter: blur(0.8px);
  }
  100% {
    transform: translateX(-23%) skewX(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1100px) {
  .site-header {
    padding: 26px 28px;
  }

  .intro-title h2 {
    font-size: clamp(3rem, 5.8vw, 5.2rem);
    line-height: 1.03;
  }

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

  .footer-inner nav {
    justify-content: flex-start;
  }

  .footer-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desktop-nav {
    display: none;
  }

  .consult-shell,
  .contact-shell,
  .faq-shell,
  .case-hero,
  .case-grid,
  .case-kpis,
  .article-index-grid,
  .team-row,
  .team-row.reverse {
    grid-template-columns: 1fr;
  }

  .team-row.reverse .team-figure-shell,
  .team-row.reverse .team-copy,
  .team-row.reverse p {
    grid-column: auto;
    grid-row: auto;
  }

  .portfolio-preview {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 16px;
    grid-template-columns: auto 1fr;
    width: calc(100% - 28px);
    padding: 12px 14px;
    border-radius: 18px;
  }

  .brand img {
    width: 134px;
    height: 42px;
  }

  .menu-toggle {
    font-size: 1.22rem;
  }

  .menu-close {
    right: 22px;
  }

  .hero {
    padding: 105px 18px 72px;
  }

  .hero-title {
    font-size: 4.2rem;
    line-height: 0.82;
  }

  .typed-word {
    display: flex;
  }

  .typed-word span {
    line-height: 0.82;
  }

  .hero-attributes span {
    font-size: 0.72rem;
  }

  .hero-attributes span:nth-child(n + 3) {
    display: none;
  }

  .hero-attributes span:nth-child(1) {
    top: 26%;
    left: 4%;
  }

  .hero-attributes span:nth-child(2) {
    top: 31%;
    right: 6%;
  }

  .down-sticker {
    right: 24px;
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .soft-seam {
    height: 82px;
  }

  .intro,
  .services,
  .portfolio,
  .blog,
  .philosophy,
  .team,
  .reviews,
  .faq,
  .contact,
  .meme-block {
    padding-left: 18px;
    padding-right: 18px;
  }

  .intro {
    padding-top: 96px;
  }

  .intro-title {
    margin-bottom: 46px;
  }

  .intro-title h2 {
    font-size: clamp(2.25rem, 10vw, 4.05rem);
    line-height: 1.04;
  }

  .intro-line-mark {
    gap: 0.08em 0.14em;
  }

  .intro-title mark {
    font-size: 0.9em;
    line-height: 0.98;
  }

  .intro-title p {
    margin-top: 22px;
    font-size: 1rem;
  }

  .spotlight-points,
  .intro-title,
  .service-list,
  .section-label,
  .portfolio-head,
  .portfolio-list,
  .philosophy-title,
  .philosophy-grid,
  .reviews-head,
  .reviews-grid,
  .faq-shell,
  .article-layout,
  .article-index-grid,
  .case-hero,
  .case-grid,
  .case-stack,
  .case-results,
  .contact-shell,
  .team-title,
  .team-row,
  .consult-shell {
    width: 100%;
  }

  .spot-point {
    padding: 24px;
  }

  .process {
    min-height: auto;
  }

  .process-heading {
    position: relative;
    top: auto;
    width: 100%;
  }

  .process-step {
    min-height: auto;
    padding: 44px 0;
  }

  .step-inner {
    width: 100%;
  }

  .step-inner p {
    margin-top: 20px;
  }

  .road-bg {
    top: 430px;
    width: 170vw;
    max-width: none;
    opacity: 0.36;
  }

  .rail {
    width: 2px;
    opacity: 0.72;
  }

  .rail-left {
    left: 26px;
  }

  .rail-right {
    left: calc(100% - 28px);
  }

  .service-row {
    grid-template-columns: 48px 54px 1fr 24px;
    min-height: 110px;
    column-gap: 12px;
  }

  .service-icon {
    width: 46px;
    height: 46px;
  }

  .service-row small {
    grid-column: 2 / 5;
  }

  .consult-shell {
    gap: 30px;
  }

  .meme-frame img {
    min-height: 260px;
  }

  .portfolio-list a {
    grid-template-columns: 112px 1fr;
    gap: 10px;
    padding: 24px 0;
  }

  .portfolio-thumb {
    width: 112px;
    height: 74px;
    grid-row: span 2;
  }

  .portfolio-list span {
    grid-column: 2;
    text-align: left;
  }

  .blog {
    padding-top: 80px;
  }

  .blog-head {
    display: grid;
  }

  .blog-train,
  .philosophy-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .faq-shell {
    gap: 28px;
  }

  .faq-list summary {
    padding: 20px;
  }

  .faq-list p {
    padding: 0 20px 20px;
  }

  .detail-page {
    padding: 118px 18px 80px;
  }

  .detail-hero,
  .case-hero {
    padding: 46px 0 34px;
  }

  .detail-hero h1,
  .case-hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.3rem);
  }

  .article-index-card {
    min-height: auto;
  }

  .case-grid article {
    min-height: auto;
  }

  .blog-train article {
    min-height: auto;
  }

  .ticker {
    min-height: 310px;
  }

  .ticker-track {
    width: 100%;
    animation: none;
  }

  .ticker-track span {
    white-space: normal;
    padding: 0 18px;
    text-align: center;
  }

  .ticker-track span + span {
    display: none;
  }

  .team-row {
    gap: 24px;
    min-height: auto;
    padding: 36px 0;
  }

  .team-figure-shell {
    justify-self: center;
    width: min(360px, 100%);
  }

  .team-figure {
    width: min(360px, 100%);
  }

  .contact-shell {
    gap: 24px;
  }

  .contact-copy,
  .contact-form {
    padding: 22px;
  }

  .footer-inner {
    width: 100%;
    padding: 22px;
  }

  .footer-brand img {
    width: 150px;
  }

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

  .footer-info section {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .intro-title mark {
    max-width: 9.5em;
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 3.75rem;
  }

  .intro-title h2 {
    font-size: clamp(2rem, 10.8vw, 2.35rem);
  }
}
