:root {
  --bg: #08030c;
  --bg-soft: #14051a;
  --surface: rgba(16, 8, 21, 0.88);
  --surface-strong: rgba(11, 7, 15, 0.96);
  --surface-card: rgba(255, 255, 255, 0.05);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.14);
  --accent: #f13de1;
  --accent-strong: #d715d2;
  --accent-soft: #6d38ff;
  --container: min(1240px, calc(100vw - 48px));
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 76, 231, 0.2), transparent 28%),
    radial-gradient(circle at 80% 8%, rgba(122, 48, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #150318 0%, #08030c 24%, #08030c 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent 96%);
  pointer-events: none;
  z-index: -1;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

.page-shell {
  overflow: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.display-title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(3.8rem, 7vw, 7.6rem);
  font-style: italic;
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.section-title span,
.portfolio-bio span,
.hero-note span {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(28, 10, 34, 0.72), rgba(28, 10, 34, 0.16));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img,
.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.88);
  transition: color 120ms ease, opacity 120ms ease;
}

.site-nav a::after {
  display: none;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
  opacity: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 74px;
  padding: 0 34px;
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f657d8 0%, #c22ad8 52%, #9f1fe6 100%);
  box-shadow: 0 18px 40px rgba(215, 21, 210, 0.22);
  transition: box-shadow 140ms ease, filter 140ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 22px 44px rgba(215, 21, 210, 0.24);
  filter: brightness(1.04);
}

.button-header {
  min-height: 64px;
  padding: 0 26px;
  font-size: 0.92rem;
  font-weight: 700;
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: #1fa4ef;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.button-icon svg {
  width: 20px;
  height: 20px;
}

.hero-section {
  position: relative;
  isolation: isolate;
  padding: 18px 0 12px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 4, 15, 0.88) 0%, rgba(10, 4, 15, 0.45) 35%, rgba(10, 4, 15, 0.2) 65%, rgba(10, 4, 15, 0.8) 100%),
    url("./assets/hero/hero-bg.png") center top / cover no-repeat;
  z-index: -1;
}

.hero-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  align-items: start;
}

.hero-copy {
  position: relative;
  padding-top: 28px;
  max-width: 670px;
}

.hero-kicker {
  margin: 0 0 16px;
  max-width: 12ch;
  font-size: clamp(1.34rem, 2.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  margin-bottom: 6px;
  margin-left: 182px;
  border-radius: 0;
  color: var(--text);
  font-family: "Oswald", sans-serif;
  font-size: 1.62rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(90deg, #f34fe6, #6e30ff);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%, 4% 50%);
}

.hero-copy .display-title {
  font-size: clamp(5.7rem, 9vw, 8.55rem);
  line-height: 0.9;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.metric-card {
  position: relative;
  width: min(100%, 270px);
  min-height: 118px;
  padding: 20px 88px 20px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background:
    radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(252, 106, 234, 0.94), rgba(185, 55, 221, 0.9));
}

.metric-card strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.55rem, 4vw, 3.8rem);
  font-style: italic;
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

.metric-card span {
  display: block;
  max-width: 9ch;
  margin-top: 4px;
  font-size: clamp(1.08rem, 2vw, 1.56rem);
  line-height: 0.95;
}

.metric-card i {
  position: absolute;
  right: -14px;
  top: 50%;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  transform: translateY(-50%);
  background:
    radial-gradient(circle at 40% 35%, #ffffff, #f0edf7 56%, #d0ccd6 100%);
  box-shadow:
    inset 0 0 0 3px rgba(0, 0, 0, 0.06),
    0 14px 30px rgba(0, 0, 0, 0.24);
}

.metric-card i::before {
  content: "♥";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #a858d7;
  font-size: 1.95rem;
}

.metric-card-wide {
  width: min(100%, 312px);
}

.hero-products {
  position: relative;
  width: min(100%, 560px);
  min-height: 316px;
  margin-top: 16px;
}

.card-stack {
  position: absolute;
  width: clamp(166px, 18vw, 226px);
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.28));
}

