/* ================================================================
   Николай Шерер — portfolio
   Visual system: precise dark editorial + performance red
   ================================================================ */

:root {
  --bg: #080808;
  --bg-soft: #0c0c0d;
  --card: #111112;
  --card-2: #151516;
  --line: rgba(255, 255, 255, 0.09);
  --line-bright: rgba(255, 255, 255, 0.16);
  --text: #f4f3f1;
  --muted: #9a9896;
  --muted-2: #6f6d6c;
  --red: #ff353d;
  --red-dark: #b8131a;
  --red-soft: rgba(255, 53, 61, 0.12);
  --green: #5ee68a;
  --container: 1240px;
  --radius: 22px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--red) var(--bg);
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: #070708;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--red);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
  scroll-margin-top: 92px;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-atmosphere {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 58% at 50% -18%, rgba(255, 255, 255, 0.045), transparent 62%),
    radial-gradient(circle at 86% 8%, rgba(111, 8, 16, 0.14), transparent 30rem),
    linear-gradient(180deg, #080809 0%, #09090a 48%, #060607 100%);
}

.site-atmosphere::before,
.site-atmosphere::after {
  position: absolute;
  inset: 0;
  content: "";
}

.site-atmosphere::before {
  z-index: 7;
  opacity: 0.75;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.42)),
    linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.36));
}

.site-atmosphere::after {
  z-index: 8;
  box-shadow: inset 0 0 170px rgba(0, 0, 0, 0.7);
}

.atmosphere-grid,
.atmosphere-sparks,
.atmosphere-orb,
.atmosphere-beam {
  position: absolute;
  display: block;
  pointer-events: none;
}

.atmosphere-grid {
  z-index: 1;
  right: -18%;
  bottom: -34%;
  left: -18%;
  height: 92%;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px);
  background-position: center bottom;
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, transparent 3%, #000 48%, rgba(0, 0, 0, 0.9) 100%);
  transform: perspective(900px) rotateX(63deg) scale(1.28);
  transform-origin: center bottom;
  animation: atmosphere-grid-drift 22s linear infinite;
}

.atmosphere-sparks {
  z-index: 2;
  inset: 0;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 8% 17%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.4px),
    radial-gradient(circle at 31% 71%, rgba(255, 70, 77, 0.72) 0 1px, transparent 1.6px),
    radial-gradient(circle at 63% 26%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.4px),
    radial-gradient(circle at 86% 63%, rgba(255, 71, 79, 0.62) 0 1px, transparent 1.6px),
    radial-gradient(circle at 49% 91%, rgba(255, 255, 255, 0.48) 0 1px, transparent 1.4px);
  background-size: 510px 430px, 610px 540px, 470px 590px, 670px 460px, 560px 620px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 84%, transparent);
  animation: atmosphere-sparks-pulse 8s ease-in-out infinite alternate;
}

.atmosphere-orb {
  z-index: 3;
  border-radius: 50%;
  filter: blur(86px);
  will-change: transform, opacity;
}

.atmosphere-orb--one {
  top: -28%;
  right: -19%;
  width: 760px;
  height: 760px;
  opacity: 0.25;
  background: radial-gradient(circle, rgba(210, 23, 34, 0.62), rgba(119, 7, 16, 0.23) 42%, transparent 72%);
  animation: atmosphere-orb-one 18s ease-in-out infinite alternate;
}

.atmosphere-orb--two {
  bottom: -38%;
  left: -22%;
  width: 850px;
  height: 850px;
  opacity: 0.17;
  background: radial-gradient(circle, rgba(166, 13, 25, 0.48), rgba(90, 6, 13, 0.15) 48%, transparent 72%);
  animation: atmosphere-orb-two 24s ease-in-out infinite alternate;
}

.atmosphere-beam {
  z-index: 4;
  width: 66vw;
  height: 110px;
  opacity: 0.38;
  background: linear-gradient(90deg, transparent, rgba(255, 58, 67, 0.075), rgba(255, 255, 255, 0.025), transparent);
  filter: blur(22px);
  will-change: transform, opacity;
}

.atmosphere-beam--one {
  top: 15%;
  right: -22%;
  transform: rotate(-18deg);
  animation: atmosphere-beam-one 15s ease-in-out infinite alternate;
}

.atmosphere-beam--two {
  bottom: 4%;
  left: -26%;
  opacity: 0.25;
  transform: rotate(21deg);
  animation: atmosphere-beam-two 19s ease-in-out infinite alternate;
}

@keyframes atmosphere-grid-drift {
  from { background-position: center 0; }
  to { background-position: center 76px; }
}

@keyframes atmosphere-sparks-pulse {
  from { opacity: 0.14; transform: translate3d(0, 0, 0); }
  to { opacity: 0.3; transform: translate3d(0, -8px, 0); }
}

@keyframes atmosphere-orb-one {
  from { opacity: 0.2; transform: translate3d(0, 0, 0) scale(0.96); }
  to { opacity: 0.3; transform: translate3d(-7vw, 8vh, 0) scale(1.08); }
}

@keyframes atmosphere-orb-two {
  from { opacity: 0.12; transform: translate3d(0, 0, 0) scale(0.94); }
  to { opacity: 0.21; transform: translate3d(9vw, -7vh, 0) scale(1.07); }
}

@keyframes atmosphere-beam-one {
  from { opacity: 0.24; transform: translate3d(0, -20px, 0) rotate(-18deg); }
  to { opacity: 0.46; transform: translate3d(-10vw, 36px, 0) rotate(-18deg); }
}

@keyframes atmosphere-beam-two {
  from { opacity: 0.16; transform: translate3d(0, 20px, 0) rotate(21deg); }
  to { opacity: 0.32; transform: translate3d(12vw, -28px, 0) rotate(21deg); }
}

.noise {
  position: fixed;
  z-index: 1000;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  z-index: 1;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.12;
  background: radial-gradient(circle, rgba(255, 53, 61, 0.32) 0, rgba(255, 53, 61, 0) 68%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

.page-progress {
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  transform: scaleX(0);
  height: 100%;
  transform-origin: left;
  background: linear-gradient(90deg, var(--red-dark), #ff6e72);
  box-shadow: 0 0 16px rgba(255, 53, 61, 0.75);
}

.reveal {
  opacity: 0;
  translate: 0 34px;
  will-change: auto;
}

.reveal.is-visible {
  animation: reveal-in 0.95s var(--ease) var(--delay, 0s) both;
}

@keyframes reveal-in {
  from {
    opacity: 0;
    translate: 0 34px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

.qa-mode .reveal {
  opacity: 1 !important;
  transform: none !important;
  translate: none !important;
  animation: none !important;
  transition: none !important;
}

.qa-mode *,
.qa-mode *::before,
.qa-mode *::after {
  animation-play-state: paused !important;
}

/* Header */

.site-header {
  position: fixed;
  z-index: 900;
  top: 14px;
  right: 0;
  left: 0;
  transition: transform 0.4s var(--ease);
}

.site-header.is-hidden {
  transform: translateY(-120%);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 10px 12px 10px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(11, 11, 11, 0.76);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px) saturate(150%);
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  position: relative;
  display: block;
  width: 31px;
  height: 31px;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  position: absolute;
  display: block;
  content: "";
  background: var(--red);
  border-radius: 2px;
}

.brand-mark::before {
  top: 5px;
  bottom: 5px;
  left: 1px;
  width: 3px;
}

.brand-mark::after {
  top: 5px;
  right: 1px;
  bottom: 5px;
  width: 3px;
}

.brand-mark i:nth-child(1) {
  top: 15px;
  left: 3px;
  width: 10px;
  height: 3px;
}

.brand-mark i:nth-child(2) {
  top: 5px;
  bottom: 5px;
  left: 12px;
  width: 3px;
}

.brand-mark i:nth-child(3) {
  top: 15px;
  right: 3px;
  width: 10px;
  height: 3px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy b {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 34px);
}

.desktop-nav a {
  position: relative;
  color: #b5b3b1;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.25s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--red);
  transition: transform 0.35s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: #fff;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  padding: 0 21px;
  border: 0;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.button::before {
  position: absolute;
  top: -180%;
  left: -30%;
  width: 35%;
  height: 450%;
  content: "";
  transform: rotate(25deg);
  background: rgba(255, 255, 255, 0.18);
  transition: left 0.55s var(--ease);
}

.button:hover::before {
  left: 115%;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #ff3b43 0%, #dc171e 100%);
  box-shadow: 0 12px 34px rgba(218, 24, 31, 0.24), inset 0 1px rgba(255, 255, 255, 0.22);
}

.button--primary:hover {
  box-shadow: 0 18px 44px rgba(218, 24, 31, 0.35), inset 0 1px rgba(255, 255, 255, 0.22);
}

.button--header {
  min-height: 46px;
  border-radius: 9px;
  font-size: 12px;
}

.button--header svg {
  fill: currentColor;
  stroke: none;
}

.button--large {
  min-height: 60px;
  padding: 0 27px;
  border-radius: 12px;
  font-size: 14px;
}

.button--large svg {
  transition: transform 0.3s var(--ease);
}

.button--large:hover svg {
  transform: translate(3px, -3px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #fff;
  background: #131313;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.3s ease;
}

.menu-toggle.active span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle.active span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* Hero */

.hero {
  min-height: 940px;
  overflow: hidden;
  padding-top: 185px;
  padding-bottom: 70px;
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: 0;
  left: 50%;
  width: min(100%, 1600px);
  height: 100%;
  content: "";
  transform: translateX(-50%);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 88%);
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: -50px;
  left: 50%;
  width: 1px;
  height: 900px;
  content: "";
  opacity: 0.35;
  background: linear-gradient(transparent, var(--red), transparent);
  box-shadow: -620px 0 rgba(255, 255, 255, 0.07), 620px 0 rgba(255, 255, 255, 0.07);
}

.hero-orb {
  position: absolute;
  z-index: -3;
  border-radius: 50%;
  filter: blur(10px);
}

.hero-orb--one {
  top: 10px;
  right: -350px;
  width: 820px;
  height: 820px;
  opacity: 0.22;
  background: radial-gradient(circle, rgba(206, 18, 27, 0.55), transparent 67%);
}

.hero-orb--two {
  bottom: 50px;
  left: -360px;
  width: 650px;
  height: 650px;
  opacity: 0.08;
  background: radial-gradient(circle, #ff353d, transparent 67%);
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.03fr) minmax(460px, 0.97fr);
  gap: clamp(42px, 6vw, 92px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b8b5b3;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.status-dot,
.live-badge i,
.portrait-label i,
.contact-label i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(255, 53, 61, 0.1);
}

.status-dot::after,
.live-badge i::after {
  position: absolute;
  inset: -5px;
  border: 1px solid var(--red);
  border-radius: inherit;
  content: "";
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero h1 {
  max-width: 760px;
  margin: 29px 0 27px;
  font-size: clamp(53px, 5.1vw, 82px);
  font-weight: 730;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #ff676c 0%, #f62a33 40%, #b81017 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: #a5a2a0;
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #d2d0cd;
  font-size: 13px;
  font-weight: 650;
}

.text-link span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  color: var(--red);
  place-items: center;
  transition: transform 0.35s var(--ease), background 0.35s ease;
}

.text-link:hover span {
  transform: rotate(-45deg);
  background: var(--red-soft);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 42px;
}

.proof-avatars {
  display: flex;
}

.proof-avatars span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-left: -8px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  color: #fff;
  background: #211012;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: -0.03em;
  place-items: center;
}

.proof-avatars span:first-child {
  margin-left: 0;
  background: #45161a;
}

.proof-avatars span:nth-child(2) {
  background: #282828;
}

.proof-avatars span:nth-child(3) {
  color: var(--red);
  background: #171717;
}

.hero-proof p {
  margin: 0;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.45;
}

.hero-proof b {
  color: #d8d6d3;
  font-size: 12px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  perspective: 1200px;
}

.dashboard-glow {
  position: absolute;
  z-index: -1;
  inset: 8% 0 0;
  opacity: 0.32;
  background: radial-gradient(circle at 50% 30%, rgba(255, 53, 61, 0.48), transparent 63%);
  filter: blur(40px);
}

.dashboard-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 23px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 30%),
    rgba(15, 15, 16, 0.96);
  box-shadow: 0 45px 100px rgba(0, 0, 0, 0.55), inset 0 1px rgba(255, 255, 255, 0.05);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.25s ease-out;
}

.dashboard-card::after {
  position: absolute;
  top: -40%;
  left: -60%;
  width: 70%;
  height: 180%;
  content: "";
  transform: rotate(25deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.025), transparent);
  animation: dashboardShine 7s 1.6s infinite ease-in-out;
}

@keyframes dashboardShine {
  0%, 35% { left: -80%; }
  70%, 100% { left: 150%; }
}

.dashboard-top,
.metric-main,
.metric-row,
.analytics-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-top small {
  display: block;
  margin-bottom: 3px;
  color: var(--red);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.dashboard-top strong {
  font-size: 14px;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid rgba(94, 230, 138, 0.15);
  border-radius: 999px;
  color: #82eaa2;
  background: rgba(94, 230, 138, 0.06);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.live-badge i {
  width: 5px;
  height: 5px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(94, 230, 138, 0.08);
}

.live-badge i::after {
  border-color: var(--green);
}

.metric-main {
  margin-top: 35px;
}

.metric-main > div:first-child > span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
}

.metric-main strong {
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.06em;
}

.metric-main sup {
  color: var(--red);
  font-size: 19px;
  font-weight: 600;
}

.radial-chart {
  display: grid;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: conic-gradient(var(--red) calc(var(--value) * 1%), rgba(255, 255, 255, 0.07) 0);
  place-items: center;
}

.radial-chart::before {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  content: "";
  background: #121213;
}

.radial-chart span {
  position: absolute;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}

.chart-area {
  position: relative;
  height: 190px;
  margin-top: 20px;
  overflow: hidden;
}

.chart-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 45px, 75px 100%;
}

.chart-area svg {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-line,
.chart-fill {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.is-visible .chart-line,
.is-visible .chart-fill {
  animation: drawChart 2s 0.65s var(--ease) forwards;
}

@keyframes drawChart {
  to { stroke-dashoffset: 0; }
}

.chart-tooltip {
  position: absolute;
  top: 4px;
  right: 10px;
  display: flex;
  flex-direction: column;
  padding: 8px 11px;
  border: 1px solid rgba(255, 53, 61, 0.25);
  border-radius: 8px;
  background: rgba(40, 11, 13, 0.92);
}

.chart-tooltip span {
  color: var(--muted);
  font-size: 7px;
}

.chart-tooltip b {
  color: var(--green);
  font-size: 11px;
}

.metric-row {
  gap: 9px;
  margin-top: 17px;
}

.metric-row article {
  display: flex;
  position: relative;
  flex: 1;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.metric-icon {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: var(--red);
  background: var(--red-soft);
  font-size: 13px;
  place-items: center;
}

.metric-row small,
.metric-row b {
  display: block;
  white-space: nowrap;
}

.metric-row small {
  color: var(--muted-2);
  font-size: 7px;
}

.metric-row b {
  font-size: 11px;
}

.metric-row em {
  position: absolute;
  top: 7px;
  right: 7px;
  color: var(--green);
  font-size: 7px;
  font-style: normal;
}

.floating-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(18, 18, 19, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

.floating-note > span {
  display: grid;
  width: 31px;
  height: 31px;
  border-radius: 8px;
  color: var(--red);
  background: var(--red-soft);
  font-size: 10px;
  font-weight: 800;
  place-items: center;
}

.floating-note p,
.floating-note b,
.floating-note small {
  display: block;
  margin: 0;
  white-space: nowrap;
}

.floating-note b {
  font-size: 9px;
}

.floating-note small {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 7px;
}

.floating-note > i,
.floating-note > strong {
  margin-left: 10px;
  color: var(--green);
  font-size: 10px;
  font-style: normal;
}

.floating-note--top {
  top: 70px;
  right: -44px;
  animation: float 5s infinite ease-in-out;
}

.floating-note--bottom {
  bottom: -27px;
  left: -44px;
  animation: float 5s -2.2s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* Personal hero portrait */

.hero-portrait {
  --portrait-rx: 0deg;
  --portrait-ry: 0deg;
  --portrait-scale: 1;
  --portrait-sheen-x: 0%;
  --portrait-sheen-y: 0%;
  --portrait-sheen-angle: 0deg;
  --portrait-sheen-opacity: 0.18;
  display: grid;
  min-width: 0;
  perspective: 1200px;
  place-items: center;
}

.hero-portrait-aura {
  position: absolute;
  z-index: -1;
  width: 110%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.34;
  background: radial-gradient(ellipse at 50% 46%, rgba(176, 15, 23, 0.42) 0, rgba(125, 8, 14, 0.18) 38%, transparent 70%);
  filter: blur(46px);
  transform: scale(0.94);
  transition: opacity 0.65s ease, transform 0.85s var(--ease);
}

.hero-portrait:hover .hero-portrait-aura {
  opacity: 0.46;
  transform: scale(1.025);
}

.hero-portrait-card {
  position: relative;
  width: min(100%, 470px);
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 30%),
    rgba(15, 15, 16, 0.96);
  box-shadow:
    0 46px 100px rgba(0, 0, 0, 0.58),
    0 0 70px rgba(180, 12, 19, 0.11),
    inset 0 1px rgba(255, 255, 255, 0.07);
  transform: rotateX(var(--portrait-rx)) rotateY(var(--portrait-ry)) scale(var(--portrait-scale));
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    transform 0.16s ease-out,
    border-color 0.5s ease,
    box-shadow 0.55s ease;
}

.hero-portrait-card::before {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 18%;
  left: 18%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 104, 109, 0.8), transparent);
  box-shadow: 0 0 18px rgba(255, 53, 61, 0.55);
  transition: right 0.55s var(--ease), left 0.55s var(--ease), opacity 0.45s ease;
}

.hero-portrait-card:hover::before {
  right: 10%;
  left: 10%;
  opacity: 0.92;
}

.hero-portrait-card:hover {
  --portrait-scale: 1.008;
  border-color: rgba(255, 82, 89, 0.34);
  box-shadow:
    0 58px 120px rgba(0, 0, 0, 0.64),
    0 0 52px rgba(190, 15, 23, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.09);
}

.hero-photo {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 17px;
  aspect-ratio: 4 / 5;
  background: #120a0b;
  clip-path: inset(0 round 17px);
  contain: paint;
  isolation: isolate;
  transform: translateZ(0);
  transition: border-color 0.5s ease, box-shadow 0.6s ease;
}

.hero-photo::before {
  position: absolute;
  z-index: 4;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 -50px 80px rgba(7, 7, 8, 0.15);
  transition: box-shadow 0.55s ease;
}

.hero-photo::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 18%, transparent 73%, rgba(255, 77, 84, 0.055)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 9%, transparent 91%, rgba(255, 255, 255, 0.025));
  opacity: 0.34;
  transition: opacity 0.5s ease;
}

.hero-portrait-card:hover .hero-photo {
  border-color: rgba(255, 92, 98, 0.26);
  box-shadow: inset 0 0 34px rgba(255, 53, 61, 0.07);
}

.hero-portrait-card:hover .hero-photo::before {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.075),
    inset 0 -54px 86px rgba(7, 7, 8, 0.12);
}

.hero-portrait-card:hover .hero-photo::after {
  opacity: 0.62;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 42%;
  user-select: none;
  transition: filter 0.75s ease;
}

.hero-portrait-card:hover .hero-photo img {
  filter: contrast(1.035) saturate(1.055) brightness(1.015);
}

.hero-photo-sheen {
  position: absolute;
  z-index: 3;
  inset: -32% -68%;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(
    112deg,
    transparent 34%,
    rgba(255, 255, 255, 0.02) 40%,
    rgba(255, 255, 255, 0.11) 46%,
    rgba(255, 255, 255, 0.34) 49.2%,
    rgba(255, 239, 235, 0.19) 51.4%,
    rgba(255, 87, 94, 0.06) 56%,
    transparent 65%
  );
  mix-blend-mode: screen;
  transform:
    translate3d(var(--portrait-sheen-x), var(--portrait-sheen-y), 0)
    rotate(var(--portrait-sheen-angle));
  transform-origin: center;
  will-change: transform, opacity;
  transition: transform 0.16s ease-out, opacity 0.32s ease;
}

.hero-photo-sheen::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    112deg,
    transparent 43%,
    rgba(255, 255, 255, 0.04) 47%,
    rgba(255, 255, 255, 0.27) 49.5%,
    rgba(255, 255, 255, 0.07) 52%,
    transparent 57%
  );
  filter: blur(10px);
}

