:root {
  --black: #080607;
  --black-soft: #11090b;
  --wine-deep: #26070d;
  --wine: #4b101b;
  --wine-bright: #7b2432;
  --rose: #bb6c75;
  --ivory: #f0ebe6;
  --ivory-soft: #c9beb7;
  --line: rgba(240, 235, 230, 0.16);
  --green: #24c77a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ivory);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: var(--black);
  background: var(--rose);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(22px, 4vw, 68px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(to bottom, rgba(8, 6, 7, 0.45), transparent);
  transition: height 320ms ease, background 320ms ease, border-color 320ms ease;
}

.site-header.is-compact {
  height: 66px;
  background: rgba(8, 6, 7, 0.82);
  border-color: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.brand img {
  width: 34px;
  height: 30px;
  object-fit: contain;
  filter: invert(1) sepia(0.08) saturate(0.35) drop-shadow(0 0 9px rgba(255, 255, 255, 0.16));
  transition: transform 300ms ease;
}

.brand:hover img {
  transform: rotate(-5deg) scale(1.08);
}

.header-center {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 150px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.header-center span {
  color: var(--rose);
}

.header-center i {
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.header-center strong {
  min-width: 72px;
  color: var(--ivory);
  font-size: inherit;
  font-weight: 600;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.header-cta svg,
.primary-button svg,
.final-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 260ms ease;
}

.header-cta:hover svg,
.primary-button:hover svg,
.final-button:hover svg {
  transform: translateX(5px);
}

.scroll-story {
  --story: 0;
  --open: 0;
  --proof: 0;
  --method: 0;
  --close: 0;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --left-x: 0vw;
  --left-y: 0vh;
  --left-r: 0deg;
  --right-x: 0vw;
  --right-y: 0vh;
  --right-r: 0deg;
  --center-y: 0vh;
  --center-r: 0deg;
  position: relative;
  height: 470svh;
  background: var(--black);
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 650px;
  overflow: hidden;
  isolation: isolate;
  perspective: 1400px;
  background:
    radial-gradient(circle at 50% 43%, rgba(123, 36, 50, 0.24), transparent 27%),
    radial-gradient(circle at 14% 22%, rgba(75, 16, 27, 0.26), transparent 32%),
    linear-gradient(145deg, #10080a 0%, #070607 52%, #14080b 100%);
}

.story-atmosphere,
.story-grid,
.story-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.story-atmosphere {
  z-index: -2;
  overflow: hidden;
}

.story-grid {
  opacity: 0.31;
  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: 8vw 8vw;
  transform: perspective(850px) rotateX(63deg) scale(1.65) translateY(23%);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, black, transparent 68%);
}

.story-noise {
  inset: -50%;
  opacity: 0.06;
  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='.9'/%3E%3C/svg%3E");
  animation: noise-shift 800ms steps(2) infinite;
}

@keyframes noise-shift {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(2%, -1%, 0); }
  50% { transform: translate3d(-1%, 2%, 0); }
  75% { transform: translate3d(1%, 1%, 0); }
  100% { transform: translate3d(-2%, -1%, 0); }
}

.light {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 800ms ease;
}

.light-a {
  width: 42vw;
  height: 42vw;
  top: -24vw;
  right: -8vw;
  background: var(--wine-bright);
}

.light-b {
  width: 28vw;
  height: 28vw;
  left: -12vw;
  bottom: -13vw;
  background: var(--wine);
}

.stage-2 .light-a {
  transform: translate(-34vw, 36vh) scale(1.15);
  opacity: 0.42;
}

.stage-4 .light-b {
  transform: translate(44vw, -26vh) scale(1.9);
  opacity: 0.5;
}

.logo-core {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 43%;
  width: clamp(270px, 32vw, 520px);
  aspect-ratio: 768 / 676;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: top 900ms cubic-bezier(0.18, 0.78, 0.2, 1), opacity 650ms ease, filter 650ms ease;
  will-change: transform;
}

.core-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: rgba(127, 32, 47, 0.66);
  filter: blur(70px);
  transform: translateZ(-100px) scale(1.4);
  opacity: 0.7;
  transition: opacity 600ms ease, transform 900ms ease;
}

.logo-wire,
.logo-slice {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.logo-wire img,
.logo-slice img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1) sepia(0.08) saturate(0.25) brightness(1.08) drop-shadow(0 28px 40px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 14px rgba(231, 197, 197, 0.18));
}

.logo-wire {
  opacity: 0.12;
  transform: translateZ(-60px) scale(1.065);
}

.logo-wire img {
  filter: invert(1) opacity(0.5) drop-shadow(0 0 1px white);
}

.slice-left {
  clip-path: polygon(0 0, 47% 0, 47% 100%, 0 100%);
  transform: translate3d(var(--left-x), var(--left-y), 0) rotateZ(var(--left-r)) rotateY(-7deg);
}

.slice-center {
  clip-path: polygon(36% 0, 72% 0, 72% 100%, 36% 100%);
  transform: translate3d(0, var(--center-y), 28px) rotateX(var(--center-r));
}

.slice-right {
  clip-path: polygon(61% 0, 100% 0, 100% 100%, 61% 100%);
  transform: translate3d(var(--right-x), var(--right-y), 0) rotateZ(var(--right-r)) rotateY(7deg);
}

.core-orbit {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 148%;
  height: 126%;
  border: 1px solid rgba(240, 235, 230, 0.15);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-12deg) scale(0.72);
  transition: opacity 700ms ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.orbit-two {
  width: 116%;
  height: 152%;
  border-color: rgba(187, 108, 117, 0.24);
  transform: translate(-50%, -50%) rotate(62deg) scale(0.72);
}

.stage-1 .core-orbit,
.stage-3 .core-orbit {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(12deg) scale(1);
}

.stage-1 .orbit-two,
.stage-3 .orbit-two {
  transform: translate(-50%, -50%) rotate(82deg) scale(1);
}

.core-coordinate {
  position: absolute;
  color: rgba(255, 255, 255, 0.35);
  font-size: 7px;
  letter-spacing: 0.18em;
  opacity: 0;
  transition: opacity 500ms ease;
}

.coordinate-a { left: -3%; top: 15%; }
.coordinate-b { right: -3%; bottom: 12%; }

.stage-1 .core-coordinate,
.stage-3 .core-coordinate {
  opacity: 1;
}

.stage-1 .logo-core { opacity: 0.88; }
.stage-2 .logo-core { opacity: 0.24; filter: blur(0.4px); }
.stage-3 .logo-core { opacity: 0.52; top: 50%; }
.stage-4 .logo-core { opacity: 0.32; top: 30%; }
.stage-4 .core-glow { opacity: 1; transform: translateZ(-100px) scale(2.25); }

.story-panel {
  position: absolute;
  z-index: 6;
  inset: 0;
  padding: 108px clamp(28px, 7vw, 120px) 72px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 620ms ease, visibility 620ms ease;
}

.stage-0 .panel-intro,
.stage-1 .panel-services,
.stage-2 .panel-proof,
.stage-3 .panel-method,
.stage-4 .panel-cta {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.intro-kicker,
.cta-kicker {
  position: absolute;
  top: 116px;
  left: clamp(28px, 7vw, 120px);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.intro-kicker span,
.cta-kicker span {
  width: 34px;
  height: 1px;
  background: var(--rose);
}

.intro-sidecopy {
  position: absolute;
  top: 116px;
  right: clamp(52px, 8vw, 140px);
  width: min(260px, 24vw);
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.intro-sidecopy span {
  color: var(--rose);
  font-size: 8px;
  letter-spacing: 0.19em;
}

.intro-sidecopy p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.55;
}

.panel-intro h1 {
  position: absolute;
  left: 50%;
  bottom: 12.5vh;
  width: min(1180px, 86vw);
  margin: 0;
  transform: translateX(-50%);
  text-align: center;
  text-wrap: balance;
}

.panel-intro h1 span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(15px, 1.15vw, 20px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.panel-intro h1 strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(42px, 5.5vw, 92px);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.065em;
}

.panel-intro h1 strong::first-letter {
  color: var(--rose);
}

.intro-actions {
  position: absolute;
  z-index: 9;
  left: clamp(28px, 7vw, 120px);
  right: clamp(28px, 7vw, 120px);
  bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.primary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  color: var(--black);
  background: var(--ivory);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: background 250ms ease, transform 250ms ease;
}

.primary-button:hover {
  background: white;
  transform: translateY(-3px);
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.scroll-hint i {
  width: 1px;
  height: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.panel-heading {
  position: absolute;
  left: clamp(28px, 6vw, 110px);
  top: 112px;
}

.panel-heading > span,
.method-heading > span,
.proof-index {
  color: var(--rose);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.panel-heading h2,
.method-heading h2,
.proof-copy h2,
.panel-cta h2 {
  margin: 12px 0 0;
  font-size: clamp(36px, 4.2vw, 70px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.panel-heading h2 em,
.method-heading h2 em,
.proof-copy h2 em,
.panel-cta h2 em {
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.service-card {
  position: absolute;
  width: min(300px, 22vw);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(35, 14, 18, 0.8), rgba(8, 6, 7, 0.7));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(13px);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 500ms ease, border-color 250ms ease;
}

.stage-1 .service-card {
  transform: translateY(0);
  opacity: 1;
}

.stage-1 .service-2 { transition-delay: 90ms; }
.stage-1 .service-3 { transition-delay: 180ms; }

.service-card:hover {
  border-color: rgba(187, 108, 117, 0.62);
}

.service-1 { left: 7vw; top: 45%; }
.service-2 { right: 7vw; top: 35%; }
.service-3 { right: 11vw; bottom: 7vh; }

.service-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 7px;
  letter-spacing: 0.15em;
}

.service-meta span { color: var(--rose); }
.service-meta i { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.13); }
.service-meta small { font-size: inherit; }

.service-card h3 {
  margin: 30px 0 11px;
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  line-height: 1.6;
}

.panel-caption {
  position: absolute;
  left: 50%;
  bottom: 5.5vh;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.34);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.proof-copy {
  position: absolute;
  z-index: 7;
  left: clamp(28px, 8vw, 140px);
  top: 50%;
  width: min(620px, 44vw);
  transform: translateY(-48%);
}

.proof-copy > p {
  max-width: 510px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: clamp(13px, 1.05vw, 17px);
  line-height: 1.65;
}

.project-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.project-line i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--rose);
}

.testimonial-slot {
  max-width: 500px;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial-slot span {
  color: var(--rose);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.testimonial-slot p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  line-height: 1.5;
}

.perspective-poster {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: clamp(7vw, 10vw, 170px);
  width: min(27vw, 410px);
  aspect-ratio: 1122 / 1402;
  transform: translateY(-47%) perspective(1100px) rotateY(-18deg) rotateX(3deg) rotateZ(1deg) translateX(24px) scale(0.84);
  transform-style: preserve-3d;
  opacity: 0.2;
  transition: transform 1s cubic-bezier(0.16, 0.85, 0.18, 1), opacity 650ms ease;
}

.stage-2 .perspective-poster {
  transform: translateY(-47%) perspective(1100px) rotateY(-12deg) rotateX(1deg) rotateZ(-1.3deg) translateX(0);
  opacity: 1;
}

.stage-1 .perspective-poster {
  transform: translateY(-47%) perspective(1100px) rotateY(-22deg) rotateX(3deg) translateX(70px) scale(0.78);
  opacity: 0.07;
}

.stage-3 .perspective-poster,
.stage-4 .perspective-poster {
  transform: translateY(-47%) perspective(1100px) rotateY(18deg) translateX(90px) scale(0.78);
  opacity: 0;
}

.perspective-poster img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: -35px 45px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(123, 36, 50, 0.22);
}

.poster-depth {
  position: absolute;
  z-index: 0;
  inset: 4% -8% -4% 8%;
  border: 1px solid rgba(187, 108, 117, 0.28);
  background: #1d080c;
  transform: translateZ(-52px);
}

.poster-reflection {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.13) 42%, transparent 53%);
  mix-blend-mode: screen;
  transform: translateX(-80%);
  animation: poster-shine 5.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes poster-shine {
  0%, 45% { transform: translateX(-90%); opacity: 0; }
  60% { opacity: 1; }
  78%, 100% { transform: translateX(95%); opacity: 0; }
}

.perspective-poster > span {
  position: absolute;
  z-index: 4;
  right: -9px;
  bottom: 3%;
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.65);
  font-size: 6px;
  letter-spacing: 0.2em;
  transform: translateX(100%);
}

.method-heading {
  position: absolute;
  left: 50%;
  top: 13vh;
  width: min(760px, 72vw);
  transform: translateX(-50%);
  text-align: center;
}

.method-orbit {
  position: absolute;
  inset: 0;
}

.method-step {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 180px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 8, 9, 0.74);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: scale(0.8);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 450ms ease;
}

.stage-3 .method-step {
  opacity: 1;
  transform: scale(1);
}

.stage-3 .method-2 { transition-delay: 80ms; }
.stage-3 .method-3 { transition-delay: 160ms; }
.stage-3 .method-4 { transition-delay: 240ms; }

.method-step span {
  color: var(--rose);
  font-size: 8px;
}

.method-step strong {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.method-1 { left: 8vw; top: 48%; }
.method-2 { right: 8vw; top: 43%; }
.method-3 { left: 16vw; bottom: 13vh; }
.method-4 { right: 16vw; bottom: 11vh; }

.method-note {
  position: absolute;
  left: 50%;
  bottom: 4.5vh;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.36);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.19em;
}

.panel-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 9vh;
  text-align: center;
}