.card-stack-left {
  left: 10px;
  bottom: 18px;
  transform: rotate(-3deg);
}

.card-stack-center {
  left: 154px;
  bottom: 34px;
  width: clamp(190px, 20vw, 252px);
  z-index: 2;
}

.card-stack-right {
  left: 298px;
  bottom: 32px;
  transform: rotate(2deg);
}

.button-floating {
  position: absolute;
  left: 144px;
  bottom: 2px;
  min-height: 68px;
  z-index: 3;
}

.hero-stage {
  position: relative;
  min-height: 768px;
  overflow: hidden;
}

.hero-person {
  position: absolute;
  right: -156px;
  bottom: -34px;
  width: min(780px, 53vw);
  max-width: none;
  transform: translateY(44px);
}

.hero-ctr {
  position: absolute;
  top: 74px;
  right: 32px;
  text-align: left;
  z-index: 2;
}

.hero-ctr strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: clamp(4.2rem, 6.4vw, 6.2rem);
  font-style: italic;
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-ctr span {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.5rem, 1.8vw, 2.1rem);
  font-weight: 500;
}

.hero-note {
  position: absolute;
  right: 64px;
  bottom: 108px;
  width: min(344px, 92%);
  padding: 24px 28px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.44);
  font-size: clamp(1.14rem, 1.7vw, 1.72rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  backdrop-filter: blur(18px);
}

.portfolio-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.section-title {
  margin-bottom: 30px;
}

.portfolio-bio {
  max-width: 15ch;
  margin: 0;
  padding-left: 28px;
  border-left: 3px solid var(--accent);
  font-size: clamp(1.8rem, 2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.08;
}

.portfolio-controls {
  display: flex;
  gap: 18px;
  margin-top: 34px;
}

.circle-control,
.square-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.74);
  color: #fff;
  background: linear-gradient(180deg, #f14ae0 0%, #c92fd9 100%);
  box-shadow: 0 18px 36px rgba(215, 21, 210, 0.18);
  cursor: pointer;
}

.circle-control {
  width: 78px;
  height: 78px;
  border-radius: 50%;
}

.circle-control svg,
.square-control svg {
  width: 30px;
  height: 30px;
}

.portfolio-hint,
.reviews-hint,
.reviews-open-hint {
  margin: 16px 0 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.portfolio-copy .button-main {
  margin-top: 42px;
}

.portfolio-showcase {
  position: relative;
}

.portfolio-ctr {
  margin: 0 0 16px;
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.8rem, 3.5vw, 4rem);
  font-style: italic;
  line-height: 0.96;
  text-transform: uppercase;
}