.hero-portrait-card:hover .hero-photo-sheen {
  opacity: var(--portrait-sheen-opacity);
}

.hero-photo-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(6, 6, 6, 0.47), transparent 34%),
    linear-gradient(125deg, transparent 48%, rgba(133, 8, 14, 0.18));
  box-shadow: inset 0 0 65px rgba(0, 0, 0, 0.32);
}

.photo-corner {
  position: absolute;
  z-index: 4;
  width: 54px;
  height: 54px;
  border-color: rgba(255, 75, 82, 0.9);
  pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(255, 53, 61, 0.22));
  transition:
    width 0.5s var(--ease),
    height 0.5s var(--ease),
    border-color 0.45s ease,
    filter 0.45s ease;
}

.photo-corner--top {
  top: 16px;
  left: 16px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.photo-corner--bottom {
  right: 16px;
  bottom: 16px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.hero-portrait-card:hover .photo-corner {
  width: 78px;
  height: 78px;
  border-color: rgba(255, 111, 116, 0.96);
  filter: drop-shadow(0 0 8px rgba(255, 53, 61, 0.38));
}

.photo-status {
  position: absolute;
  z-index: 5;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #e9e6e3;
  background: rgba(13, 13, 14, 0.76);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(12px);
  transition:
    transform 0.5s var(--ease),
    border-color 0.45s ease,
    background-color 0.45s ease;
}

.hero-portrait-card:hover .photo-status {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(13, 13, 14, 0.86);
  transform: translateY(-3px);
}

.photo-status i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(94, 230, 138, 0.09);
}

.photo-status i::after {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(94, 230, 138, 0.42);
  border-radius: 50%;
  content: "";
  opacity: 0;
}

.hero-portrait-card:hover .photo-status i::after {
  animation: status-pulse 1.8s ease-out infinite;
}

@keyframes status-pulse {
  0% { opacity: 0.65; transform: scale(0.65); }
  75%, 100% { opacity: 0; transform: scale(1.8); }
}

.hero-profile-copy {
  position: relative;
  z-index: 4;
  padding: 24px 20px 17px;
}

.profile-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
}

.profile-heading span {
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.profile-heading small {
  color: #7f7c7a;
  font-size: 12px;
}

.hero-profile-copy p {
  margin: 0;
  color: #b5b1ae;
  font-size: 17px;
  line-height: 1.65;
}

.portrait-side-label {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: -32px;
  color: #787573;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

.hero-metrics {
  display: grid;
  align-items: end;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 110px;
  border-top: 1px solid var(--line);
}

.hero-metrics > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 24px 0 0;
}

.hero-metrics > div:not(:first-child) {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.hero-metrics strong {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.hero-metrics span {
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.4;
}

.hero-metrics .metric-caption {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 0;
  padding-right: 0;
  text-align: right;
}

.metric-caption span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.metric-caption b {
  color: #d6d3d0;
  font-size: 13px;
  font-weight: 600;
}

/* Marquee */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d0d0e;
  transform: rotate(-1.2deg) scale(1.02);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 46s linear infinite;
}

.marquee-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 30px;
  min-width: max-content;
  padding: 17px 30px 17px 0;
}

.marquee span {
  color: #bab7b4;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marquee i {
  color: var(--red);
  font-size: 10px;
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Shared section headings */

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.section-kicker {
  display: block;
  margin-bottom: 17px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.section-heading h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(40px, 4vw, 62px);
  font-weight: 680;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading h2 em,
.case-info h3 em,
.contact-card h2 em {
  color: var(--red);
  font-style: normal;
}

.section-heading > p {
  max-width: 390px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* About */

.about {
  padding-top: 150px;
}

.about-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.05fr 0.65fr;
  min-height: 660px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 50%, rgba(180, 15, 22, 0.08), transparent 45%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 35%),
    var(--card);
}

.about-content {
  position: relative;
  padding: 70px;
}

.quote-mark {
  position: absolute;
  top: 28px;
  right: 55px;
  color: rgba(255, 53, 61, 0.14);
  font-family: Georgia, serif;
  font-size: 130px;
  line-height: 1;
}

.about-content h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  font-size: clamp(30px, 3vw, 43px);
  letter-spacing: -0.045em;
}

.about-intro {
  max-width: 650px;
  margin: 0;
  color: #aaa7a4;
  font-size: 16px;
  line-height: 1.8;
}

.principles {
  display: grid;
  gap: 0;
  margin-top: 43px;
}

.principles article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.principles article > span {
  color: var(--red);
  font-size: 10px;
  font-weight: 750;
}

.principles b,
.principles p {
  display: block;
  margin: 0;
}

.principles b {
  margin-bottom: 5px;
  font-size: 13px;
}

.principles p {
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.55;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 35px;
}

.signature-line {
  width: 60px;
  height: 1px;
  background: var(--red);
}

.about-signature b,
.about-signature small {
  display: block;
}

.about-signature b {
  font-size: 12px;
}

.about-signature small {
  color: var(--muted-2);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.portrait-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 28px;
  border-left: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 53, 61, 0.08), transparent 48%);
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  background: #120b0c;
}

.portrait-frame img {
  position: absolute;
  top: -137%;
  left: -171%;
  width: 288%;
  max-width: none;
  user-select: none;
}

.portrait-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6, 6, 6, 0.32), transparent 40%),
    radial-gradient(circle at 70% 35%, transparent 20%, rgba(0, 0, 0, 0.18) 92%);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.35);
}

.portrait-card::before,
.portrait-card::after {
  position: absolute;
  z-index: 2;
  width: 62px;
  height: 62px;
  border-color: var(--red);
  content: "";
  pointer-events: none;
}

.portrait-card::before {
  top: 17px;
  left: 17px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.portrait-card::after {
  right: 17px;
  bottom: 86px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.portrait-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 4px 0;
}

.portrait-label > span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 650;
}

.portrait-label i {
  width: 5px;
  height: 5px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(94, 230, 138, 0.09);
}