.panel-cta .cta-kicker {
  position: static;
  margin-bottom: 16px;
}

.panel-cta h2 {
  font-size: clamp(38px, 5vw, 84px);
}

.panel-cta > p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.53);
  font-size: clamp(12px, 1vw, 16px);
}

.final-button {
  min-width: min(420px, 82vw);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding: 0 12px 0 26px;
  color: var(--black);
  background: var(--ivory);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  transition: transform 280ms ease, background 280ms ease;
}

.final-button:hover {
  transform: translateY(-4px);
  background: white;
}

.final-button i {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ivory);
  background: var(--wine);
}

.panel-cta > small {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.story-progress {
  position: absolute;
  z-index: 20;
  top: 50%;
  right: 22px;
  display: grid;
  justify-items: center;
  gap: 8px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.34);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.story-progress > div {
  position: relative;
  width: 1px;
  height: 150px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
}

.story-progress > div i {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--rose);
  transform: scaleY(var(--story));
  transform-origin: top;
}

.story-progress span { color: var(--rose); }

.story-signature {
  position: absolute;
  z-index: 5;
  right: clamp(44px, 5vw, 84px);
  bottom: 26px;
  display: flex;
  gap: 20px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.site-footer {
  position: relative;
  min-height: 210px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 48px;
  padding: 52px clamp(24px, 6vw, 108px) 24px;
  color: var(--black);
  background: var(--ivory);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 54px;
  height: 48px;
  object-fit: contain;
}

.footer-brand div {
  display: grid;
  gap: 5px;
}

.footer-brand strong {
  font-size: 12px;
  letter-spacing: 0.18em;
}

.footer-brand span {
  color: rgba(8, 6, 7, 0.55);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: clamp(22px, 3vw, 54px);
  padding-top: 13px;
}

.footer-links a {
  position: relative;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-legal {
  grid-column: 1 / -1;
  align-self: end;
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(8, 6, 7, 0.14);
  color: rgba(8, 6, 7, 0.48);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-legal a {
  color: var(--wine-bright);
  font-weight: 700;
}

.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  height: 50px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 18px;
  color: #05170e;
  background: var(--green);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.whatsapp-float svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.noscript-message {
  position: fixed;
  z-index: 200;
  inset: auto 16px 16px;
  padding: 14px 18px;
  color: var(--ivory);
  background: var(--wine-deep);
  border: 1px solid var(--line);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1100px) {
  .service-1 { left: 4vw; }
  .service-2 { right: 4vw; }
  .service-3 { right: 6vw; }
  .method-1 { left: 5vw; }
  .method-2 { right: 5vw; }
  .method-3 { left: 9vw; }
  .method-4 { right: 9vw; }
  .perspective-poster { right: 6vw; width: min(31vw, 380px); }
}

@media (max-width: 800px) {
  .site-header {
    height: 66px;
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  .header-center { display: none; }
  .brand span { font-size: 9px; }
  .brand img { width: 29px; height: 25px; }
  .header-cta { font-size: 0; gap: 0; }
  .header-cta::before { content: "WhatsApp"; font-size: 8px; letter-spacing: 0.14em; }
  .header-cta svg { width: 17px; margin-left: 9px; }

  .scroll-story { height: 500svh; }
  .story-sticky { min-height: 580px; }
  .story-grid { background-size: 18vw 18vw; }

  .logo-core {
    top: 38%;
    width: min(64vw, 360px);
  }

  .stage-1 .logo-core { top: 35%; opacity: 0.5; }
  .stage-2 .logo-core { top: 34%; opacity: 0.2; }
  .stage-3 .logo-core { top: 46%; opacity: 0.3; }
  .stage-4 .logo-core { top: 27%; width: min(58vw, 320px); }

  .story-panel { padding: 86px 22px 58px; }
  .intro-kicker { top: 88px; left: 22px; font-size: 6px; }
  .intro-sidecopy { display: none; }

  .panel-intro h1 {
    bottom: 16vh;
    width: calc(100vw - 36px);
  }

  .panel-intro h1 span { font-size: 12px; }
  .panel-intro h1 strong { font-size: clamp(36px, 11vw, 58px); line-height: 0.92; }

  .intro-actions {
    left: 20px;
    right: 20px;
    bottom: 18px;
  }

  .primary-button { min-height: 48px; padding: 0 17px; gap: 16px; font-size: 7px; }
  .scroll-hint { font-size: 0; gap: 0; }
  .scroll-hint::after { content: "ROLE"; font-size: 6px; letter-spacing: 0.18em; }
  .scroll-hint i { height: 22px; margin-right: 8px; }

  .panel-heading {
    top: 85px;
    left: 22px;
  }

  .panel-heading h2,
  .method-heading h2,
  .proof-copy h2,
  .panel-cta h2 { font-size: clamp(33px, 10vw, 48px); }

  .service-card {
    width: calc(100vw - 44px);
    padding: 15px 17px;
    background: rgba(15, 8, 10, 0.84);
  }

  .service-1 { left: 22px; top: 40%; }
  .service-2 { left: 22px; right: auto; top: 57%; }
  .service-3 { left: 22px; right: auto; top: 74%; bottom: auto; }
  .service-card h3 { display: inline-block; width: 34%; margin: 18px 0 2px; font-size: 19px; }
  .service-card p { display: inline-block; width: 64%; vertical-align: bottom; font-size: 10px; line-height: 1.45; }
  .service-meta { font-size: 6px; }
  .panel-caption { display: none; }

  .proof-copy {
    top: 92px;
    left: 22px;
    width: calc(100vw - 44px);
    transform: none;
  }

  .proof-copy > p { max-width: 90%; margin-top: 16px; font-size: 11px; }
  .project-line { max-width: 90%; margin-top: 15px; font-size: 6px; }
  .testimonial-slot { display: none; }

  .perspective-poster {
    top: auto;
    right: 50%;
    bottom: 6vh;
    width: min(48vw, 245px);
    transform: translateX(58%) perspective(900px) rotateY(-17deg) rotateX(3deg) translateY(20px);
  }

  .stage-2 .perspective-poster {
    transform: translateX(58%) perspective(900px) rotateY(-10deg) rotateZ(-1deg) translateY(0);
  }

  .method-heading { top: 10vh; width: calc(100vw - 40px); }
  .method-step { min-width: 135px; padding: 12px; gap: 9px; }
  .method-step strong { font-size: 8px; letter-spacing: 0.12em; }
  .method-1 { left: 20px; top: 42%; }
  .method-2 { right: 20px; top: 51%; }
  .method-3 { left: 20px; bottom: 20vh; }
  .method-4 { right: 20px; bottom: 11vh; }
  .method-note { display: none; }

  .panel-cta { padding: 76px 20px 10vh; }
  .panel-cta .cta-kicker { font-size: 6px; }
  .panel-cta > p { max-width: 310px; font-size: 11px; line-height: 1.5; }
  .final-button { min-width: min(360px, 88vw); height: 62px; margin-top: 22px; }
  .final-button i { width: 44px; height: 44px; }

  .story-progress { right: 8px; }
  .story-progress > div { height: 100px; }
  .story-signature { display: none; }

  .site-footer {
    min-height: 265px;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 38px 22px 20px;
  }

  .footer-brand img { width: 44px; height: 40px; }
  .footer-links { justify-content: space-between; padding: 0; gap: 14px; }
  .footer-links a { font-size: 7px; }
  .footer-legal { gap: 20px; font-size: 6px; line-height: 1.5; }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
  }

  .whatsapp-float span { display: none; }
}

@media (max-height: 700px) and (min-width: 801px) {
  .logo-core { width: min(29vw, 390px); top: 43%; }
  .panel-intro h1 { bottom: 11vh; }
  .panel-intro h1 strong { font-size: clamp(44px, 5vw, 70px); }
  .service-card { padding: 16px 18px; }
  .service-card h3 { margin-top: 18px; }
  .panel-heading { top: 92px; }
  .proof-copy { top: 52%; }
  .perspective-poster { width: min(23vw, 320px); }
  .method-heading { top: 12vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .logo-core { transform: translate(-50%, -50%); }
}