.portfolio-frame {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 32px;
  background: none;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.portfolio-frame img {
  width: 100%;
  border-radius: 32px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.result-card {
  display: flex;
  flex-direction: column;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

.result-tap {
  display: block;
  margin-bottom: 16px;
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: 3rem;
  font-style: italic;
  text-transform: uppercase;
}

.result-card img {
  width: 100%;
  aspect-ratio: 1.7 / 1;
  border-radius: 34px;
  object-fit: cover;
  object-position: center;
  background: #14051a;
  box-shadow: var(--shadow);
}

.result-card strong {
  display: block;
  margin-top: 18px;
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: clamp(3.2rem, 4.2vw, 4.8rem);
  font-style: italic;
  line-height: 0.94;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--shadow);
  transition: transform 140ms ease;
}

.gallery-item {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.gallery-grid img:hover,
.gallery-item:focus-visible img {
  transform: translateY(-2px);
}

.gallery-action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.process-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(247, 52, 226, 0.96), rgba(224, 34, 211, 0.96));
}

.process-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.process-section .container {
  position: relative;
  z-index: 1;
}

.process-grid {
  display: grid;
  gap: 24px;
}

.process-grid-top {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.process-grid-bottom {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
}

.process-card {
  min-height: 216px;
  padding: 26px 30px;
  border-radius: 30px;
  box-shadow: 0 16px 34px rgba(90, 0, 82, 0.14);
}

.process-card-light {
  color: #090909;
  background: rgba(255, 255, 255, 0.95);
}

.process-card-dark {
  color: #fff;
  background: rgba(12, 8, 14, 0.94);
}

.process-card-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.process-card h3 {
  margin: 0;
  font-size: clamp(1.62rem, 1.8vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.process-card p {
  margin: 10px 0 0;
  font-size: clamp(1.08rem, 1.28vw, 1.42rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.process-card-wide img {
  width: 134px;
  flex: 0 0 auto;
  border-radius: 20px;
}

.process-card-dark .button {
  min-height: 64px;
  margin-top: 26px;
  font-size: 1rem;
}

.button-dark {
  border-color: rgba(255, 255, 255, 0.78);
}

.reviews-layout {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 42px 34px;
  align-items: start;
}

.reviews-rating {
  max-width: 292px;
}

.reviews-controls {
  display: flex;
  gap: 20px;
  margin-top: 28px;
}

.square-control {
  width: 130px;
  height: 112px;
  border-radius: 26px;
}

.reviews-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  transform: translateX(0);
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.reviews-viewport {
  overflow: hidden;
}

.review-shot {
  display: block;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

.review-shot img {
  width: 100%;
  border-radius: 22px;
  display: block;
  box-shadow: var(--shadow);
}

.reviews-open-hint {
  grid-column: 2;
  margin-top: 10px;
  text-align: center;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
}

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

.faq-item {
  padding: 0 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 10px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  font-size: clamp(1.78rem, 2.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.faq-question img {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

.faq-answer {
  max-width: 1000px;
  color: var(--muted);
  font-size: clamp(1.16rem, 1.5vw, 1.56rem);
  line-height: 1.38;
  letter-spacing: -0.015em;
}

.faq-item:not(.is-open) .faq-answer {
  display: none;
}

.cta-section {
  padding-top: 72px;
  padding-bottom: 0;
}

.cta-inner {
  text-align: center;
}

.cta-inner p {
  max-width: 980px;
  margin: 26px auto 0;
  font-size: clamp(1.56rem, 2.2vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.button-cta {
  margin-top: 40px;
}

.site-footer {
  padding: 0 0 44px;
}

.footer-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr auto auto;
  gap: 28px;
  align-items: center;
  margin-top: 52px;
  padding: 36px 40px 150px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 56px 56px 0 0;
  background:
    radial-gradient(circle at center bottom, rgba(255, 255, 255, 0.06), transparent 42%),
    var(--surface-strong);
}

.footer-card::after {
  content: "ЕВГЕНИЙ ОРЛОВ";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  color: rgba(255, 255, 255, 0.03);
  font-family: "Oswald", sans-serif;
  font-size: clamp(6rem, 10vw, 12rem);
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

.footer-branding,
.footer-links,
.footer-meta {
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 600;
}

.footer-branding p {
  max-width: 18ch;
  margin: 14px 0 0;
  font-size: 1.06rem;
  line-height: 1.04;
}

.footer-telegram {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: #1fa4ef;
}

.footer-telegram svg {
  width: 28px;
  height: 28px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.96rem;
}

.footer-links a:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid rgba(241, 61, 225, 0.8);
  border-radius: 999px;
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.66);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
}

.modal-panel {
  position: relative;
  width: min(92vw, 1080px);
  margin: min(5vh, 40px) auto;
  padding: 26px;
  border-radius: 32px;
  background: rgba(14, 8, 18, 0.98);
  box-shadow: var(--shadow);
}

.modal-title {
  margin: 0 0 18px;
  font-size: 1.3rem;
  font-weight: 700;
}

.modal-panel img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 24px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.modal-close span {
  position: absolute;
  left: 17px;
  top: 26px;
  width: 20px;
  height: 2px;
  background: #fff;
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

.legal-page {
  min-height: 100svh;
  padding: 36px 0 56px;
}

.legal-card {
  width: min(980px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 42px clamp(20px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.legal-document {
  margin-top: 28px;
  color: var(--muted);
  line-height: 1.8;
  white-space: pre-wrap;
}

.legal-card .button {
  margin-top: 30px;
}

@media (max-width: 1200px) {
  .hero-layout,
  .portfolio-layout,
  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 700px;
  }

  .hero-person {
    right: 50%;
    transform: translateX(56%);
    width: min(860px, 94vw);
  }

  .hero-ctr {
    top: 30px;
    right: 0;
  }

  .hero-note {
    right: 0;
    bottom: 58px;
  }

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

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

  .reviews-open-hint {
    grid-column: 1;
  }

  .footer-card {
    grid-template-columns: 1fr;
    padding-bottom: 128px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100vw - 24px, 1240px);
  }

  .header-row {
    min-height: 68px;
    gap: 12px;
  }

  .site-nav {
    display: none;
  }

  .button-header {
    min-height: 50px;
    padding: 0 16px;
  }

  .button-icon {
    width: 34px;
    height: 34px;
  }

  .hero-section {
    padding-top: 8px;
    padding-bottom: 16px;
  }

  .hero-copy {
    padding-top: 4px;
  }

  .hero-kicker {
    max-width: 9ch;
    font-size: 0.96rem;
  }

  .hero-badge {
    min-height: 28px;
    margin-left: 82px;
    padding: 0 12px;
    font-size: 0.92rem;
  }

  .hero-copy .display-title {
    font-size: clamp(4.35rem, 15vw, 5.9rem);
  }

  .hero-metrics {
    gap: 12px;
    margin-top: 18px;
  }

  .metric-card,
  .metric-card-wide {
    width: min(100%, 206px);
    min-height: 92px;
    padding: 14px 64px 14px 16px;
    border-radius: 16px;
  }

  .metric-card i {
    width: 58px;
    height: 58px;
    right: -8px;
  }

  .metric-card i::before {
    font-size: 1.22rem;
  }

  .hero-products {
    width: min(100%, 340px);
    min-height: 220px;
    margin-top: 12px;
  }

  .card-stack {
    width: 114px;
  }

  .card-stack-left {
    left: 0;
    bottom: 18px;
  }

  .card-stack-center {
    left: 92px;
    bottom: 28px;
    width: 140px;
  }

  .card-stack-right {
    left: 188px;
    bottom: 24px;
  }

  .button-floating {
    left: 82px;
    bottom: -4px;
    min-height: 44px;
    padding: 0 16px;
    gap: 10px;
    font-size: 0.88rem;
  }

  .hero-stage {
    min-height: 508px;
  }

  .hero-person {
    right: 50%;
    bottom: -10px;
    transform: translateX(52%) translateY(28px);
    width: min(470px, 108vw);
  }

  .hero-ctr {
    top: 172px;
    left: 0;
    right: auto;
    margin-top: 0;
    text-align: left;
  }

  .hero-ctr strong {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }

  .hero-ctr span {
    font-size: 1rem;
  }

  .hero-note {
    width: 220px;
    right: 2px;
    bottom: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    font-size: 0.88rem;
  }

  .section {
    padding: 72px 0;
  }

  .portfolio-bio {
    max-width: none;
    font-size: 1.3rem;
  }

  .portfolio-controls,
  .reviews-controls {
    margin-top: 22px;
  }

  .circle-control {
    width: 56px;
    height: 56px;
  }

  .square-control {
    width: 74px;
    height: 74px;
    border-radius: 20px;
  }

  .results-grid,
  .gallery-grid,
  .process-grid-top,
  .process-grid-bottom {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-card {
    min-height: auto;
    padding: 20px;
    border-radius: 22px;
  }

  .process-card-wide {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-card-wide img {
    width: 96px;
  }

  .reviews-strip {
    grid-template-columns: repeat(3, minmax(0, 72vw));
  }

  .review-shot img {
    border-radius: 18px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-question {
    padding-top: 20px;
  }

  .faq-question span {
    font-size: 1.38rem;
  }

  .faq-question img {
    width: 30px;
    height: 30px;
  }

  .faq-answer {
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .cta-inner p {
    font-size: 1.08rem;
  }

  .footer-card {
    gap: 20px;
    padding: 26px 20px 100px;
    border-radius: 34px 34px 0 0;
  }

  .footer-links {
    gap: 16px;
    font-size: 0.9rem;
  }

  .footer-links a:last-child {
    min-height: 48px;
  }

  .footer-meta {
    gap: 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 560px) {
  body::before {
    background-size: 38px 38px;
  }

  .header-row {
    min-height: 58px;
  }

  .brand {
    gap: 8px;
    font-size: 0.84rem;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .button-header {
    min-height: 40px;
    gap: 8px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  .button-header .button-icon {
    width: 22px;
    height: 22px;
  }

  .hero-layout {
    gap: 0;
  }

  .hero-badge {
    margin-left: 76px;
    min-height: 24px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .hero-copy .display-title {
    font-size: 3.64rem;
  }

  .hero-kicker {
    margin-bottom: 10px;
    font-size: 0.88rem;
  }

  .hero-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
  }

  .metric-card,
  .metric-card-wide {
    width: 170px;
    min-height: 72px;
    padding: 12px 48px 12px 14px;
  }

  .metric-card strong {
    font-size: 1.92rem;
  }

  .metric-card span {
    font-size: 0.82rem;
  }

  .metric-card i {
    width: 46px;
    height: 46px;
    right: -6px;
  }

  .hero-stage {
    min-height: 398px;
    margin-top: -164px;
  }

  .hero-person {
    width: 398px;
    right: 50%;
    bottom: -12px;
    transform: translateX(52%) translateY(24px);
  }

  .hero-products {
    min-height: 194px;
    width: 100%;
    margin-top: 86px;
  }

  .card-stack {
    width: 102px;
  }

  .card-stack-left {
    left: 4px;
  }

  .card-stack-center {
    left: 68px;
    bottom: 24px;
    width: 126px;
  }

  .card-stack-right {
    left: 138px;
    bottom: 20px;
  }

  .button-floating {
    left: 58px;
    bottom: -2px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.74rem;
  }

  .button-floating .button-icon {
    width: 24px;
    height: 24px;
  }

  .hero-ctr {
    top: 172px;
    left: 0;
    width: 142px;
  }

  .hero-ctr strong {
    font-size: 2.72rem;
  }

  .hero-ctr span {
    font-size: 0.82rem;
  }

  .hero-note {
    width: 176px;
    font-size: 0.76rem;
    right: -2px;
    bottom: 16px;
  }

  .display-title {
    font-size: 2.88rem;
  }

  .portfolio-bio {
    padding-left: 16px;
    font-size: 1.08rem;
  }

  .result-tap {
    font-size: 2rem;
  }

  .result-card strong,
  .portfolio-ctr {
    font-size: 2.48rem;
  }

  .gallery-grid {
    gap: 14px;
  }

  .process-card h3 {
    font-size: 1.34rem;
  }

  .process-card p {
    font-size: 0.92rem;
  }

  .reviews-strip {
    grid-template-columns: repeat(3, minmax(0, 78vw));
  }

  .cta-section {
    padding-top: 42px;
  }

  .cta-inner p {
    max-width: 20ch;
    font-size: 0.94rem;
  }

  .button {
    min-height: 56px;
    padding: 0 18px;
    gap: 10px;
    font-size: 0.95rem;
  }

  .button .button-icon {
    width: 28px;
    height: 28px;
  }

  .footer-branding p {
    font-size: 0.88rem;
  }
}