.portrait-label small {
  color: var(--muted-2);
  font-size: 8px;
}

/* Services */

.services {
  overflow: hidden;
}

.services::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 1100px;
  height: 500px;
  content: "";
  transform: translate(-50%, -50%);
  opacity: 0.07;
  background: radial-gradient(ellipse, var(--red), transparent 67%);
  filter: blur(50px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  min-height: 520px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 35%), var(--card);
  transition: transform 0.45s var(--ease), border-color 0.3s ease, background 0.3s ease;
}

.service-card::after {
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  content: "";
  opacity: 0;
  background: rgba(255, 53, 61, 0.12);
  filter: blur(30px);
  transition: opacity 0.4s ease;
}

.service-card:hover {
  z-index: 2;
  transform: translateY(-10px);
  border-color: rgba(255, 53, 61, 0.3);
  background: linear-gradient(145deg, rgba(255, 53, 61, 0.06), transparent 40%), #121213;
}

.service-card:hover::after {
  opacity: 1;
}

.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-number {
  color: #565454;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.service-icon {
  display: grid;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 53, 61, 0.18);
  border-radius: 14px;
  color: var(--red);
  background: rgba(255, 53, 61, 0.07);
  place-items: center;
}

.service-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 45px 0 18px;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.service-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 23px 0 30px;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 14px;
  color: #777574;
  font-size: 10px;
}

.service-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: var(--red);
}

.service-result {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: right;
}

.service-result span {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-result b {
  margin-top: 3px;
  color: #d8d5d3;
  font-size: 11px;
}

/* AI agent demo */

.agent-demo {
  overflow: hidden;
  padding-top: 70px;
}

.agent-demo-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.92fr);
  gap: 58px;
  align-items: center;
  min-height: 720px;
  padding: 68px 64px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 47%, rgba(255, 53, 61, 0.12), transparent 32%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.035), transparent 38%),
    #0d0d0e;
}

.agent-demo-panel::before {
  position: absolute;
  top: 0;
  right: 12%;
  left: 58%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 83, 90, 0.9), transparent);
  box-shadow: 0 0 22px rgba(255, 53, 61, 0.45);
}

.agent-demo-copy {
  position: relative;
  z-index: 2;
}

.agent-demo-copy h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(48px, 4.4vw, 72px);
  font-weight: 680;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.agent-demo-copy h2 em {
  color: var(--red);
  font-style: normal;
}

.agent-demo-copy > p {
  max-width: 630px;
  margin: 28px 0 0;
  color: #aaa6a3;
  font-size: 18px;
  line-height: 1.7;
}

.agent-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.agent-benefits div {
  min-width: 0;
  padding: 20px 18px 20px 0;
}

.agent-benefits div + div {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.agent-benefits b,
.agent-benefits span {
  display: block;
}

.agent-benefits b {
  margin-bottom: 7px;
  color: #f4f1ef;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.agent-benefits span {
  color: #918d8a;
  font-size: 13px;
  line-height: 1.5;
}

.agent-chat-stage {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
}

.agent-chat-stage::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  content: "";
  background: rgba(184, 17, 24, 0.18);
  filter: blur(72px);
  transform: translate(-50%, -50%);
}

.agent-chat-window {
  width: min(100%, 500px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #111112;
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.56), 0 0 45px rgba(255, 53, 61, 0.08);
}

.agent-chat-header {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.agent-chat-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 53, 61, 0.26);
  border-radius: 12px;
  color: var(--red);
  background: rgba(255, 53, 61, 0.09);
  place-items: center;
}

.agent-chat-avatar svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.agent-chat-header b,
.agent-chat-header small {
  display: block;
}

.agent-chat-header b {
  color: #eeecea;
  font-size: 16px;
}

.agent-chat-header small {
  margin-top: 3px;
  color: #83807d;
  font-size: 12px;
}

.agent-chat-header small i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(94, 230, 138, 0.08);
}

.agent-chat-brand {
  color: #5e5b59;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.agent-chat-body {
  display: flex;
  height: 316px;
  overflow-x: hidden;
  overflow-y: auto;
  flex-direction: column;
  gap: 0;
  padding: 23px 19px;
  scrollbar-width: none;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 53, 61, 0.055), transparent 30%),
    #0d0d0e;
}

.agent-chat-body::-webkit-scrollbar {
  display: none;
}

.agent-message,
.agent-typing {
  display: none;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
}

.agent-message {
  position: relative;
  max-width: 85%;
  margin-top: 12px;
  padding: 14px 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px 14px 14px 4px;
  color: #d0cdca;
  background: #181819;
  font-size: 14px;
  line-height: 1.55;
}

.agent-message.is-visible,
.qa-mode .agent-message {
  display: block;
  opacity: 1;
  animation: agent-message-in 0.55s var(--ease) both;
  transform: translateY(0) scale(1);
}

.agent-message:first-child {
  margin-top: 0;
}

@keyframes agent-message-in {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.agent-message--client {
  align-self: flex-end;
  border-color: rgba(255, 53, 61, 0.17);
  border-radius: 14px 14px 4px;
  color: #f5efed;
  background: linear-gradient(135deg, #8f151b, #5e1014);
}

.agent-message b {
  color: #fff;
}

.agent-message time {
  position: absolute;
  right: 9px;
  bottom: 5px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 9px;
}

.agent-message--success {
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  border-color: rgba(94, 230, 138, 0.2);
  background: linear-gradient(135deg, rgba(94, 230, 138, 0.09), rgba(255, 255, 255, 0.025));
}

.agent-message--success.is-visible,
.qa-mode .agent-message--success {
  display: grid;
}

.agent-message--success span > b,
.agent-message--success span > small {
  display: block;
}

.agent-message--success span > small {
  margin-top: 5px;
  color: #aaa6a3;
  font-size: 11px;
  line-height: 1.45;
}

.agent-success-icon {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #07130b;
  background: var(--green);
  font-size: 15px;
  font-weight: 900;
  place-items: center;
}

.agent-typing {
  width: max-content;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px 14px 14px 4px;
  background: #181819;
}

.agent-typing.is-visible {
  display: flex;
  opacity: 1;
  animation: agent-message-in 0.35s ease both;
  transform: translateY(0) scale(1);
}

.agent-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #777370;
  animation: agent-typing 0.9s ease-in-out infinite;
}

.agent-typing i:nth-child(2) { animation-delay: 0.14s; }
.agent-typing i:nth-child(3) { animation-delay: 0.28s; }

@keyframes agent-typing {
  0%, 70%, 100% { opacity: 0.35; transform: translateY(0); }
  35% { opacity: 1; transform: translateY(-3px); }
}

.agent-chat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px 12px 10px 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #605d5b;
  background: #111112;
  font-size: 12px;
}

.agent-chat-footer button {
  display: grid;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #ff3a42, #c7151d);
  place-items: center;
  pointer-events: none;
}

.agent-chat-footer svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.agent-demo-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  color: #716e6c;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.agent-demo-note i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(255, 53, 61, 0.08);
}

/* Cases */

.cases {
  padding-top: 140px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.01) 45%, transparent);
}

.cases-stack {
  display: grid;
  gap: 28px;
}

.case-card {
  display: grid;
  overflow: hidden;
  grid-template-columns: 0.67fr 1.33fr;
  min-height: 570px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  transition: border-color 0.4s ease;
}

.case-card:hover {
  border-color: rgba(255, 53, 61, 0.24);
}

.case-card--reverse {
  grid-template-columns: 1.33fr 0.67fr;
}

.case-card--reverse .case-info {
  order: 2;
  border-right: 0;
  border-left: 1px solid var(--line);
}

.case-info {
  display: flex;
  flex-direction: column;
  padding: 48px;
  border-right: 1px solid var(--line);
}

.case-meta {
  display: flex;
  align-items: center;
  gap: 11px;
}

.case-meta span {
  color: var(--red);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.case-meta i {
  width: 23px;
  height: 1px;
  background: #454343;
}

.case-meta small {
  color: var(--muted-2);
  font-size: 9px;
}

.case-info h3 {
  margin: 51px 0 23px;
  font-size: clamp(29px, 2.7vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.case-info > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 25px;
}

.case-tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #8a8886;
  font-size: 8px;
}

.case-outcome {
  display: grid;
  margin-top: auto;
  grid-template-columns: auto 1fr;
  align-items: end;
  column-gap: 13px;
}

.case-outcome small {
  grid-column: 1 / -1;
  margin-bottom: 5px;
  color: var(--muted-2);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.case-outcome strong {
  color: var(--green);
  font-size: 38px;
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.05em;
}

.case-outcome span {
  max-width: 100px;
  padding-bottom: 2px;
  color: #85817f;
  font-size: 9px;
  line-height: 1.4;
}

.case-visual {
  position: relative;
  display: grid;
  overflow: hidden;
  min-width: 0;
  padding: 65px;
  place-items: center;
}

.case-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, #000, transparent 75%);
}

.case-visual--landing {
  background: radial-gradient(circle at 60% 45%, rgba(180, 12, 18, 0.35), transparent 60%), #0a0909;
}

.browser-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  max-width: 720px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  background: #0c0c0c;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.55);
  transform: perspective(1200px) rotateY(-5deg) rotateX(3deg);
  transition: transform 0.6s var(--ease);
}

.case-card:hover .browser-window {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0) scale(1.02);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #151515;
}

.browser-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #383838;
}

.browser-bar span:first-child {
  background: var(--red);
}

.browser-bar i {
  flex: 1;
  margin-left: 11px;
  color: #5a5756;
  font-size: 7px;
  font-style: normal;
  text-align: center;
}

.build-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 340px;
}

.build-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 42px 30px;
  background: #0d0d0d;
}

.build-copy small {
  color: var(--red);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.build-copy b {
  margin-top: 14px;
  font-size: clamp(17px, 1.6vw, 26px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.build-copy em {
  color: var(--red);
  font-style: normal;
}

.build-copy > span {
  width: 80%;
  height: 3px;
  margin-top: 10px;
  border-radius: 5px;
  background: #292929;
}

.build-copy > span + span {
  width: 57%;
  margin-top: 5px;
}

.build-copy button {
  margin-top: auto;
  padding: 10px 13px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--red);
  font-size: 7px;
  font-weight: 700;
}

.build-house {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #21191a, #0c0b0b);
}

.house-sky {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 18%, rgba(237, 133, 100, 0.22), transparent 40%);
}

.house-ground {
  position: absolute;
  right: -30%;
  bottom: -25%;
  left: -30%;
  height: 52%;
  transform: rotate(-6deg);
  background: linear-gradient(#211615, #0a0909);
}

.house-shape {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: 18%;
  width: 80%;
  height: 45%;
  transform: skewY(-4deg);
  background: linear-gradient(135deg, #292523, #111);
  box-shadow: -25px 25px 60px rgba(0, 0, 0, 0.45);
}

.house-shape::before {
  position: absolute;
  top: -42%;
  left: -6%;
  width: 105%;
  height: 48%;
  content: "";
  transform: skewY(15deg);
  transform-origin: bottom left;
  background: linear-gradient(160deg, #4e3835, #181313);
}

.house-shape i {
  position: relative;
  display: inline-block;
  width: 21%;
  height: 47%;
  margin: 16% 0 0 8%;
  background: linear-gradient(135deg, #d05a38, #4f1b17);
  box-shadow: inset 0 0 20px rgba(255, 147, 79, 0.25);
}

.visual-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(18, 18, 19, 0.91);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.visual-chip--conversion {
  right: 32px;
  bottom: 40px;
  gap: 9px;
  padding: 11px 13px;
}

.visual-chip--conversion small,
.visual-chip--conversion b {
  display: block;
}

.visual-chip--conversion small {
  color: var(--muted-2);
  font-size: 7px;
}

.visual-chip--conversion b {
  font-size: 13px;
}

.visual-chip--conversion span {
  color: var(--green);
  font-size: 13px;
}

.case-visual--analytics {
  background: radial-gradient(circle at 50% 55%, rgba(59, 92, 181, 0.17), transparent 60%), #0a0b0d;
}

.analytics-shell {
  position: relative;
  z-index: 1;
  display: grid;
  overflow: hidden;
  width: 100%;
  max-width: 740px;
  grid-template-columns: 56px 1fr;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  color: #18191c;
  background: #f1f3f6;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.48);
  transform: perspective(1200px) rotateY(4deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}

.case-card:hover .analytics-shell {
  transform: perspective(1200px) rotateY(0) rotateX(0) scale(1.02);
}

.analytics-shell aside {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  padding: 18px 0;
  border-right: 1px solid #e1e3e7;
  background: #fff;
}

.mini-logo {
  display: grid;
  width: 25px;
  height: 25px;
  margin-bottom: 8px;
  border-radius: 7px;
  color: #fff;
  background: #2f6fea;
  font-size: 10px;
  font-weight: 800;
  place-items: center;
}

.analytics-shell aside i {
  width: 12px;
  height: 12px;
  border: 2px solid #c7cbd2;
  border-radius: 3px;
}

.analytics-shell aside i:first-of-type {
  border-color: #2f6fea;
  background: rgba(47, 111, 234, 0.1);
}

.analytics-shell aside span {
  width: 25px;
  height: 25px;
  margin-top: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #39455d, #171c27);
}

.analytics-main {
  padding: 28px;
}

.analytics-head small,
.analytics-head b {
  display: block;
}

.analytics-head small {
  margin-bottom: 3px;
  color: #8d939d;
  font-size: 7px;
}

.analytics-head b {
  font-size: 13px;
}

.analytics-head > span {
  padding: 7px 9px;
  border: 1px solid #dcdfe5;
  border-radius: 5px;
  color: #6e747e;
  background: #fff;
  font-size: 7px;
}

.analytics-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.analytics-kpis > div {
  position: relative;
  padding: 14px;
  border: 1px solid #e2e4e8;
  border-radius: 8px;
  background: #fff;
}

.analytics-kpis small,
.analytics-kpis b {
  display: block;
}

.analytics-kpis small {
  color: #9498a1;
  font-size: 6px;
}

.analytics-kpis b {
  margin-top: 6px;
  font-size: 15px;
}

.analytics-kpis em {
  position: absolute;
  right: 9px;
  bottom: 11px;
  color: #2aa45d;
  font-size: 6px;
  font-style: normal;
}

.analytics-panels {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr;
  gap: 8px;
  margin-top: 8px;
}

.analytics-panels > div {
  height: 157px;
  padding: 14px;
  border: 1px solid #e2e4e8;
  border-radius: 8px;
  background: #fff;
}

.analytics-panels > div > span {
  display: block;
  font-size: 7px;
  font-weight: 700;
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 102px;
  margin-top: 10px;
  border-bottom: 1px solid #eceef1;
}

.mini-bars i {
  flex: 1;
  height: 30%;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(#4f84ec, #a9c1f3);
}

.mini-bars i:nth-child(2) { height: 47%; }
.mini-bars i:nth-child(3) { height: 36%; }
.mini-bars i:nth-child(4) { height: 62%; }
.mini-bars i:nth-child(5) { height: 53%; }
.mini-bars i:nth-child(6) { height: 79%; }
.mini-bars i:nth-child(7) { height: 68%; }
.mini-bars i:nth-child(8) { height: 91%; }
.mini-bars i:nth-child(9) { height: 83%; background: #2f6fea; }

.mini-donut {
  display: grid;
  width: 88px;
  height: 88px;
  margin: 17px auto 0;
  border-radius: 50%;
  background: conic-gradient(#2f6fea 64%, #a7c2f8 0 82%, #e7ebf2 0);
  place-items: center;
}

.mini-donut::before {
  width: 57px;
  height: 57px;
  border-radius: 50%;
  content: "";
  background: #fff;
}

.mini-donut b {
  position: absolute;
  font-size: 10px;
}

.visual-chip--report {
  bottom: 35px;
  left: 42px;
  gap: 9px;
  padding: 10px 13px;
  color: #fff;
}

.visual-chip--report > span {
  display: grid;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  color: var(--green);
  background: rgba(94, 230, 138, 0.1);
  font-size: 10px;
  place-items: center;
}

.visual-chip p,
.visual-chip b,
.visual-chip small {
  display: block;
  margin: 0;
}

.visual-chip p b { font-size: 8px; }
.visual-chip p small { color: var(--muted-2); font-size: 6px; }

.case-visual--agent {
  background:
    radial-gradient(circle at 50% 50%, rgba(199, 20, 28, 0.22), transparent 42%),
    linear-gradient(145deg, #0d0a0b, #080808);
}

.agent-orbit,
.agent-orbit::before,
.agent-orbit::after {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 53, 61, 0.12);
  border-radius: 50%;
}

.agent-orbit::before,
.agent-orbit::after {
  top: 50%;
  left: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.agent-orbit::before { width: 330px; height: 330px; }
.agent-orbit::after { width: 230px; height: 230px; }

.agent-orbit i {
  position: absolute;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 16px var(--red);
}

.agent-orbit i:first-child { top: 50px; left: 75px; }
.agent-orbit i:nth-child(2) { right: 20px; bottom: 145px; }
.agent-orbit i:nth-child(3) { bottom: 28px; left: 120px; }

.agent-phone {
  position: relative;
  z-index: 2;
  width: 275px;
  height: 470px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 36px;
  background: linear-gradient(145deg, #19191a, #0d0d0e);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6), 0 0 80px rgba(255, 53, 61, 0.1);
  transform: rotate(3deg);
  transition: transform 0.6s var(--ease);
}

.case-card:hover .agent-phone {
  transform: rotate(0) scale(1.02);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  padding: 1px 9px 13px;
  font-size: 6px;
}

.phone-top i {
  width: 33px;
  height: 6px;
  border-radius: 8px;
  background: #050505;
}

.agent-title {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}

.agent-title > span {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--red), #691014);
  font-size: 8px;
  font-weight: 800;
  place-items: center;
}

.agent-title b,
.agent-title small {
  display: block;
}

.agent-title b { font-size: 9px; }
.agent-title small { color: var(--muted-2); font-size: 6px; }
.agent-title small i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--green); }
.agent-title em { margin-left: auto; color: var(--muted-2); font-size: 8px; font-style: normal; }

.chat {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  padding: 20px 6px;
}

.chat p {
  max-width: 84%;
  margin: 0;
  padding: 10px;
  border-radius: 10px 10px 10px 3px;
  color: #bbb7b5;
  background: #222224;
  font-size: 7px;
  line-height: 1.55;
}

.chat p.user-message {
  align-self: flex-end;
  border-radius: 10px 10px 3px 10px;
  color: #fff;
  background: linear-gradient(135deg, #a3171d, #651014);
}

.chat-input {
  position: absolute;
  right: 16px;
  bottom: 15px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted-2);
  background: #151516;
  font-size: 7px;
}

.chat-input b {
  display: grid;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  place-items: center;
}

.visual-chip--lead {
  right: 38px;
  bottom: 52px;
  gap: 9px;
  padding: 11px 13px;
}

.visual-chip--lead > span {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--green);
  background: rgba(94, 230, 138, 0.08);
  font-size: 11px;
  place-items: center;
}

.cases-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 31px 0 0;
  color: var(--muted-2);
  font-size: 10px;
  text-align: center;
}

.cases-note span {
  color: var(--red);
}

/* Project showcase */

.showcase {
  position: relative;
  padding-top: 148px;
  background:
    radial-gradient(circle at 92% 25%, rgba(255, 53, 61, 0.07), transparent 28%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.012) 48%, transparent);
}

.showcase::before {
  position: absolute;
  top: 255px;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.showcase-line {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 58px 0 24px;
  color: #6f6c6b;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-line i {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(255, 53, 61, 0.5), var(--line));
}

.showcase-line span:last-child {
  color: #b0adaa;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
}

.project-tile {
  display: flex;
  grid-column: span 6;
  flex-direction: column;
  min-width: 0;
  padding: 9px 9px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(24, 24, 25, 0.96), rgba(13, 13, 14, 0.98));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.6s var(--ease),
    border-color 0.5s ease,
    box-shadow 0.6s ease;
}

.project-tile:hover {
  border-color: rgba(255, 53, 61, 0.3);
  box-shadow: 0 38px 95px rgba(0, 0, 0, 0.38), 0 0 50px rgba(255, 53, 61, 0.045);
  transform: translateY(-7px);
}

.project-preview {
  position: relative;
  display: block;
  height: 410px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  color: inherit;
  background: #0b0b0c;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
}

.project-preview::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 58%, rgba(0, 0, 0, 0.58)),
    linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.11) 50%, transparent 62%);
  background-size: 100% 100%, 260% 100%;
  background-position: 0 0, 120% 0;
  transition: background-position 1s var(--ease);
}

.project-open {
  position: absolute;
  z-index: 5;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  place-items: center;
  backdrop-filter: blur(10px);
  background: rgba(9, 9, 10, 0.35);
  opacity: 0.72;
  transform: translate(-7px, 7px);
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease),
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.project-preview img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  transform: scale(1.002);
  transition: transform 1s var(--ease), filter 0.7s ease;
}

.project-tile:hover .project-preview::before {
  background-position: 0 0, -120% 0;
}

.project-tile:hover .project-open {
  border-color: rgba(255, 53, 61, 0.85);
  opacity: 1;
  transform: translate(0, 0);
}

.project-open:hover,
.project-preview:focus-visible .project-open {
  border-color: transparent;
  background: linear-gradient(135deg, #ff454c, #e51f28);
  box-shadow: 0 12px 28px rgba(229, 31, 40, 0.42), 0 0 22px rgba(255, 53, 61, 0.28);
  transform: translate(0, 0) scale(1.1);
}

.project-preview:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.project-tile:hover .project-preview img {
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.035);
}

.project-number,
.project-status {
  position: absolute;
  z-index: 4;
  top: 17px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  background: rgba(8, 8, 9, 0.56);
}

.project-number {
  left: 17px;
  width: 46px;
  height: 32px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 720;
  line-height: 30px;
  text-align: center;
  letter-spacing: 0.08em;
}

.project-status {
  display: flex;
  right: 17px;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  font-weight: 620;
}

.project-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(94, 230, 138, 0.7);
}

.project-caption {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(230px, 1.2fr);
  align-items: end;
  min-height: 146px;
  flex: 1;
  gap: 34px;
  padding: 27px 22px 31px;
}

.project-caption span {
  display: block;
  margin-bottom: 9px;
  color: var(--red);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-caption h3 {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.project-caption p {
  margin: 0;
  color: #a29e9b;
  font-size: 14px;
  line-height: 1.65;
}

.showcase-footer {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: start;
  gap: 70px;
  margin-top: 36px;
  padding: 32px 8px 0;
  border-top: 1px solid var(--line);
}

.showcase-footer span {
  color: #e7e4e2;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.showcase-footer p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .project-preview {
    height: 360px;
  }

  .project-caption {
    grid-template-columns: 1fr;
    gap: 17px;
    min-height: 178px;
  }
}

@media (max-width: 760px) {
  .showcase {
    padding-top: 100px;
  }

  .showcase::before {
    display: none;
  }

  .showcase-line {
    margin-top: 38px;
    font-size: 9px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-tile {
    grid-column: auto;
    border-radius: 19px;
  }

  .project-preview {
    height: min(69vw, 355px);
    border-radius: 13px;
  }

  .project-tile:hover {
    transform: none;
  }

  .project-caption {
    min-height: 0;
    padding: 24px 16px 27px;
  }

  .project-caption h3 {
    font-size: 30px;
  }

  .project-caption p {
    font-size: 14px;
  }

  .showcase-footer {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 27px;
    padding: 25px 5px 0;
  }
}

@media (max-width: 430px) {
  .showcase-line span:first-child {
    display: none;
  }

  .project-status {
    right: 12px;
  }

  .project-number {
    left: 12px;
  }

  .project-open {
    right: 12px;
    bottom: 12px;
    opacity: 1;
    transform: none;
  }
}

/* Process */

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
}

.process-line {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
}

.process-line span {
  display: block;
  width: 16.66%;
  height: 100%;
  background: var(--red);
  box-shadow: 0 0 18px var(--red);
  transition: width 0.65s var(--ease);
}

.process-step {
  min-width: 0;
  border-right: 1px solid var(--line);
}

.process-step:first-of-type {
  border-left: 1px solid var(--line);
}

.process-step button {
  display: flex;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 27px 19px;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.process-step button > span {
  display: grid;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  color: var(--muted-2);
  font-size: 8px;
  place-items: center;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.process-step button b {
  font-size: 11px;
}

.process-step button i {
  display: none;
  margin-left: auto;
  font-style: normal;
}

.process-step.active button > span {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

.step-content {
  overflow: hidden;
  max-height: 0;
  padding: 0 19px;
  opacity: 0;
  transition: max-height 0.55s var(--ease), opacity 0.4s ease, padding 0.4s ease;
}

.process-step.active .step-content {
  max-height: 220px;
  padding-bottom: 28px;
  opacity: 1;
}

.step-content p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.step-content small {
  display: block;
  margin-top: 16px;
  color: var(--red);
  font-size: 8px;
  line-height: 1.45;
}

/* Project journey */

.process {
  overflow: hidden;
}

.journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  min-height: 570px;
  margin-top: 64px;
  padding: 0 54px;
}

.journey-line {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: calc(8.333333% + 40px);
  left: calc(8.333333% + 40px);
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 53, 61, 0.22), rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.12) 80%, rgba(255, 53, 61, 0.22));
}

.journey-line i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #b60f18, #ff353d 48%, #ff757a);
  box-shadow: 0 0 18px rgba(255, 53, 61, 0.45);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.65s var(--ease) 0.16s;
}

.journey.is-visible .journey-line i {
  transform: scaleX(1);
}

.journey-line span {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid #ff9b9f;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(255, 53, 61, 0.12), 0 0 22px rgba(255, 53, 61, 0.8);
  opacity: 0;
  transform: translate(-50%, -50%);
}

.journey.is-visible .journey-line span {
  opacity: 1;
}

.journey-edge {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 76px;
  min-height: 48px;
  border: 1px solid rgba(255, 53, 61, 0.26);
  border-radius: 12px;
  align-content: center;
  gap: 2px;
  padding: 0 10px;
  backdrop-filter: blur(12px);
  background: rgba(12, 12, 13, 0.94);
  transform: translateY(-50%);
}

.journey-edge--start {
  left: 0;
  text-align: left;
}

.journey-edge--finish {
  right: 0;
  text-align: right;
}

.journey-edge small {
  color: var(--red);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.journey-edge b {
  color: #dedad7;
  font-size: 10px;
  font-weight: 650;
}

.journey-step {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: 1fr 64px 1fr;
  min-width: 0;
  min-height: 570px;
  opacity: 0;
  translate: 0 22px;
  transition:
    opacity 0.72s var(--ease) var(--step-delay, 0s),
    translate 0.72s var(--ease) var(--step-delay, 0s);
}

.journey-step.is-active {
  z-index: 6;
}

.journey.is-visible .journey-step {
  opacity: 1;
  translate: 0 0;
}

.qa-mode .journey-step {
  opacity: 1 !important;
  translate: 0 0 !important;
  transition: none !important;
}

.journey-card-shell {
  position: relative;
  min-width: 0;
}

.journey-card {
  position: relative;
  z-index: 2;
  min-height: 214px;
  overflow: visible;
  padding: 25px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 53, 61, 0.055), transparent 42%),
    rgba(18, 18, 19, 0.96);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s var(--ease), border-color 0.4s ease, box-shadow 0.5s ease;
}

.journey-art {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: grid;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(255, 84, 91, 0.3);
  border-radius: 20px;
  color: #ff656b;
  opacity: 0;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 86, 93, 0.22), transparent 42%),
    linear-gradient(145deg, rgba(35, 18, 20, 0.98), rgba(13, 13, 14, 0.98));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.42), 0 0 28px rgba(255, 53, 61, 0.08);
  place-items: center;
  pointer-events: none;
  transition:
    left 0.7s cubic-bezier(0.16, 1.22, 0.3, 1),
    right 0.7s cubic-bezier(0.16, 1.22, 0.3, 1),
    opacity 0.34s ease,
    transform 0.7s cubic-bezier(0.16, 1.22, 0.3, 1);
}

.journey-art::before {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 15px;
  content: "";
}

.journey-art svg {
  position: relative;
  z-index: 1;
  width: 39px;
  height: 39px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.journey-art--left {
  left: 12px;
  transform: translateY(-50%) rotate(-28deg) scale(0.58);
}

.journey-art--right {
  right: 12px;
  transform: translateY(-50%) rotate(28deg) scale(0.58);
  transition-delay: 0.04s;
}

.journey-card-shell:hover .journey-art--left,
.journey-step.is-active .journey-art--left {
  left: -34px;
  opacity: 1;
  transform: translateY(-50%) rotate(-13deg) scale(1);
}

.journey-card-shell:hover .journey-art--right,
.journey-step.is-active .journey-art--right {
  right: -34px;
  opacity: 1;
  transform: translateY(-50%) rotate(13deg) scale(1);
}

.journey-card::before {
  position: absolute;
  top: -1px;
  right: 20%;
  left: 20%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 70, 77, 0.72), transparent);
  box-shadow: 0 0 12px rgba(255, 53, 61, 0.35);
}

.journey-card::after {
  position: absolute;
  left: 50%;
  width: 1px;
  height: 25px;
  content: "";
  background: linear-gradient(var(--line-bright), rgba(255, 53, 61, 0.5));
}

.journey-step--top .journey-card-shell {
  grid-row: 1;
  align-self: end;
  margin-bottom: 22px;
}

.journey-step--top .journey-card::after {
  top: 100%;
}

.journey-step--bottom .journey-card-shell {
  grid-row: 3;
  align-self: start;
  margin-top: 22px;
}

.journey-step--bottom .journey-card::after {
  bottom: 100%;
  background: linear-gradient(rgba(255, 53, 61, 0.5), var(--line-bright));
}

.journey-card h3 {
  margin: 0 0 16px;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.journey-card p {
  margin: 0;
  color: #9d9996;
  font-size: 13px;
  line-height: 1.58;
}

.journey-card small {
  display: block;
  margin-top: 19px;
  color: #ff6268;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.45;
}

.journey-node {
  position: relative;
  z-index: 3;
  display: grid;
  grid-row: 2;
  width: 52px;
  height: 52px;
  align-self: center;
  justify-self: center;
  border: 1px solid rgba(255, 53, 61, 0.52);
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 36% 28%, #ff545b, #bd111a 58%, #58080d);
  box-shadow: 0 0 0 8px rgba(10, 10, 11, 0.92), 0 0 26px rgba(255, 53, 61, 0.24);
  place-items: center;
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
}

.journey-node b {
  font-size: 11px;
  letter-spacing: 0.05em;
}

.journey-step.is-active .journey-card {
  border-color: rgba(255, 53, 61, 0.3);
  box-shadow: 0 30px 65px rgba(0, 0, 0, 0.34), 0 0 34px rgba(255, 53, 61, 0.055);
  transform: translateY(-5px);
}

.journey-step.is-active .journey-node {
  box-shadow: 0 0 0 8px rgba(10, 10, 11, 0.92), 0 0 34px rgba(255, 53, 61, 0.5);
  transform: scale(1.12);
}

.journey-step.is-active .journey-card {
  background:
    radial-gradient(circle at 50% 0, rgba(255, 53, 61, 0.12), transparent 54%),
    linear-gradient(145deg, rgba(255, 53, 61, 0.08), transparent 48%),
    rgba(18, 18, 19, 0.98);
}

@media (max-width: 1000px) {
  .journey {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    width: 100%;
    min-height: 0;
    min-width: 0;
    max-width: 100%;
    margin-top: 54px;
    padding: 44px 0 44px 72px;
  }

  .journey-line {
    top: var(--journey-line-start, 0px);
    right: auto;
    bottom: auto;
    left: 25px;
    width: 2px;
    height: var(--journey-line-length, 100%);
    background: linear-gradient(rgba(255, 53, 61, 0.22), rgba(255, 255, 255, 0.12) 18%, rgba(255, 255, 255, 0.12) 82%, rgba(255, 53, 61, 0.22));
  }

  .journey-line i {
    background: linear-gradient(#b60f18, #ff353d 48%, #ff757a);
    transform: scaleY(0);
    transform-origin: top;
  }

  .journey.is-visible .journey-line i {
    transform: scaleY(1);
  }

  .journey-line span {
    top: 0;
    left: 50%;
  }

  .journey.is-visible .journey-line span {
    top: 0;
  }

  .journey-edge {
    top: auto;
    left: 25px;
    width: auto;
    min-height: 28px;
    padding: 0 9px;
    transform: translateX(-50%);
    text-align: center;
  }

  .journey-edge b {
    display: none;
  }

  .journey-edge--start {
    top: 0;
    right: auto;
    transform: translate(-50%, -50%);
  }

  .journey-edge--finish {
    right: auto;
    bottom: 0;
    transform: translate(-50%, 50%);
  }

  .journey-step {
    display: block;
    width: auto;
    min-height: 0;
    min-width: 0;
    max-width: none;
    justify-self: stretch;
  }

  .journey-step--top .journey-card-shell,
  .journey-step--bottom .journey-card-shell {
    width: auto;
    min-height: 0;
    min-width: 0;
    max-width: 100%;
    margin: 0 24px 0 0;
  }

  .journey-step--top .journey-card,
  .journey-step--bottom .journey-card {
    width: 100%;
    min-height: 0;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .journey-art {
    width: 60px;
    height: 60px;
    border-radius: 17px;
  }

  .journey-art svg {
    width: 33px;
    height: 33px;
  }

  .journey-card-shell:hover .journey-art--left,
  .journey-step.is-active .journey-art--left {
    left: -25px;
  }

  .journey-card-shell:hover .journey-art--right,
  .journey-step.is-active .journey-art--right {
    right: -25px;
  }

  .journey-card p,
  .journey-card small {
    overflow-wrap: anywhere;
  }

  .journey-card::after {
    display: none;
  }

  .journey-node {
    position: absolute;
    top: 24px;
    left: -72px;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 640px) {
  .journey {
    padding-left: 60px;
  }

  .journey-line,
  .journey-edge {
    left: 19px;
  }

  .journey-node {
    left: -60px;
    width: 42px;
    height: 42px;
  }

  .journey-card {
    padding: 23px 20px;
  }

  .journey-card h3 {
    font-size: 21px;
  }

  .journey-card p {
    font-size: 14px;
  }

  .journey-card small {
    font-size: 11px;
  }
}

/* Guarantees */

.guarantees {
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(255, 53, 61, 0.025), transparent);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.guarantee-card {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 28px;
  min-height: 220px;
  padding: 37px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
  transition: background 0.35s ease;
}

.guarantee-card:hover {
  background: rgba(255, 53, 61, 0.035);
}

.guarantee-icon {
  display: grid;
  width: 65px;
  height: 65px;
  border: 1px solid rgba(255, 53, 61, 0.18);
  border-radius: 50%;
  color: var(--red);
  background: var(--red-soft);
  place-items: center;
}

.guarantee-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guarantee-card small {
  display: block;
  margin-bottom: 30px;
  color: var(--red);
  font-size: 9px;
}

.guarantee-card h3 {
  margin: 0 0 11px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.guarantee-card p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

/* Contact */

.contact {
  padding-top: 100px;
  padding-bottom: 46px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  padding: 88px 70px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(115deg, rgba(116, 9, 14, 0.78), rgba(24, 7, 9, 0.93) 50%, rgba(8, 8, 8, 0.98)),
    #1b080a;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
}

.contact-grid {
  position: absolute;
  inset: 0;
  opacity: 0.19;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, #000, transparent 74%);
}

.contact-orb {
  position: absolute;
  top: 50%;
  right: -140px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 53, 61, 0.18);
  border-radius: 50%;
  transform: translateY(-50%);
}

.contact-orb::before,
.contact-orb::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 53, 61, 0.18);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.contact-orb::before { width: 420px; height: 420px; }
.contact-orb::after {
  width: 230px;
  height: 230px;
  background: radial-gradient(circle, rgba(255, 53, 61, 0.45), rgba(255, 53, 61, 0.04) 55%, transparent 70%);
  box-shadow: 0 0 100px rgba(255, 53, 61, 0.16);
}

.contact-label,
.contact-card h2,
.contact-card > p,
.contact-card > a,
.response-time {
  position: relative;
  z-index: 2;
}

.contact-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  color: #d7d3d1;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card h2 {
  max-width: 850px;
  font-size: clamp(49px, 6vw, 83px);
}

.contact-card > p {
  max-width: 650px;
  margin: 28px 0 37px;
  color: #aaa3a1;
  font-size: 14px;
  line-height: 1.75;
}

.button--light {
  color: #171717;
  background: #f5f3f0;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25), inset 0 1px #fff;
}

.button--light:hover {
  color: #fff;
  background: var(--red);
}

.button--xlarge {
  min-height: 66px;
  padding: 0 28px;
  border-radius: 12px;
  font-size: 14px;
}

.button--xlarge svg {
  width: 19px;
  height: 19px;
  transition: transform 0.3s var(--ease);
}

.button--xlarge:hover svg {
  transform: translate(4px, -4px);
}

.response-time {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: #746e6e;
  font-size: 9px;
}

.response-time i {
  color: var(--red);
  font-style: normal;
}

/* Footer */

.site-footer {
  padding-top: 38px;
}

.footer-top {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 50px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand--footer .brand-copy small {
  max-width: 210px;
  font-size: 8px;
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 11px;
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-telegram {
  display: grid;
  justify-self: end;
  grid-template-columns: 1fr auto;
  text-align: right;
}

.footer-telegram span {
  grid-column: 1 / -1;
  color: var(--muted-2);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-telegram b {
  margin-top: 2px;
  font-size: 13px;
}

.footer-telegram i {
  align-self: end;
  margin: 0 0 1px 8px;
  color: var(--red);
  font-size: 10px;
  font-style: normal;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 28px;
  color: #52504f;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.footer-bottom a {
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

/* Larger information cards */

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 380px;
  padding: 38px;
}

.service-card h3 {
  margin-top: 30px;
  font-size: 32px;
}

.service-card > p {
  max-width: 500px;
  font-size: 16px;
}

.service-card li {
  font-size: 13px;
}

.process-track {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-line {
  display: none;
}

.process-step,
.process-step:first-of-type {
  min-height: 270px;
  border-top: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 0;
  background: rgba(255, 255, 255, 0.01);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.process-step:hover {
  border-color: rgba(255, 53, 61, 0.2);
  background: rgba(255, 53, 61, 0.035);
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 30px 26px 21px;
}

.step-heading > span {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 53, 61, 0.35);
  border-radius: 50%;
  color: var(--red);
  background: rgba(255, 53, 61, 0.08);
  font-size: 11px;
  font-weight: 750;
  place-items: center;
}

.step-heading b {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.process-track .step-content,
.process-track .process-step.active .step-content {
  max-height: none;
  padding: 0 26px 30px 79px;
  opacity: 1;
}

.process-track .step-content p {
  font-size: 14px;
  line-height: 1.65;
}

.process-track .step-content small {
  margin-top: 18px;
  font-size: 11px;
}

/* Readability pass: primary information should never feel like fine print. */

.brand-copy b { font-size: 15px; }
.brand-copy small { font-size: 10px; }
.desktop-nav a { font-size: 13px; }
.button { font-size: 14px; }
.button--header { font-size: 13px; }
.eyebrow { font-size: 12px; }
.hero-lead { font-size: 18px; }
.hero-proof p { font-size: 12px; }
.hero-proof b { font-size: 13px; }
.hero-metrics strong { font-size: 27px; }
.hero-metrics span { font-size: 13px; }
.metric-caption b { font-size: 14px; }
.marquee span { font-size: 13px; }
.section-kicker { font-size: 12px; }
.section-heading > p { font-size: 16px; }

.service-number { font-size: 12px; }
.service-card > p { font-size: 16px; }
.service-card li { font-size: 12px; }
.service-result span { font-size: 10px; }
.service-result b { font-size: 13px; }

.case-meta span,
.case-meta small { font-size: 11px; }
.case-info > p { font-size: 14px; }
.case-tags span { font-size: 10px; }
.case-outcome small { font-size: 10px; }
.case-outcome span { font-size: 11px; }
.cases-note { font-size: 12px; }

.browser-bar i { font-size: 9px; }
.build-copy small { font-size: 8px; }
.build-copy button { font-size: 9px; }
.visual-chip--conversion small { font-size: 9px; }
.visual-chip--conversion b { font-size: 14px; }
.analytics-head small { font-size: 9px; }
.analytics-head b { font-size: 15px; }
.analytics-head > span { font-size: 9px; }
.analytics-kpis small { font-size: 8px; }
.analytics-kpis b { font-size: 16px; }
.analytics-kpis em { font-size: 8px; }
.analytics-panels > div > span { font-size: 9px; }
.visual-chip p b { font-size: 10px; }
.visual-chip p small { font-size: 8px; }
.phone-top { font-size: 8px; }
.agent-title b { font-size: 11px; }
.agent-title small { font-size: 8px; }
.agent-title em { font-size: 10px; }
.chat p { font-size: 9px; }
.chat-input { font-size: 9px; }

.process-step button b { font-size: 13px; }
.process-step button > span { font-size: 10px; }
.step-content p { font-size: 13px; }
.step-content small { font-size: 11px; }

.guarantee-card small { font-size: 11px; }
.guarantee-card h3 { font-size: 22px; }
.guarantee-card p { font-size: 14px; }
.contact-label { font-size: 12px; }
.contact-card > p { font-size: 16px; }
.response-time { font-size: 11px; }
.footer-nav a { font-size: 13px; }
.footer-telegram span { font-size: 10px; }
.footer-telegram b { font-size: 15px; }
.footer-bottom { font-size: 10px; }

/* Responsive */

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 17px;
  }

  .desktop-nav a {
    font-size: 10px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.85fr);
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(50px, 5.6vw, 68px);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    min-height: 460px;
  }

  .agent-demo-panel {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
    gap: 36px;
    padding: 48px 44px;
  }

  .case-visual {
    padding: 45px;
  }

  .case-info {
    padding: 40px;
  }

}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 90px 0;
  }

  .desktop-nav,
  .button--header {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    z-index: -1;
    top: 66px;
    right: 16px;
    left: 16px;
    display: flex;
    visibility: hidden;
    align-items: stretch;
    flex-direction: column;
    gap: 28px;
    padding: 37px 24px 24px;
    border: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    opacity: 0;
    background: rgba(10, 10, 10, 0.97);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.35s var(--ease), visibility 0.3s;
    backdrop-filter: blur(20px);
  }

  .mobile-menu.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu nav {
    display: grid;
  }

  .mobile-menu nav a {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
    font-weight: 650;
  }

  .mobile-menu nav span {
    color: var(--red);
    font-size: 9px;
  }

  .hero {
    padding-top: 160px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1,
  .hero-lead {
    margin-right: auto;
    margin-left: auto;
  }

  .hero h1 {
    font-size: clamp(49px, 9vw, 72px);
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .hero-visual {
    width: min(620px, 90%);
    margin: 50px auto 0;
  }

  .hero-metrics {
    margin-top: 100px;
  }

  .about-card {
    grid-template-columns: 1fr;
  }

  .portrait-card {
    order: -1;
    max-width: 480px;
    margin: 30px auto 0;
    border-left: 0;
  }

  .about-content {
    padding: 55px;
  }

  .case-card,
  .case-card--reverse {
    grid-template-columns: 1fr;
  }

  .case-card--reverse .case-info {
    order: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .case-info {
    min-height: 470px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-visual {
    min-height: 540px;
  }

  .process-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-step:nth-of-type(4) {
    border-left: 1px solid var(--line);
  }

  .process-step:nth-of-type(n + 4) {
    border-top: 1px solid var(--line);
  }

  .process-line {
    display: none;
  }

  .contact-card {
    min-height: 570px;
    padding: 70px 50px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .section {
    padding: 75px 0;
  }

  .site-header {
    top: 8px;
  }

  .nav-shell {
    min-height: 60px;
    padding-left: 14px;
    border-radius: 14px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    transform: scale(0.86);
  }

  .brand-copy b {
    font-size: 12px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .mobile-menu {
    top: 59px;
    right: 12px;
    left: 12px;
  }

  .hero {
    min-height: 0;
    padding-top: 132px;
    padding-bottom: 35px;
  }

  .hero::before {
    background-size: 52px 52px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(43px, 12.2vw, 62px);
    line-height: 1;
  }

  .hero-lead {
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    gap: 20px;
    margin-top: 29px;
  }

  .button--large {
    width: 100%;
  }

  .hero-proof {
    margin-top: 32px;
  }

  .hero-visual {
    width: 100%;
    margin-top: 58px;
  }

  .dashboard-card {
    padding: 18px;
    transform: none;
  }

  .metric-main {
    margin-top: 26px;
  }

  .metric-main strong {
    font-size: 42px;
  }

  .radial-chart {
    width: 61px;
    height: 61px;
  }

  .radial-chart::before {
    width: 49px;
    height: 49px;
  }

  .chart-area {
    height: 135px;
  }

  .metric-row article {
    padding: 9px;
  }

  .metric-row .metric-icon {
    display: none;
  }

  .metric-row em {
    display: none;
  }

  .floating-note--top {
    top: 68px;
    right: -4px;
  }

  .floating-note--bottom {
    bottom: -30px;
    left: 5px;
  }

  .floating-note {
    transform: scale(0.86);
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 90px;
  }

  .hero-metrics > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    min-height: 94px;
    padding: 20px 10px 18px 0;
  }

  .hero-metrics > div:not(:first-child) {
    padding-left: 12px;
  }

  .hero-metrics > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-metrics > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .hero-metrics strong {
    font-size: 19px;
  }

  .hero-metrics span {
    font-size: 8px;
  }

  .section-heading {
    display: block;
    margin-bottom: 38px;
  }

  .section-heading h2 {
    font-size: clamp(36px, 10.5vw, 48px);
  }

  .section-heading > p {
    margin-top: 22px;
    font-size: 12px;
  }

  .about {
    padding-top: 105px;
  }

  .about-card {
    min-height: 0;
  }

  .portrait-card {
    margin: 10px 10px 0;
    padding: 14px;
  }

  .portrait-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-content {
    padding: 40px 24px;
  }

  .quote-mark {
    top: 11px;
    right: 22px;
    font-size: 90px;
  }

  .about-content h3 {
    font-size: 29px;
  }

  .about-intro {
    font-size: 13px;
  }

  .principles article {
    grid-template-columns: 32px 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 435px;
  }

  .agent-demo {
    padding-top: 45px;
  }

  .agent-demo-panel {
    grid-template-columns: 1fr;
    gap: 55px;
    padding: 46px 34px;
  }

  .agent-demo-copy > p {
    max-width: 680px;
  }

  .agent-chat-window {
    width: min(100%, 500px);
  }

  .case-card {
    min-height: 0;
  }

  .case-info {
    min-height: 455px;
    padding: 33px 26px;
  }

  .case-info h3 {
    margin-top: 37px;
  }

  .case-visual {
    min-height: 420px;
    padding: 28px 18px;
  }

  .build-layout {
    min-height: 270px;
  }

  .build-copy {
    padding: 29px 17px;
  }

  .visual-chip--conversion {
    right: 16px;
    bottom: 18px;
  }

  .analytics-shell {
    grid-template-columns: 37px 1fr;
  }

  .analytics-shell aside {
    gap: 11px;
    padding: 11px 0;
  }

  .analytics-shell aside i {
    width: 9px;
    height: 9px;
  }

  .mini-logo,
  .analytics-shell aside span {
    width: 20px;
    height: 20px;
  }

  .analytics-main {
    padding: 16px;
  }

  .analytics-kpis {
    margin-top: 15px;
  }

  .analytics-kpis > div {
    padding: 8px;
  }

  .analytics-kpis b {
    font-size: 10px;
  }

  .analytics-kpis em {
    display: none;
  }

  .analytics-panels > div {
    height: 120px;
    padding: 9px;
  }

  .mini-bars {
    height: 75px;
    gap: 3px;
  }

  .mini-donut {
    width: 62px;
    height: 62px;
    margin-top: 14px;
  }

  .mini-donut::before {
    width: 40px;
    height: 40px;
  }

  .visual-chip--report {
    bottom: 17px;
    left: 16px;
  }

  .agent-phone {
    width: 230px;
    height: 390px;
  }

  .agent-orbit,
  .agent-orbit::before,
  .agent-orbit::after {
    width: 340px;
    height: 340px;
  }

  .agent-orbit::before { width: 270px; height: 270px; }
  .agent-orbit::after { width: 190px; height: 190px; }

  .visual-chip--lead {
    right: 16px;
    bottom: 25px;
  }

  .process-track {
    display: block;
    border-top: 1px solid var(--line);
  }

  .process-step,
  .process-step:first-of-type,
  .process-step:nth-of-type(4),
  .process-step:nth-of-type(n + 4) {
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .process-step button {
    padding: 19px 5px;
  }

  .process-step button i {
    display: block;
    transition: transform 0.3s ease;
  }

  .process-step.active button i {
    transform: rotate(45deg);
  }

  .step-content {
    padding-right: 5px;
    padding-left: 50px;
  }

  .process-step.active .step-content {
    padding-bottom: 22px;
  }

  .guarantee-grid {
    grid-template-columns: 1fr;
  }

  .guarantee-card {
    grid-template-columns: 54px 1fr;
    gap: 20px;
    min-height: 0;
    padding: 28px 22px;
  }

  .guarantee-icon {
    width: 50px;
    height: 50px;
  }

  .guarantee-icon svg {
    width: 24px;
    height: 24px;
  }

  .guarantee-card small {
    margin-bottom: 16px;
  }

  .contact {
    padding-top: 50px;
    padding-bottom: 25px;
  }

  .contact-card {
    min-height: 600px;
    padding: 52px 24px;
  }

  .contact-card h2 {
    font-size: clamp(41px, 12vw, 55px);
  }

  .contact-card > p {
    font-size: 12px;
  }

  .button--xlarge {
    width: 100%;
    padding: 0 14px;
    font-size: 12px;
  }

  .contact-orb {
    top: auto;
    right: -180px;
    bottom: -260px;
    transform: none;
  }

  .footer-top {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .footer-telegram {
    justify-self: auto;
    text-align: left;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }
}

@media (max-width: 1120px) {
  .portrait-side-label {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    gap: 0;
  }

  .hero-portrait {
    width: min(520px, 92%);
    margin-top: 55px;
  }

  .hero-profile-copy {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .agent-demo-panel {
    min-height: 0;
    padding: 34px 18px 28px;
    border-radius: 18px;
  }

  .agent-demo-copy h2 {
    font-size: clamp(35px, 11vw, 48px);
  }

  .agent-demo-copy > p {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.65;
  }

  .agent-benefits {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .agent-benefits div,
  .agent-benefits div + div {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .agent-benefits div:first-child {
    border-top: 0;
  }

  .agent-benefits b {
    font-size: 18px;
  }

  .agent-benefits span {
    font-size: 13px;
  }

  .agent-chat-header {
    grid-template-columns: 44px 1fr;
    min-height: 78px;
    padding: 13px 14px;
  }

  .agent-chat-avatar {
    width: 44px;
    height: 44px;
  }

  .agent-chat-brand {
    display: none;
  }

  .agent-chat-body {
    height: 400px;
    padding: 18px 13px;
  }

  .agent-message {
    max-width: 93%;
    padding: 13px 14px 23px;
    font-size: 13px;
  }

  .hero-portrait {
    width: 100%;
    margin-top: 48px;
  }

  .hero-portrait-card {
    padding: 9px;
    border-radius: 20px;
  }

  .hero-photo {
    border-radius: 14px;
  }

  .photo-status {
    right: 12px;
    bottom: 12px;
    padding: 9px 11px;
    font-size: 10px;
  }

  .hero-profile-copy {
    padding: 20px 12px 13px;
  }

  .profile-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
  }

  .profile-heading span {
    font-size: 19px;
  }

  .profile-heading small {
    font-size: 11px;
  }

  .hero-profile-copy p {
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-metrics span {
    font-size: 10px;
  }

  .section-kicker {
    font-size: 11px;
  }

  .section-heading > p,
  .service-card > p,
  .case-info > p,
  .guarantee-card p,
  .contact-card > p {
    font-size: 14px;
  }

  .service-card li {
    font-size: 12px;
  }

  .service-card {
    min-height: 0;
    padding: 29px 25px;
  }

  .service-card h3 {
    margin-top: 32px;
    font-size: 29px;
  }

  .process-track .step-content,
  .process-track .process-step.active .step-content {
    padding: 0 5px 28px 55px;
  }

  .step-heading {
    gap: 12px;
    padding: 22px 5px 16px;
  }

  .step-heading > span {
    width: 38px;
    height: 38px;
  }

  .step-heading b {
    font-size: 16px;
  }

  .step-content p {
    font-size: 13px;
  }

  .step-content small {
    font-size: 11px;
  }

  .button--xlarge {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 10px;
  }
}

@media (max-width: 640px) {
  .site-atmosphere::after {
    box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.68);
  }

  .atmosphere-grid {
    right: -52%;
    bottom: -18%;
    left: -52%;
    height: 70%;
    opacity: 0.18;
    background-size: 58px 58px;
    animation-duration: 28s;
  }

  .atmosphere-sparks {
    opacity: 0.14;
    background-size: 390px 360px, 430px 410px, 370px 450px, 460px 390px, 410px 470px;
  }

  .atmosphere-orb {
    filter: blur(62px);
  }

  .atmosphere-orb--one {
    top: -16%;
    right: -62%;
    width: 520px;
    height: 520px;
  }

  .atmosphere-orb--two {
    bottom: -20%;
    left: -72%;
    width: 560px;
    height: 560px;
  }

  .atmosphere-beam--one {
    top: 27%;
    width: 110vw;
    opacity: 0.22;
  }

  .atmosphere-beam--two,
  .cursor-glow {
    display: none;
  }
}

/* August 30 refinement: compact services, three-work portfolio and PNG process art. */

.brand-logo {
  display: block;
  width: clamp(112px, 9vw, 142px);
  height: 35px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.08));
}

.service-card {
  min-height: 320px;
  padding: 32px 34px;
}

.service-card h3 {
  margin-top: 28px;
}

.showcase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-tile {
  grid-column: auto;
}

.project-preview {
  height: 300px;
}

.project-caption {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 17px;
  min-height: 228px;
  padding: 27px 20px 30px;
}

.project-caption h3 {
  font-size: clamp(28px, 2.25vw, 35px);
}

.journey-art {
  width: 112px;
  height: 100px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: url("assets/process-icons.png");
  background-repeat: no-repeat;
  background-size: 400% 300%;
  box-shadow: none;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 14px rgba(255, 53, 61, 0.15));
}

.journey-art::before,
.journey-art svg {
  display: none;
}

.journey-art--01 { background-position: 0% 0%; }
.journey-art--02 { background-position: 33.333% 0%; }
.journey-art--03 { background-position: 66.666% 0%; }
.journey-art--04 { background-position: 100% 0%; }
.journey-art--05 { background-position: 0% 50%; }
.journey-art--06 { background-position: 33.333% 50%; }
.journey-art--07 { background-position: 66.666% 50%; }
.journey-art--08 { background-position: 100% 50%; }
.journey-art--09 { background-position: 0% 100%; }
.journey-art--10 { background-position: 33.333% 100%; }
.journey-art--11 { background-position: 66.666% 100%; }
.journey-art--12 { background-position: 100% 100%; }

.journey-art--left {
  left: 16px;
}

.journey-art--right {
  right: 16px;
}

.journey-card-shell:hover .journey-art--left,
.journey-step.is-active .journey-art--left {
  left: -58px;
  transform: translateY(-50%) rotate(-11deg) scale(1.08);
}

.journey-card-shell:hover .journey-art--right,
.journey-step.is-active .journey-art--right {
  right: -58px;
  transform: translateY(-50%) rotate(11deg) scale(1.08);
}

@media (max-width: 1120px) {
  .brand-logo {
    width: 112px;
    height: 31px;
  }

  .service-card {
    min-height: 310px;
  }
}

@media (max-width: 1000px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .project-preview {
    height: min(55vw, 440px);
  }

  .project-caption {
    min-height: 0;
  }

  .journey-step--top .journey-card,
  .journey-step--bottom .journey-card {
    overflow: visible;
  }

  .journey-art {
    width: 90px;
    height: 80px;
  }

  .journey-card-shell:hover .journey-art--left,
  .journey-step.is-active .journey-art--left {
    left: -42px;
  }

  .journey-card-shell:hover .journey-art--right,
  .journey-step.is-active .journey-art--right {
    right: -42px;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 105px;
    height: 29px;
  }

  .service-card {
    min-height: 0;
    padding: 28px 25px;
  }

  .project-preview {
    height: min(69vw, 355px);
  }

  .journey-art {
    width: 78px;
    height: 69px;
  }

  .journey-card-shell:hover .journey-art--left,
  .journey-step.is-active .journey-art--left {
    left: -34px;
  }

  .journey-card-shell:hover .journey-art--right,
  .journey-step.is-active .journey-art--right {
    right: -34px;
  }
}

/* Full portfolio expansion: persistent header, section rhythm, pricing and FAQ. */

.site-header.is-hidden {
  transform: none !important;
}

.desktop-nav {
  gap: clamp(10px, 1.15vw, 18px);
}

.desktop-nav a {
  font-size: 11px;
}

.brand-logo {
  width: clamp(104px, 8vw, 128px);
}

main > .section:not(.hero) {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent 3%, rgba(255, 255, 255, 0.09) 28%, rgba(255, 53, 61, 0.22) 50%, rgba(255, 255, 255, 0.09) 72%, transparent 97%) 1;
}

.section-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  padding: 5px 13px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(9, 9, 10, 0.76);
  box-shadow: inset 0 0 0 1px rgba(255, 53, 61, 0.06), 0 8px 24px rgba(0, 0, 0, 0.2);
}

.showcase::before {
  display: none;
}

.project-preview {
  height: auto;
  aspect-ratio: 16 / 9;
}

.project-preview img {
  object-fit: cover;
  object-position: center top;
}

.project-status {
  max-width: calc(100% - 34px);
  font-size: 9px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.project-caption {
  min-height: 214px;
}

.mid-cta {
  padding: 54px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.008), rgba(255, 53, 61, 0.025), rgba(255, 255, 255, 0.008));
}

.mid-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  min-height: 250px;
  overflow: hidden;
  padding: 46px 52px;
  border: 1px solid rgba(255, 53, 61, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 53, 61, 0.22), transparent 28%),
    linear-gradient(130deg, rgba(255, 53, 61, 0.1), transparent 42%),
    #111112;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.3);
}

.mid-cta-card::before {
  position: absolute;
  right: -80px;
  bottom: -160px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 56px rgba(255, 255, 255, 0.018), 0 0 0 112px rgba(255, 255, 255, 0.01);
}

.mid-cta-card > * {
  position: relative;
  z-index: 1;
}

.mid-cta-card > div > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mid-cta-card h2 {
  max-width: 720px;
  margin: 16px 0 0;
  font-size: clamp(38px, 4.3vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.mid-cta-card h2 em {
  color: var(--red);
  font-style: normal;
}

.journey-card,
.journey-step.is-active .journey-card {
  background:
    radial-gradient(circle at 50% 0, rgba(255, 53, 61, 0.11), transparent 54%),
    linear-gradient(145deg, rgba(255, 53, 61, 0.07), transparent 48%),
    #151516;
}

.journey-card-shell:hover .journey-art--left,
.journey-step.is-active .journey-art--left {
  left: -108px;
  opacity: 1;
  transform: translateY(-50%) rotate(-11deg) scale(1.12);
}

.journey-card-shell:hover .journey-art--right,
.journey-step.is-active .journey-art--right {
  right: -108px;
  opacity: 1;
  transform: translateY(-50%) rotate(11deg) scale(1.12);
}

.pricing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 13%, rgba(255, 53, 61, 0.075), transparent 30%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.01), transparent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pricing-card {
  position: relative;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  padding: 34px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 36%), #121213;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.2);
  transition: transform 0.45s var(--ease), border-color 0.35s ease, box-shadow 0.45s ease;
}

.pricing-card:hover {
  border-color: rgba(255, 53, 61, 0.34);
  box-shadow: 0 34px 82px rgba(0, 0, 0, 0.34), 0 0 42px rgba(255, 53, 61, 0.05);
  transform: translateY(-7px);
}

.pricing-card--accent {
  border-color: rgba(255, 53, 61, 0.46);
  background:
    radial-gradient(circle at 90% 0, rgba(255, 53, 61, 0.18), transparent 33%),
    linear-gradient(145deg, rgba(255, 53, 61, 0.09), transparent 45%),
    #151314;
}

.pricing-tag {
  width: fit-content;
  padding: 7px 11px;
  border: 1px solid rgba(255, 53, 61, 0.3);
  border-radius: 999px;
  color: #ff7176;
  background: rgba(255, 53, 61, 0.07);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 32px 0 12px;
  font-size: clamp(25px, 2.25vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.pricing-card > strong {
  color: #fff;
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.pricing-card > p {
  min-height: 73px;
  margin: 20px 0 0;
  color: #9d9997;
  font-size: 14px;
  line-height: 1.65;
}

.pricing-card ul {
  display: grid;
  gap: 13px;
  margin: 28px 0 32px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 18px;
  color: #c1bebb;
  font-size: 13px;
  line-height: 1.45;
}

.pricing-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--red);
  box-shadow: 0 0 9px rgba(255, 53, 61, 0.5);
}

.pricing-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid rgba(255, 53, 61, 0.34);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 53, 61, 0.06);
  font-size: 13px;
  font-weight: 720;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.pricing-card > a:hover {
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-2px);
}

.cost-calculator {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 58px;
  margin-top: 30px;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0 100%, rgba(255, 53, 61, 0.11), transparent 34%),
    #101011;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.calculator-label {
  color: var(--red);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.calculator-copy h3 {
  margin: 14px 0 16px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.calculator-copy > p {
  max-width: 470px;
  margin: 0;
  color: #999593;
  font-size: 14px;
  line-height: 1.7;
}

.calculator-total {
  display: grid;
  gap: 5px;
  margin: 34px 0 22px;
}

.calculator-total small {
  color: #747170;
  font-size: 11px;
}

.calculator-total strong {
  color: #fff;
  font-size: clamp(30px, 3.2vw, 44px);
  letter-spacing: -0.045em;
}

.calculator-controls {
  display: grid;
  align-content: center;
  gap: 34px;
}

.range-field {
  display: grid;
  gap: 15px;
}

.range-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #dedbd9;
  font-size: 14px;
  font-weight: 650;
}

.range-field b {
  display: grid;
  width: 38px;
  height: 30px;
  border: 1px solid rgba(255, 53, 61, 0.32);
  border-radius: 9px;
  color: #fff;
  background: rgba(255, 53, 61, 0.1);
  font-size: 13px;
  place-items: center;
}

.range-field input {
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 999px;
  outline: 0;
  appearance: none;
  background: linear-gradient(90deg, var(--red) var(--range-progress, 25%), #2a2929 var(--range-progress, 25%));
}

.range-field input::-webkit-slider-thumb {
  width: 21px;
  height: 21px;
  border: 4px solid #0f0f10;
  border-radius: 50%;
  appearance: none;
  background: #ff4c53;
  box-shadow: 0 0 0 1px #ff777c, 0 0 22px rgba(255, 53, 61, 0.6);
  cursor: grab;
}

.range-field input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 4px solid #0f0f10;
  border-radius: 50%;
  background: #ff4c53;
  box-shadow: 0 0 0 1px #ff777c, 0 0 22px rgba(255, 53, 61, 0.6);
  cursor: grab;
}

.range-field > small {
  display: flex;
  justify-content: space-between;
  color: #615f5e;
  font-size: 10px;
}

.range-field i {
  font-style: normal;
}

.calculator-controls fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.calculator-controls legend {
  margin-bottom: 14px;
  color: #dedbd9;
  font-size: 14px;
  font-weight: 650;
}

.calculator-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calculator-options label {
  position: relative;
  cursor: pointer;
}

.calculator-options input {
  position: absolute;
  opacity: 0;
}

.calculator-options label > span {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #aaa7a5;
  background: #151516;
  font-size: 12px;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.calculator-options label > span::before {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border: 1px solid #555251;
  border-radius: 5px;
  content: "";
}

.calculator-options label > span small {
  margin-left: auto;
  color: #6e6b69;
  font-size: 9px;
  white-space: nowrap;
}

.calculator-options input:checked + span {
  border-color: rgba(255, 53, 61, 0.48);
  color: #fff;
  background: rgba(255, 53, 61, 0.09);
}

.calculator-options input:checked + span::before {
  border-color: var(--red);
  background: var(--red);
  box-shadow: inset 0 0 0 4px #151516, 0 0 14px rgba(255, 53, 61, 0.4);
}

.calculator-options input:focus-visible + span {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.guarantee-card {
  min-height: 0;
  align-items: start;
  padding: 30px 34px;
  background: #121213;
}

.guarantee-card:hover {
  background: #171415;
}

.faq {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 53, 61, 0.06), transparent 28%),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.009), transparent);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(0, 1.24fr);
  align-items: start;
  gap: 80px;
}

.faq-heading {
  position: sticky;
  top: 120px;
}

.faq-heading h2 {
  margin: 22px 0 0;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.faq-heading h2 em {
  color: var(--red);
  font-style: normal;
}

.faq-heading > p {
  max-width: 430px;
  margin: 26px 0 0;
  color: #969290;
  font-size: 15px;
  line-height: 1.7;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.006);
  transition: background 0.3s ease;
}

.faq-list details[open] {
  background: rgba(255, 53, 61, 0.035);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  gap: 20px;
  min-height: 92px;
  padding: 0 24px;
  color: #ece9e7;
  font-size: 18px;
  font-weight: 660;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 53, 61, 0.28);
  border-radius: 50%;
  background: rgba(255, 53, 61, 0.06);
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1px;
  content: "";
  background: var(--red);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-list details p {
  max-width: 670px;
  margin: 0;
  padding: 0 72px 28px 24px;
  color: #999694;
  font-size: 14px;
  line-height: 1.75;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 10% 0, rgba(255, 53, 61, 0.07), transparent 26%),
    #090909;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 0.72fr 1fr 1fr;
  gap: 54px;
  padding-top: 58px;
  padding-bottom: 48px;
}

.footer-identity {
  display: grid;
  align-content: start;
}

.footer-logo img {
  display: block;
  width: 150px;
  height: auto;
}

.footer-identity p {
  max-width: 290px;
  margin: 22px 0 30px;
  color: #8d8987;
  font-size: 13px;
  line-height: 1.65;
}

.footer-identity small {
  color: #5f5c5a;
  font-size: 10px;
}

.footer-links,
.footer-contacts,
.footer-legal {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}

.footer-links > span,
.footer-contacts > span,
.footer-legal > span {
  margin-bottom: 7px;
  color: #656260;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a,
.footer-contacts a,
.footer-legal a {
  color: #c9c5c2;
  font-size: 12px;
  line-height: 1.45;
  transition: color 0.25s ease;
}

.footer-contacts a {
  color: #efebe8;
}

.footer-links a:hover,
.footer-contacts a:hover,
.footer-legal a:hover {
  color: var(--red);
}

.footer-bottom {
  align-items: center;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
}

.legal-page {
  min-height: 100vh;
  padding: 70px 24px;
  background:
    radial-gradient(circle at 80% 0, rgba(255, 53, 61, 0.12), transparent 32%),
    #090909;
}

.legal-page main {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #121213;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}

.legal-logo {
  display: block;
  width: 150px;
  margin: 42px 0 46px;
}

.legal-back {
  color: #9d9997;
  font-size: 13px;
}

.legal-back:hover,
.legal-page a {
  color: #ff5e64;
}

.legal-page h1 {
  margin: 22px 0 20px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.legal-lead {
  max-width: 680px;
  color: #aaa6a3;
  font-size: 17px;
  line-height: 1.7;
}

.legal-page section {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.legal-page section p {
  margin: 0;
  color: #989492;
  font-size: 14px;
  line-height: 1.75;
}

.legal-page main > small {
  display: block;
  margin-top: 46px;
  color: #5f5c5a;
  font-size: 10px;
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 10px;
  }

  .desktop-nav a {
    font-size: 9px;
  }

  .button--header {
    padding: 0 15px;
    font-size: 11px;
  }

  .journey-card-shell:hover .journey-art--left,
  .journey-step.is-active .journey-art--left {
    left: -78px;
  }

  .journey-card-shell:hover .journey-art--right,
  .journey-step.is-active .journey-art--right {
    right: -78px;
  }

  .pricing-card {
    min-height: 585px;
    padding: 30px 24px 25px;
  }

  .cost-calculator {
    gap: 36px;
    padding: 40px 34px;
  }

  .footer-main {
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .mid-cta-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-height: 0;
  }

  .pricing-card > p {
    min-height: 0;
  }

  .cost-calculator,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    gap: 48px;
  }

  .faq-heading {
    position: static;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px 34px;
  }
}

@media (max-width: 640px) {
  .section-kicker {
    min-height: 28px;
    padding: 4px 11px;
    font-size: 9px;
  }

  .project-caption {
    min-height: 0;
  }

  .project-status {
    top: 12px;
    right: 12px;
    min-height: 28px;
    padding: 0 10px;
    font-size: 8px;
  }

  .mid-cta {
    padding: 35px 0;
  }

  .mid-cta-card {
    min-height: 0;
    padding: 34px 25px;
    border-radius: 20px;
  }

  .mid-cta-card h2 {
    font-size: 39px;
  }

  .mid-cta-card .button {
    width: 100%;
  }

  .journey-card-shell:hover .journey-art--left,
  .journey-step.is-active .journey-art--left {
    left: -57px;
  }

  .journey-card-shell:hover .journey-art--right,
  .journey-step.is-active .journey-art--right {
    right: -57px;
  }

  .pricing-card {
    padding: 27px 23px 23px;
  }

  .pricing-card h3 {
    font-size: 27px;
  }

  .pricing-card > strong {
    font-size: 34px;
  }

  .cost-calculator {
    gap: 42px;
    margin-top: 22px;
    padding: 31px 22px;
    border-radius: 19px;
  }

  .calculator-options {
    grid-template-columns: 1fr;
  }

  .calculator-copy .button {
    width: 100%;
  }

  .faq-heading h2 {
    font-size: 42px;
  }

  .faq-list summary {
    min-height: 80px;
    padding: 0 6px;
    font-size: 15px;
  }

  .faq-list details p {
    padding: 0 42px 25px 6px;
    font-size: 13px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 44px;
    padding-bottom: 38px;
  }

  .footer-identity p {
    margin-bottom: 18px;
  }

  .footer-bottom {
    align-items: flex-start;
    gap: 12px;
  }

  .legal-page {
    padding: 20px 12px;
  }

  .legal-page main {
    padding: 30px 22px;
    border-radius: 18px;
  }
}

@media (hover: none) {
  .journey-step:not(.is-active) .journey-art--left {
    left: 16px;
    opacity: 0;
    transform: translateY(-50%) rotate(-28deg) scale(0.58);
  }

  .journey-step:not(.is-active) .journey-art--right {
    right: 16px;
    opacity: 0;
    transform: translateY(-50%) rotate(28deg) scale(0.58);
  }

  .journey-step:not(.is-active) .journey-card {
    border-color: var(--line);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.2);
    transform: none;
  }

  .journey-step:not(.is-active) .journey-node {
    box-shadow: 0 0 0 8px rgba(10, 10, 11, 0.92), 0 0 26px rgba(255, 53, 61, 0.24);
    transform: none;
  }
}

/* Clear secondary hero action */
.hero-work-link {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 15px;
  padding: 0 10px 0 23px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 53, 61, 0.07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 14px 32px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  font-weight: 750;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.hero-work-link span {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ff4e55, #cf121b);
  box-shadow: 0 9px 24px rgba(229, 31, 40, 0.3);
  place-items: center;
  transition: transform 0.4s var(--ease), box-shadow 0.35s ease;
}

.hero-work-link:hover {
  border-color: rgba(255, 53, 61, 0.56);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 53, 61, 0.13));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 18px 38px rgba(0, 0, 0, 0.26), 0 0 26px rgba(255, 53, 61, 0.09);
  transform: translateY(-2px);
}

.hero-work-link:hover span {
  box-shadow: 0 11px 28px rgba(229, 31, 40, 0.46);
  transform: rotate(-45deg) scale(1.06);
}

/* Process cards are animated by the moving point only. */
.journey-card-shell {
  pointer-events: none;
}

.journey-card {
  isolation: isolate;
  background: #151516;
}

.journey-card-bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 8, 9, 0.56), rgba(8, 8, 9, 0.18) 58%, rgba(8, 8, 9, 0.36)),
    linear-gradient(180deg, rgba(8, 8, 9, 0.15), rgba(8, 8, 9, 0.62)),
    url("assets/process-backgrounds.webp");
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 300% 200%;
  background-position: center, center, 0% 0%;
  transform: scale(1.055);
  transition: opacity 0.42s ease, transform 0.72s var(--ease);
}

.journey-step--scene-1 .journey-card-bg { background-position: center, center, 0% 0%; }
.journey-step--scene-2 .journey-card-bg { background-position: center, center, 50% 0%; }
.journey-step--scene-3 .journey-card-bg { background-position: center, center, 100% 0%; }
.journey-step--scene-4 .journey-card-bg { background-position: center, center, 0% 100%; }
.journey-step--scene-5 .journey-card-bg { background-position: center, center, 50% 100%; }
.journey-step--scene-6 .journey-card-bg { background-position: center, center, 100% 100%; }

.journey-card > h3,
.journey-card > p {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}

.journey-node,
.journey-step.is-active .journey-node {
  animation: none;
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.62s ease, border-color 0.62s ease;
}

.journey-step.is-active .journey-card {
  background: #151516;
}

.journey-step.is-active .journey-card-bg {
  opacity: 1;
  transform: scale(1);
}

.journey-step.is-active .journey-card p {
  color: #eee9e5;
}

@media (max-width: 620px) {
  .hero-actions {
    align-items: stretch;
  }

  .hero-work-link {
    justify-content: space-between;
  }
}

/* August 30 polish: tighter service cards, compact portfolio CTA and a clearer estimator. */

.service-card {
  min-height: 272px;
  padding: 28px 32px;
}

.service-card h3 {
  margin-top: 22px;
  font-size: clamp(26px, 2.25vw, 33px);
}

.service-card > p {
  margin-top: 16px;
}

.portfolio-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.portfolio-cta .button {
  min-width: 286px;
}

.project-tile:hover .project-open,
.project-tile:focus-within .project-open {
  border-color: transparent;
  background: linear-gradient(135deg, #ff454c, #e51f28);
  box-shadow: 0 12px 28px rgba(229, 31, 40, 0.42), 0 0 22px rgba(255, 53, 61, 0.28);
  opacity: 1;
  transform: translate(0, 0) scale(1.08);
}

.agent-message--bot.is-typing-message {
  border-color: rgba(255, 53, 61, 0.24);
  box-shadow: inset 0 0 24px rgba(255, 53, 61, 0.035);
}

.design-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.design-options label {
  position: relative;
  cursor: pointer;
}

.design-options input {
  position: absolute;
  opacity: 0;
}

.design-options label > span {
  display: grid;
  min-height: 66px;
  align-content: center;
  gap: 4px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #aaa7a5;
  background: #151516;
  font-size: 12px;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.design-options label > span::before {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 16px;
  height: 16px;
  border: 1px solid #555251;
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.design-options label > span small {
  color: #6e6b69;
  font-size: 9px;
}

.design-options input:checked + span {
  border-color: rgba(255, 53, 61, 0.48);
  color: #fff;
  background: rgba(255, 53, 61, 0.09);
}

.design-options input:checked + span::before {
  border-color: var(--red);
  background: var(--red);
  box-shadow: inset 0 0 0 4px #151516, 0 0 14px rgba(255, 53, 61, 0.4);
}

.design-options input:focus-visible + span {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.footer-bottom {
  justify-content: flex-end;
}

.desktop-nav {
  gap: clamp(9px, 1vw, 16px);
}

.desktop-nav a {
  font-size: 13px;
}

.faq-layout {
  grid-template-columns: minmax(390px, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
}

.faq-title-line {
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 8px;
  }

  .desktop-nav a {
    font-size: 12px;
  }

  .service-card {
    min-height: 285px;
  }

  .faq-layout {
    grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
    gap: 54px;
  }
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 640px) {
  .service-card {
    min-height: 0;
    padding: 25px 23px;
  }

  .service-card h3 {
    font-size: 26px;
  }

  .portfolio-cta {
    margin-top: 26px;
  }

  .portfolio-cta .button {
    width: 100%;
    min-width: 0;
  }

  .design-options {
    grid-template-columns: 1fr;
  }

  .design-options label > span {
    min-height: 56px;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    translate: none;
    animation: none !important;
  }
}

@supports not (backdrop-filter: blur(10px)) {
  .nav-shell,
  .mobile-menu,
  .floating-note,
  .visual-chip {
    background: #111112;
  }
}

/* Touch devices: keep the red/black design without full-screen GPU filters. */
.reveal.is-settled {
  animation: none;
  opacity: 1;
  translate: 0 0;
}

@media (max-width: 1000px), (pointer: coarse) {
  .site-atmosphere {
    background: radial-gradient(ellipse at 100% 0, #281015, transparent 65%), #080809;
  }

  .site-atmosphere > *,
  .site-atmosphere::before,
  .site-atmosphere::after,
  .noise,
  .cursor-glow,
  .hero-portrait-aura,
  .hero-photo-sheen,
  .agent-chat-stage::before {
    display: none;
  }

  /* Sticky glass otherwise re-rasterizes the page under it while scrolling. */
  .nav-shell,
  .mobile-menu,
  .project-status,
  .project-open,
  .photo-status {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: #111113;
  }

  .hero-portrait { perspective: none; }
  .hero-portrait-card {
    transform: none;
    transform-style: flat;
    will-change: auto;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  }

  .hero-portrait-card:hover,
  .hero-portrait-card:hover .hero-photo img,
  .project-tile:hover .project-preview img {
    transform: none;
    filter: none;
  }

  .hero-glow,
  .services-glow,
  .contact-orb { display: none; }

  .brand-logo { filter: none; }
  .status-dot::after, .live-badge i::after { animation: none; }
  .agent-chat-body { overscroll-behavior: contain; }
  .agent-chat-window { contain: layout paint; }
  .marquee-track { animation-duration: 62s; }
  .journey-card-bg { transform: none; transition: opacity 0.42s ease; }
  .journey-card, .journey-node { will-change: auto; }
}
