﻿:root {
  --black: #000;
  --ink: #050505;
  --white: #fff;
  --soft-white: rgba(255, 255, 255, 0.78);
  --muted-white: rgba(255, 255, 255, 0.56);
  --line: rgba(255, 255, 255, 0.72);
  --line-soft: rgba(255, 255, 255, 0.24);
  --accent: #5e0428;
  --accent-soft: #8b1043;
  --accent-light: #c75c91;
  --violet: #4d2c86;
}

/* Pagina Contattaci */
.contact-page {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: #fff;
  overflow-x: clip;
}

.contact-page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 14%, rgba(96, 4, 41, 0.28), transparent 34rem),
    radial-gradient(circle at 86% 16%, rgba(128, 31, 80, 0.18), transparent 30rem),
    #000;
  background-size: auto, auto, auto;
  overflow-x: clip;
}

.contact-topbar {
  position: relative;
  z-index: 5;
}

.has-reveal .contact-page .contact-topbar,
.has-reveal .contact-page .contact-hero {
  filter: blur(10px);
  opacity: 0.88;
  transform: translateY(10px);
  transition:
    filter 900ms ease,
    opacity 900ms ease,
    transform 900ms cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}

.is-loaded .contact-page .contact-topbar,
.is-loaded .contact-page .contact-hero {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0);
}

.contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.8fr);
  align-items: stretch;
  gap: clamp(48px, 6vw, 96px);
  width: min(1500px, calc(100% - clamp(42px, 8vw, 150px)));
  min-height: calc(100vh - 220px);
  margin: 0 auto;
  padding: clamp(24px, 4.5vh, 54px) 0 clamp(38px, 5vh, 64px);
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: clamp(10px, 2.5vh, 28px) 0 clamp(24px, 4vh, 48px);
  z-index: 0;
  border: 1px solid rgba(199, 92, 145, 0.22);
  background:
    radial-gradient(circle at 17% 68%, rgba(96, 4, 41, 0.34), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    rgba(255, 255, 255, 0.035);
  background-size: auto, 96px 96px, 96px 96px, auto;
  pointer-events: none;
}

.contact-title,
.contact-panel {
  position: relative;
  z-index: 1;
}

.contact-title {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(22px, 3vw, 42px);
  padding: clamp(26px, 4vw, 52px) 0 clamp(26px, 4vw, 50px) clamp(22px, 3.2vw, 52px);
}

.contact-title p {
  margin: 0 0 clamp(18px, 2.2vw, 30px);
  color: #d8649b;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.contact-title h1 {
  max-width: 9ch;
  margin: 0;
  color: #fff;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(3.3rem, 6.5vw, 7rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 18px 58px rgba(96, 4, 41, 0.52);
}

.contact-title h1 span,
.contact-title h1 strong {
  display: block;
}

.contact-title h1 strong {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.72);
  text-stroke: 1px rgba(255, 255, 255, 0.72);
  text-shadow: 0 18px 58px rgba(96, 4, 41, 0.34);
}

.contact-panel {
  display: grid;
  align-content: start;
  gap: clamp(30px, 4vw, 52px);
  padding: clamp(34px, 5vw, 62px) clamp(22px, 3.2vw, 52px) clamp(26px, 4vw, 50px) 0;
}

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

.contact-form h2 {
  margin: 0 0 6px;
  color: #fff;
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(1.5rem, 2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.12;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

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

.contact-form span,
.contact-services legend,
.contact-privacy legend {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form small,
.contact-services small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  line-height: 1.45;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  outline: 0;
  padding: 11px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.92rem;
  transition: border-color 220ms ease, background 220ms ease;
}

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

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #d8649b;
  background: rgba(255, 255, 255, 0.055);
}

.contact-form select {
  appearance: auto;
}

.contact-form select option {
  color: #050505;
  background: #fff;
}

.contact-form select option:hover,
.contact-form select option:focus,
.contact-form select option:checked {
  color: #fff;
  background: #801f50;
}

.contact-services,
.contact-privacy {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-services legend,
.contact-privacy legend {
  margin-bottom: 2px;
}

.contact-services legend + div,
.contact-privacy legend + label {
  margin-top: 4px;
}

.contact-services div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.contact-services label,
.contact-privacy label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-services input,
.contact-privacy input {
  width: 14px;
  height: 14px;
  min-width: 14px;
  accent-color: #801f50;
}

.contact-services label span,
.contact-privacy label span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.contact-submit {
  cursor: pointer;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 42px;
  border: 1px solid #801f50;
  border-radius: 999px;
  padding: 11px 20px;
  color: #050505;
  background: #fff;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

.contact-submit span {
  color: inherit;
}

.contact-submit:hover {
  background: #801f50;
  color: #fff;
  transform: translateY(-2px);
}

.contact-submit strong {
  display: none;
}

.contact-faq {
  position: relative;
  width: min(560px, 92%);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.contact-faq h2 {
  margin: 0 0 20px;
  color: #fff;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.55rem, 2.2vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.contact-faq details {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

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

.contact-faq summary {
  cursor: pointer;
  position: relative;
  list-style: none;
  padding: 18px 34px 18px 0;
  color: #fff;
  font-size: clamp(0.9rem, 0.98vw, 1rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

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

.contact-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 2px;
  color: #d8649b;
  font-size: 1.25rem;
  font-weight: 500;
  transform: translateY(-50%);
}

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

.contact-faq p {
  max-width: 520px;
  margin: -2px 0 20px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.62;
  text-transform: none;
}

.contact-faq ul {
  display: grid;
  gap: 7px;
  max-width: 520px;
  margin: -8px 0 20px;
  padding: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  list-style: none;
}

.contact-faq li {
  position: relative;
  padding-left: 16px;
}

.contact-faq li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #d8649b;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.contact-links a {
  display: grid;
  gap: 8px;
  min-height: 96px;
  align-content: end;
  color: #fff;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 16px;
  transition: border-color 220ms ease;
}

.contact-links span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-links strong {
  color: #fff;
  font-size: clamp(0.9rem, 1.08vw, 1.05rem);
  font-weight: 700;
  line-height: 1.4;
  word-break: break-word;
}

.contact-links a:hover {
  border-color: #d8649b;
}

@media (max-width: 980px) {
  .contact-hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding-top: 34px;
  }

  .contact-hero::before {
    inset: 24px 0 30px;
  }

  .contact-title,
  .contact-panel {
    padding-right: clamp(22px, 5vw, 44px);
    padding-left: clamp(22px, 5vw, 44px);
  }

  .contact-title {
    padding-bottom: 0;
    gap: 24px;
  }

  .contact-title h1 {
    max-width: 10ch;
    font-size: clamp(2.9rem, 11vw, 5.2rem);
  }
}

@media (max-width: 620px) {
  .contact-hero {
    width: calc(100% - 28px);
    gap: 26px;
    padding-top: 28px;
    padding-bottom: 46px;
  }

  .contact-title h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .contact-form-row,
  .contact-links,
  .contact-services div {
    grid-template-columns: 1fr;
  }

  .contact-submit {
    justify-self: stretch;
    justify-content: center;
  }

  .contact-faq {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: "Raleway", Arial, sans-serif;
  overflow-x: clip;
}

.has-reveal .hero {
  filter: blur(10px);
  transform: scale(1.012);
  transition:
    filter 900ms ease,
    transform 900ms cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}

.is-loaded .hero {
  filter: blur(0);
  transform: scale(1);
}

.has-reveal .about-topbar,
.has-reveal .about-editorial {
  filter: blur(10px);
  opacity: 0.92;
  transform: translateY(10px);
  transition:
    filter 900ms ease,
    opacity 900ms ease,
    transform 900ms cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}

.is-loaded .about-topbar,
.is-loaded .about-editorial {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0);
}

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

button {
  font: inherit;
}

.reveal {
  opacity: 1;
  transform: none;
}

.has-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 640ms ease,
    transform 760ms cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity, transform;
}

.is-loading .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

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

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal-delay-3 {
  transition-delay: 270ms;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background: var(--black);
}

.page-section {
  position: relative;
  min-height: 100vh;
  background: var(--black);
}

.section-nav {
  position: fixed;
  z-index: 30;
  right: 22px;
  top: 50%;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--white);
  transform: translateY(-50%);
}

.section-nav span {
  margin-bottom: 4px;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1;
}

.section-nav button {
  width: 15px;
  height: 15px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.72);
  border-radius: 50%;
  background: rgba(96, 4, 41, 0.44);
  box-shadow:
    0 0 0 1px rgba(199, 92, 145, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  cursor: pointer;
  opacity: 0.86;
  transition:
    opacity 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.section-nav button.is-active {
  border-color: rgba(0, 0, 0, 0.9);
  background: #c75c91;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 12px rgba(199, 92, 145, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  opacity: 1;
  transform: scale(1.04);
}

.topbar {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
  padding: 28px 86px 0;
}

.wordmark {
  justify-self: start;
  display: block;
  width: 108px;
}

.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--soft-white);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--white);
}

/* ========================= TASTO PRINCIPALE DEL SITO
 * ========================= */

.button {
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 24px;
  font-size: 17px;
  color: #801f50;
  border: 2px solid #801f50;
  border-radius: 34px;
  background-color: #fff;
  font-weight: 600;
  overflow: hidden;
  z-index: 0;
  min-width: 180px;
  max-width: 250px;
  height: 45px;
  text-transform: uppercase;
  transition:
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    color 0.3s ease 0s;
}

.button:hover {
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(193, 163, 98, 0.4);
}

.button:not(:hover) {
  color: #801f50;
}

.button:active {
  transform: scale(1);
}

.button::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: center;
  z-index: -1;
  background-color: #801f50;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.button:hover::before {
  transform: scaleX(1);
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.button:not(:hover)::before {
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-cta {
  justify-self: end;
}

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 100vh;
  max-height: 100vh;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(960px, calc(100% - 170px));
  margin: 0 auto;
  min-height: calc(100vh - 70px);
  padding: 0 0 46px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.hero-content h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: 4.15rem;
  font-weight: 500;
  line-height: 1.12;
}

.hero-content p {
  width: min(620px, 100%);
  margin: 28px 0 18px;
  color: var(--soft-white);
  font-family: "Raleway", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.72;
}

.hero-cta {
  min-width: 286px;
  max-width: 320px;
  white-space: nowrap;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 26px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--accent-soft);
  transform: translateX(-50%);
  animation: scrollCueFloat 1.65s ease-in-out infinite;
}

.scroll-cue span {
  width: 24px;
  height: 24px;
  border-right: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
  transform: rotate(45deg);
  box-shadow: 6px 6px 18px rgba(139, 16, 67, 0.34);
}

.orb {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  pointer-events: none;
  transform-style: preserve-3d;
}

.orb span {
  position: absolute;
  border-radius: 45% 55% 42% 58%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.34), transparent 18%),
    linear-gradient(135deg, rgba(199, 92, 145, 0.66), rgba(94, 4, 40, 0.8) 42%, rgba(77, 44, 134, 0.72));
  box-shadow:
    inset 18px 20px 40px rgba(255, 255, 255, 0.08),
    inset -20px -26px 44px rgba(0, 0, 0, 0.72),
    0 20px 55px rgba(94, 4, 40, 0.42);
  filter: saturate(1.15);
  animation: orbDrift 9s ease-in-out infinite;
}

.orb span:nth-child(1) {
  width: 100%;
  height: 100%;
}

.orb span:nth-child(2) {
  width: 82%;
  height: 82%;
  opacity: 0.65;
  transform: rotate(56deg);
  animation-delay: -2s;
}

.orb span:nth-child(3) {
  width: 58%;
  height: 58%;
  opacity: 0.42;
  transform: rotate(-28deg);
  animation-delay: -4s;
}

.orb-hero {
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(860px, 74vw);
  height: 390px;
  opacity: 1;
  transform: translate(-50%, -43%);
  filter: drop-shadow(0 0 42px rgba(94, 4, 40, 0.24));
}

.orb-hero::before,
.orb-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orb-hero::before {
  inset: 34% 38%;
  background: radial-gradient(circle, rgba(94, 4, 40, 0.24), transparent 70%);
  filter: blur(24px);
  animation: particleGlow 8s ease-in-out infinite;
}

.orb-hero::after {
  display: none;
}

.orb.orb-hero span {
  --size: 5px;
  --x: 50%;
  --y: 50%;
  --dx: 16px;
  --dy: -18px;
  --dx2: -8px;
  --dy2: 10px;
  --dur: 10s;
  --delay: 0s;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(199, 92, 145, 0.78) 38%, rgba(94, 4, 40, 0) 72%);
  box-shadow: 0 0 16px rgba(199, 92, 145, 0.72);
  opacity: 0.66;
  animation: particleFloat var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
}

.orb-hero span:nth-child(1) {
  --size: 4px;
  --x: 9%;
  --y: 44%;
  --dur: 9s;
  --delay: -1s;
}

.orb-hero span:nth-child(2) {
  --size: 7px;
  --x: 18%;
  --y: 27%;
  --dx: -14px;
  --dy: 22px;
  --dur: 12s;
  --delay: -6s;
}

.orb-hero span:nth-child(3) {
  --size: 3px;
  --x: 28%;
  --y: 63%;
  --dx: 12px;
  --dy: -24px;
  --dur: 8s;
  --delay: -3s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 68%);
}

.orb-hero span:nth-child(4) {
  --size: 5px;
  --x: 39%;
  --y: 18%;
  --dx: 18px;
  --dy: 20px;
  --dur: 11s;
  --delay: -5s;
}

.orb-hero span:nth-child(5) {
  --size: 9px;
  --x: 49%;
  --y: 51%;
  --dx: -20px;
  --dy: -16px;
  --dur: 13s;
  --delay: -8s;
  opacity: 0.55;
  filter: blur(0.5px);
}

.orb-hero span:nth-child(6) {
  --size: 4px;
  --x: 61%;
  --y: 31%;
  --dx: 15px;
  --dy: -22px;
  --dur: 9.5s;
  --delay: -2s;
}

.orb-hero span:nth-child(7) {
  --size: 6px;
  --x: 72%;
  --y: 46%;
  --dx: -18px;
  --dy: 14px;
  --dur: 10.5s;
  --delay: -4s;
}

.orb-hero span:nth-child(8) {
  --size: 3px;
  --x: 84%;
  --y: 24%;
  --dx: -10px;
  --dy: 26px;
  --dur: 8.8s;
  --delay: -7s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 70%);
}

.orb-hero span:nth-child(9) {
  --size: 5px;
  --x: 90%;
  --y: 68%;
  --dx: -22px;
  --dy: -18px;
  --dur: 12.5s;
  --delay: -9s;
}

.orb-hero span:nth-child(10) {
  --size: 4px;
  --x: 12%;
  --y: 70%;
  --dx: 20px;
  --dy: -12px;
  --dur: 10s;
  --delay: -5.5s;
}

.orb-hero span:nth-child(11) {
  --size: 12px;
  --x: 52%;
  --y: 23%;
  --dx: 10px;
  --dy: 12px;
  --dur: 15s;
  --delay: -10s;
  opacity: 0.24;
  filter: blur(2px);
}

.orb-hero span:nth-child(12) {
  --size: 3px;
  --x: 67%;
  --y: 72%;
  --dx: -14px;
  --dy: -24px;
  --dur: 8.5s;
  --delay: -1.5s;
}

.orb-hero span:nth-child(13) {
  --size: 5px;
  --x: 35%;
  --y: 43%;
  --dx: 16px;
  --dy: -16px;
  --dur: 11.2s;
  --delay: -6.8s;
}

.orb-hero span:nth-child(14) {
  --size: 4px;
  --x: 58%;
  --y: 56%;
  --dx: -16px;
  --dy: 16px;
  --dur: 9.2s;
  --delay: -4.5s;
}

.orb-hero span:nth-child(15) {
  --size: 6px;
  --x: 77%;
  --y: 16%;
  --dx: -20px;
  --dy: 22px;
  --dur: 12.8s;
  --delay: -8.2s;
}

.orb-hero span:nth-child(16) {
  --size: 3px;
  --x: 23%;
  --y: 51%;
  --dx: 22px;
  --dy: 14px;
  --dur: 7.8s;
  --delay: -2.7s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 70%);
}

.orb-hero span:nth-child(17) {
  --size: 4px;
  --x: 44%;
  --y: 74%;
  --dx: 15px;
  --dy: -22px;
  --dur: 10.7s;
  --delay: -6.2s;
}

.orb-hero span:nth-child(18) {
  --size: 5px;
  --x: 87%;
  --y: 39%;
  --dx: -24px;
  --dy: -8px;
  --dur: 11.8s;
  --delay: -3.3s;
}

.orb-hero span:nth-child(19) {
  --size: 4px;
  --x: 7%;
  --y: 26%;
  --dx: 26px;
  --dy: 18px;
  --dur: 12.4s;
  --delay: -7.4s;
}

.orb-hero span:nth-child(20) {
  --size: 3px;
  --x: 31%;
  --y: 18%;
  --dx: -18px;
  --dy: 28px;
  --dur: 9.6s;
  --delay: -4.1s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 70%);
}

.orb-hero span:nth-child(21) {
  --size: 6px;
  --x: 47%;
  --y: 34%;
  --dx: 20px;
  --dy: -20px;
  --dur: 13.6s;
  --delay: -9.5s;
  opacity: 0.42;
}

.orb-hero span:nth-child(22) {
  --size: 4px;
  --x: 63%;
  --y: 17%;
  --dx: -22px;
  --dy: 24px;
  --dur: 10.4s;
  --delay: -6.3s;
}

.orb-hero span:nth-child(23) {
  --size: 3px;
  --x: 79%;
  --y: 62%;
  --dx: -26px;
  --dy: -16px;
  --dur: 8.9s;
  --delay: -2.9s;
}

.orb-hero span:nth-child(24) {
  --size: 5px;
  --x: 55%;
  --y: 80%;
  --dx: 18px;
  --dy: -26px;
  --dur: 12.1s;
  --delay: -8.7s;
}

.orb-hero span:nth-child(25) {
  --size: 3px;
  --x: 18%;
  --y: 82%;
  --dx: 24px;
  --dy: -18px;
  --dur: 10.9s;
  --delay: -5.2s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 68%);
}

.orb-hero span:nth-child(26) {
  --size: 7px;
  --x: 94%;
  --y: 50%;
  --dx: -30px;
  --dy: 10px;
  --dur: 14.2s;
  --delay: -11.1s;
  opacity: 0.38;
  filter: blur(1px);
}

.orb-hero span:nth-child(27) {
  --size: 4px;
  --x: 41%;
  --y: 58%;
  --dx: -20px;
  --dy: -18px;
  --dur: 9.8s;
  --delay: -1.9s;
}

.orb-hero span:nth-child(28) {
  --size: 4px;
  --x: 11%;
  --y: 14%;
  --dx: 22px;
  --dy: 24px;
  --dur: 13.4s;
  --delay: -8.6s;
}

.orb-hero span:nth-child(29) {
  --size: 5px;
  --x: 24%;
  --y: 36%;
  --dx: -18px;
  --dy: 26px;
  --dur: 10.6s;
  --delay: -3.8s;
}

.orb-hero span:nth-child(30) {
  --size: 3px;
  --x: 37%;
  --y: 88%;
  --dx: 20px;
  --dy: -30px;
  --dur: 9.4s;
  --delay: -6.9s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 68%);
}

.orb-hero span:nth-child(31) {
  --size: 6px;
  --x: 52%;
  --y: 12%;
  --dx: -24px;
  --dy: 22px;
  --dur: 14.5s;
  --delay: -10.2s;
  opacity: 0.46;
}

.orb-hero span:nth-child(32) {
  --size: 4px;
  --x: 68%;
  --y: 84%;
  --dx: 18px;
  --dy: -28px;
  --dur: 11.5s;
  --delay: -4.8s;
}

.orb-hero span:nth-child(33) {
  --size: 5px;
  --x: 82%;
  --y: 13%;
  --dx: -26px;
  --dy: 20px;
  --dur: 12.7s;
  --delay: -7.8s;
}

.orb-hero span:nth-child(34) {
  --size: 3px;
  --x: 96%;
  --y: 32%;
  --dx: -34px;
  --dy: 14px;
  --dur: 8.7s;
  --delay: -2.4s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 70%);
}

.orb-hero span:nth-child(35) {
  --size: 5px;
  --x: 6%;
  --y: 58%;
  --dx: 28px;
  --dy: -18px;
  --dur: 13.1s;
  --delay: -9.1s;
}

.orb-hero span:nth-child(36) {
  --size: 4px;
  --x: 16%;
  --y: 92%;
  --dx: 26px;
  --dy: -24px;
  --dur: 10.1s;
  --delay: -5.6s;
}

.orb-hero span:nth-child(37) {
  --size: 7px;
  --x: 72%;
  --y: 58%;
  --dx: -22px;
  --dy: -18px;
  --dur: 15.2s;
  --delay: -11.8s;
  opacity: 0.34;
  filter: blur(1px);
}

.orb-hero span:nth-child(38) {
  --size: 3px;
  --x: 88%;
  --y: 76%;
  --dx: -30px;
  --dy: -22px;
  --dur: 9.3s;
  --delay: -3.1s;
}

.orb-hero span:nth-child(39) {
  --size: 4px;
  --x: 31%;
  --y: 7%;
  --dx: 20px;
  --dy: 30px;
  --dur: 11.9s;
  --delay: -8.1s;
}

.orb-hero span:nth-child(40) {
  --size: 5px;
  --x: 45%;
  --y: 72%;
  --dx: -16px;
  --dy: -26px;
  --dur: 12.9s;
  --delay: -6.4s;
}

.orb-hero span:nth-child(41) {
  --size: 3px;
  --x: 58%;
  --y: 42%;
  --dx: 22px;
  --dy: 18px;
  --dur: 8.4s;
  --delay: -1.4s;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 70%);
}

.orb-hero span:nth-child(42) {
  --size: 5px;
  --x: 76%;
  --y: 94%;
  --dx: -24px;
  --dy: -32px;
  --dur: 14.1s;
  --delay: -10.7s;
}

.orb-hero span:nth-child(43) {
  --size: 4px;
  --x: 92%;
  --y: 8%;
  --dx: -32px;
  --dy: 24px;
  --dur: 10.8s;
  --delay: -5.9s;
}

.orb-hero span:nth-child(44) {
  --size: 6px;
  --x: 3%;
  --y: 80%;
  --dx: 34px;
  --dy: -20px;
  --dur: 13.8s;
  --delay: -9.8s;
  opacity: 0.4;
}

.orb-hero span:nth-child(45) {
  --size: 3px;
  --x: 64%;
  --y: 4%;
  --dx: -18px;
  --dy: 32px;
  --dur: 9.1s;
  --delay: -2.6s;
}

.orb-hero span:nth-child(46) {
  --size: 4px;
  --x: 55%;
  --y: 96%;
  --dx: 18px;
  --dy: -34px;
  --dur: 11.2s;
  --delay: -7.2s;
}

.section-kicker {
  margin-bottom: 20px;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1;
}

.about .section-kicker,
.services .section-kicker,
.portfolio .section-kicker {
  font-family: "Cinzel", Georgia, serif;
}

.about {
  min-height: 45vh;
  padding: 58px 86px 54px;
}

.about,
.services {
  margin-bottom: clamp(54px, 8vh, 92px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(280px, 460px);
  gap: 34px;
  align-items: end;
}

.about h2,
.services-intro h2,
.portfolio-intro h2,
.offer h2 {
  margin: 0;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.55;
}

.about p,
.service-grid p,
.portfolio p,
.offer p {
  color: var(--muted-white);
  font-size: 0.94rem;
  line-height: 1.82;
}

.about p {
  max-width: 620px;
  margin: 18px 0 0;
}

.text-link {
  position: relative;
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.4;
  transition: color 220ms ease;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: var(--accent-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--accent-light);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
  width: min(460px, 100%);
  justify-self: start;
  min-width: 0;
}

.stats article {
  position: relative;
  min-width: 0;
  min-height: 122px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(199, 92, 145, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(94, 4, 40, 0.24), rgba(255, 255, 255, 0.035) 48%, rgba(0, 0, 0, 0.2)),
    rgba(255, 255, 255, 0.018);
  box-shadow: 0 18px 52px rgba(94, 4, 40, 0.14);
  overflow: hidden;
  transition:
    transform 260ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
  will-change: transform;
}

.stats article:hover {
  transform: translateY(-7px);
  border-color: rgba(199, 92, 145, 0.58);
  background:
    linear-gradient(145deg, rgba(94, 4, 40, 0.34), rgba(255, 255, 255, 0.055) 48%, rgba(0, 0, 0, 0.18)),
    rgba(255, 255, 255, 0.026);
  box-shadow: 0 24px 70px rgba(94, 4, 40, 0.24);
}

.stats article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 0%, rgba(199, 92, 145, 0.22), transparent 46%);
  pointer-events: none;
}

.stats strong {
  position: relative;
  display: block;
  font-size: 1.82rem;
  font-weight: 500;
  line-height: 1;
}

.stats span {
  position: relative;
  display: block;
  margin-top: 10px;
  color: var(--soft-white);
  font-size: 0.76rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.services {
  min-height: 100vh;
  height: 100vh;
  padding: 38px 86px 44px;
  overflow: hidden;
}

.services-intro {
  display: grid;
  grid-template-columns: minmax(280px, 520px) auto;
  justify-content: space-between;
  align-items: end;
  gap: 42px;
  margin-bottom: 24px;
}

.small-choice {
  min-width: 130px;
}

.service-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr 1.14fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  height: calc(100vh - 240px);
  min-height: 430px;
}

.service-grid article {
  position: relative;
  min-height: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--black);
  cursor: pointer;
  transition:
    transform 240ms cubic-bezier(0.23, 1, 0.32, 1),
    background 240ms ease,
    border-color 240ms ease,
    color 240ms ease,
    box-shadow 240ms ease;
}

.service-grid article:hover,
.service-grid article:focus-within {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 22px 62px rgba(94, 4, 40, 0.24);
  transform: translateY(-5px);
}

.service-grid article:nth-child(1) {
  grid-row: span 2;
  display: grid;
  align-content: end;
}

.service-grid article:nth-child(2) {
  grid-column: span 2;
}

.service-grid span {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  font-size: 0.66rem;
  font-weight: 800;
  transition:
    background 240ms ease,
    color 240ms ease;
}

.service-grid article:hover span,
.service-grid article:focus-within span {
  background: var(--black);
  color: var(--white);
}

.service-grid h3 {
  position: relative;
  z-index: 2;
  margin: 52px 0 10px;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-grid p {
  position: relative;
  z-index: 2;
  font-size: 0.88rem;
  line-height: 1.62;
  transition: color 240ms ease;
}

.service-grid article:hover p,
.service-grid article:focus-within p {
  color: rgba(0, 0, 0, 0.68);
}

.card-hit {
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
}

.card-hit:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: -6px;
}

.visual-card {
  display: none;
}

.orb-card {
  inset: 20px 32px 20px auto;
  width: 190px;
  height: 190px;
}

.portfolio {
  height: 100vh;
  min-height: 100vh;
  padding: 30px 86px 28px;
  overflow: hidden;
}

.portfolio .section-kicker {
  margin-bottom: 10px;
  font-size: 2.82rem;
}

.portfolio-intro {
  width: min(760px, 100%);
  margin-bottom: 14px;
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 330px);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: stretch;
  height: calc(100vh - 172px);
  min-height: 0;
}

.featured-case {
  display: grid;
  grid-template-columns: minmax(330px, 0.94fr) minmax(300px, 0.76fr);
  gap: 22px;
  min-height: 0;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    radial-gradient(circle at 74% 24%, rgba(94, 4, 40, 0.24), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(94, 4, 40, 0.12) 58%, rgba(0, 0, 0, 0.2));
  overflow: hidden;
}

.case-copy {
  display: grid;
  align-content: center;
  min-height: 0;
}

.case-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  color: var(--accent-light);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.case-copy h3 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1;
}

.case-lead {
  width: min(560px, 100%);
  margin: 14px 0 16px;
  color: var(--soft-white);
  font-size: 0.9rem;
  line-height: 1.62;
}

.case-steps {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-steps div {
  padding: 10px 12px;
  border: 1px solid rgba(199, 92, 145, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  transition:
    transform 240ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 240ms ease,
    background 240ms ease;
}

.case-steps div:hover {
  transform: translateY(-4px);
  border-color: rgba(199, 92, 145, 0.56);
  background: rgba(94, 4, 40, 0.16);
}

.case-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.case-steps p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
}

.case-tags {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  justify-content: start;
  gap: 7px;
  margin-top: 12px;
}

.case-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 26px;
  padding: 5px 10px;
  border: 1px solid rgba(199, 92, 145, 0.32);
  border-radius: 999px;
  color: var(--soft-white);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tag-brand {
  grid-column: 1;
  grid-row: 1;
}

.tag-site {
  grid-column: 2;
  grid-row: 1;
}

.tag-seo {
  grid-column: 3;
  grid-row: 1;
}

.tag-social {
  grid-column: 2;
  grid-row: 2;
}

.tag-ads {
  grid-column: 3;
  grid-row: 2;
}

.tag-software {
  grid-column: 1;
  grid-row: 2;
}

.case-visual {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 100%;
}

.case-visual::before,
.case-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.case-visual::before {
  inset: 12% 0 auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(199, 92, 145, 0.24), transparent 68%);
  filter: blur(8px);
}

.case-photo {
  appearance: none;
  display: block;
  position: relative;
  z-index: 1;
  width: min(390px, 100%);
  height: 228px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(94, 4, 40, 0.24);
  transition:
    transform 240ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.case-photo:hover,
.case-photo:focus-visible {
  border-color: rgba(199, 92, 145, 0.66);
  box-shadow: 0 28px 82px rgba(94, 4, 40, 0.34);
  transform: translateY(-4px);
}

.case-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.project-preview {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  width: min(300px, 88%);
  margin: -72px 0 0 auto;
  padding: 16px;
  border: 1px solid rgba(199, 92, 145, 0.38);
  border-radius: 8px;
  background: var(--black);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.project-logo {
  appearance: none;
  display: grid;
  justify-self: center;
  width: min(156px, 82%);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.project-logo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 220ms ease;
}

.project-logo:hover img,
.project-logo:focus-visible img {
  transform: scale(1.04);
}

.project-preview small {
  color: var(--accent-light);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-preview strong {
  display: block;
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.16rem;
  font-weight: 500;
  line-height: 1.22;
}

.case-metrics {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-height: 0;
}

.case-metrics article {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 0;
  padding: 16px;
  border: 1px solid rgba(199, 92, 145, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(94, 4, 40, 0.24), rgba(255, 255, 255, 0.035) 48%, rgba(0, 0, 0, 0.2)),
    rgba(255, 255, 255, 0.018);
  box-shadow: 0 18px 52px rgba(94, 4, 40, 0.14);
  overflow: hidden;
  transition:
    transform 260ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
  will-change: transform;
}

.case-metrics article:hover {
  transform: translateY(-7px);
  border-color: rgba(199, 92, 145, 0.58);
  background:
    linear-gradient(145deg, rgba(94, 4, 40, 0.34), rgba(255, 255, 255, 0.055) 48%, rgba(0, 0, 0, 0.18)),
    rgba(255, 255, 255, 0.026);
  box-shadow: 0 24px 70px rgba(94, 4, 40, 0.24);
}

.case-metrics article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 0%, rgba(199, 92, 145, 0.22), transparent 46%);
  pointer-events: none;
}

.case-metrics strong {
  position: relative;
  font-size: 1.86rem;
  font-weight: 500;
  line-height: 1;
}

.case-metrics span {
  position: relative;
  display: block;
  margin-top: 8px;
  color: var(--soft-white);
  font-size: 0.8rem;
  line-height: 1.35;
}

.portfolio-cta {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 248px;
  max-width: 300px;
  margin-top: 0;
  align-self: end;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 48px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  display: block;
  max-width: min(1120px, 92vw);
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.66);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(199, 92, 145, 0.62);
  border-radius: 50%;
  color: var(--white);
  background: rgba(94, 4, 40, 0.74);
  cursor: pointer;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(94, 4, 40, 0.92);
  transform: scale(1.04);
}

.is-lightbox-open {
  overflow: hidden;
}

.offer {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 90px 86px;
  overflow: hidden;
  text-align: center;
}

.offer-visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.offer-particles {
  top: 50%;
  left: 50%;
  width: min(920px, 78vw);
  height: 430px;
  opacity: 0.92;
  transform: translate(-50%, -50%);
}

.offer-particles::before {
  inset: 26% 34%;
  background: radial-gradient(circle, rgba(94, 4, 40, 0.3), transparent 70%);
  filter: blur(30px);
}

.offer-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  width: min(760px, 100%);
}

.offer h2 {
  font-family: "Cinzel", Georgia, serif;
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.16;
  text-transform: uppercase;
}

.offer p {
  width: min(700px, 100%);
  margin: 26px 0 24px;
  color: var(--soft-white);
  font-size: 1rem;
  line-height: 1.74;
}

.offer-cta {
  min-width: 286px;
  max-width: 330px;
  white-space: nowrap;
}

@keyframes orbDrift {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
    border-radius: 45% 55% 42% 58%;
  }
  40% {
    transform: translateY(18px) rotate(9deg) scale(1.02);
    border-radius: 52% 48% 58% 42%;
  }
  70% {
    transform: translateY(6px) rotate(-8deg) scale(0.99);
  }
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  45% {
    transform: translate3d(var(--dx), var(--dy), 0) scale(1.32);
  }
  72% {
    transform: translate3d(var(--dx2), var(--dy2), 0) scale(0.88);
  }
}

@keyframes particleGlow {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes scrollCueFloat {
  0%,
  100% {
    transform: translate(-50%, -2px);
    opacity: 0.72;
  }
  50% {
    transform: translate(-50%, 8px);
    opacity: 1;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .has-reveal .hero,
  .is-loaded .hero,
  .has-reveal .about-editorial,
  .is-loaded .about-editorial {
    filter: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .has-reveal .reveal {
    transform: translateY(16px);
  }

  .section-nav {
    right: 14px;
  }

  .topbar,
  .about,
  .services,
  .portfolio,
  .offer {
    padding-left: 48px;
    padding-right: 28px;
  }

  .main-nav {
    display: none;
  }

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

  .services {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .hero-content {
    width: min(760px, calc(100% - 80px));
    min-height: calc(100vh - 64px);
  }

  .hero-content h1 {
    font-size: clamp(2.7rem, 8vw, 3.35rem);
  }

  .about-grid,
  .services-intro,
  .case-study,
  .featured-case {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 26px;
  }

  .portfolio {
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .case-study {
    height: auto;
  }

  .featured-case {
    min-height: 0;
  }

  .case-visual {
    min-height: 320px;
  }

  .case-photo,
  .project-preview {
    margin-left: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .service-grid article {
    min-height: 210px;
  }

  .service-grid article:nth-child(1),
  .service-grid article:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }

  .offer h2 {
    font-size: clamp(2.55rem, 8vw, 3rem);
  }
}

@media (max-width: 620px) {
  .section-nav {
    display: none;
  }

  .topbar,
  .about,
  .services,
  .portfolio,
  .offer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .topbar {
    padding-top: 22px;
  }

  .wordmark {
    width: 92px;
  }

  .button {
    min-width: 136px;
    height: 42px;
    padding: 0 18px;
    font-size: 0.74rem;
  }

  .button:hover {
    transform: scale(1.03);
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    position: relative;
    z-index: 42;
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background:
      radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 42%),
      var(--accent);
    cursor: pointer;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
    transition:
      background 220ms ease,
      transform 220ms ease,
      box-shadow 220ms ease;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: var(--white);
    transition:
      opacity 180ms ease,
      background 220ms ease,
      transform 220ms ease;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus-visible,
  .mobile-menu-toggle[aria-expanded="true"] {
    transform: translateY(-1px);
    box-shadow: 0 18px 48px rgba(94, 4, 40, 0.34);
  }

  .mobile-menu {
    position: fixed;
    z-index: 40;
    top: 112px;
    right: 20px;
    display: grid;
    gap: 12px;
    width: min(260px, calc(100vw - 40px));
    padding: 22px;
    border: 1px solid rgba(199, 92, 145, 0.44);
    border-radius: 8px;
    background:
      radial-gradient(circle at 100% 0%, rgba(199, 92, 145, 0.24), transparent 42%),
      var(--accent);
    color: var(--white);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    position: relative;
    padding: 9px 0;
    color: var(--white);
    font-size: 1.02rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .mobile-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: auto;
    bottom: 2px;
    width: 34px;
    height: 1px;
    background: rgba(255, 255, 255, 0.72);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
  }

  .mobile-menu a:hover::after,
  .mobile-menu a:focus-visible::after {
    transform: scaleX(1);
  }

  .hero-content {
    width: calc(100% - 40px);
    min-height: calc(100vh - 60px);
    padding: 0 0 42px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 11vw, 2.62rem);
    line-height: 1.16;
  }

  .hero-content p {
    margin-top: 22px;
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .hero-cta {
    width: min(100%, 286px);
    min-width: 0;
    max-width: 100%;
    white-space: normal;
  }

  .scroll-cue {
    bottom: 18px;
    width: 38px;
    height: 38px;
  }

  .scroll-cue span {
    width: 20px;
    height: 20px;
    border-width: 3px;
  }

  .orb-hero {
    top: 50%;
    width: calc(100% - 34px);
    height: 280px;
    opacity: 0.74;
    transform: translate(-50%, -48%);
  }

  .offer-particles {
    width: calc(100% - 24px);
    height: 300px;
    opacity: 0.86;
    transform: translate(-50%, -50%);
  }

  .section-kicker {
    font-size: clamp(2.1rem, 11vw, 2.45rem);
    line-height: 1.06;
  }

  .about,
  .services {
    margin-bottom: 58px;
  }

  .about {
    padding-top: 54px;
    padding-bottom: 50px;
  }

  .about h2,
  .services-intro h2,
  .portfolio-intro h2 {
    font-size: 0.96rem;
  }

  .about p,
  .service-grid p,
  .portfolio p,
  .offer p {
    font-size: 0.9rem;
    line-height: 1.72;
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .stats article {
    min-height: 82px;
    padding: 12px 7px 10px;
  }

  .stats strong {
    font-size: 1.22rem;
  }

  .stats span {
    margin-top: 6px;
    font-size: 0.54rem;
    line-height: 1.28;
  }

  .service-grid {
    gap: 12px;
  }

  .service-grid article {
    min-height: 0;
    padding: 20px 18px 20px 64px;
  }

  .service-grid span {
    top: 22px;
    left: 18px;
    width: 30px;
    height: 30px;
    font-size: 0.64rem;
  }

  .service-grid h3 {
    margin: 0 0 12px;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .service-grid p {
    font-size: 0.86rem;
    line-height: 1.64;
  }

  .portfolio {
    height: auto;
    padding-top: 54px;
    padding-bottom: 28px;
  }

  .featured-case {
    display: grid;
    gap: 14px;
    padding: 18px;
  }

  .case-copy {
    display: contents;
  }

  .case-eyebrow {
    order: 1;
  }

  .case-copy h3 {
    order: 2;
    font-size: 2.35rem;
  }

  .case-lead {
    order: 3;
    font-size: 0.86rem;
  }

  .case-visual {
    order: 4;
  }

  .case-tags {
    display: none;
  }

  .case-steps div,
  .project-preview,
  .case-metrics article {
    padding: 18px;
  }

  .case-visual {
    min-height: 0;
  }

  .case-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 6px;
  }

  .case-metrics article {
    min-height: 88px;
    padding: 12px 6px 10px;
  }

  .case-metrics strong {
    font-size: 1.16rem;
  }

  .case-metrics span {
    font-size: 0.52rem;
    line-height: 1.28;
  }

  .case-steps {
    grid-template-columns: 1fr;
  }

  .case-photo {
    height: 188px;
  }

  .project-preview {
    width: 92%;
    margin-top: -56px;
    padding: 16px;
  }

  .portfolio-cta {
    width: min(100%, 280px);
    min-width: 0;
    max-width: 100%;
  }

  .offer {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 74px;
  }

  .lightbox {
    padding: 22px;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }

  .offer-cta {
    width: min(100%, 280px);
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    line-height: 1.2;
  }

  .offer h2 {
    font-size: clamp(2.05rem, 10vw, 2.45rem);
    line-height: 1.2;
  }
}

@media (max-width: 420px) {
  .topbar,
  .about,
  .services,
  .portfolio,
  .offer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .wordmark {
    width: 82px;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    width: 42px;
    height: 42px;
  }

  .mobile-menu-toggle span {
    width: 22px;
    height: 3px;
  }

  .mobile-menu {
    right: 16px;
    top: 104px;
    width: min(250px, calc(100vw - 32px));
  }

  .hero-content {
    width: calc(100% - 32px);
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .stats article {
    min-height: 78px;
    padding: 10px 5px 9px;
  }

  .stats strong,
  .case-metrics strong {
    font-size: 1.08rem;
  }

  .stats span,
  .case-metrics span {
    font-size: 0.52rem;
  }

  .case-metrics {
    gap: 6px;
  }

  .case-metrics article {
    min-height: 82px;
    padding: 10px 5px 9px;
  }

  .project-preview {
    width: 96%;
  }

  .portfolio {
    padding-bottom: 24px;
  }

  .offer {
    padding-top: 34px;
  }
}

.portfolio-page {
  background:
    radial-gradient(circle at 72% 8%, rgba(94, 4, 40, 0.24), transparent 34%),
    radial-gradient(circle at 15% 42%, rgba(199, 92, 145, 0.09), transparent 28%),
    var(--black);
}

.portfolio-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 24%),
    var(--black);
}

.portfolio-topbar {
  padding-bottom: 0;
}

.has-reveal .portfolio-topbar,
.has-reveal .portfolio-hero-panel,
.has-reveal .portfolio-collection,
.has-reveal .portfolio-final-cta {
  filter: blur(10px);
  opacity: 0.88;
  transform: translateY(10px) scale(1.01);
  transition:
    filter 900ms ease,
    opacity 900ms ease,
    transform 900ms cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}

.has-reveal .portfolio-collection {
  transition-delay: 80ms;
}

.has-reveal .portfolio-final-cta {
  transition-delay: 140ms;
}

.is-loaded .portfolio-topbar,
.is-loaded .portfolio-hero-panel,
.is-loaded .portfolio-collection,
.is-loaded .portfolio-final-cta {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.portfolio-hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.68fr);
  align-items: end;
  gap: 48px;
  padding: 88px 86px 44px;
  overflow: hidden;
}

.portfolio-particles {
  top: 48%;
  left: 50%;
  width: min(920px, 78vw);
  height: 360px;
  opacity: 0.55;
  transform: translate(-50%, -50%);
}

.portfolio-eyebrow {
  margin: 0 0 10px;
  color: var(--accent-light);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.portfolio-hero-panel h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(4rem, 9vw, 8.2rem);
  font-weight: 500;
  line-height: 0.92;
  text-transform: uppercase;
}

.portfolio-hero-panel p {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0;
  color: var(--soft-white);
  font-size: 1rem;
  line-height: 1.8;
}

.portfolio-collection {
  padding: 0 86px 22px;
}

.portfolio-filterbar {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 0 0 32px;
}

.portfolio-filterbar button {
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.portfolio-filterbar button:hover,
.portfolio-filterbar button:focus-visible,
.portfolio-filterbar button.is-active {
  color: var(--white);
  border-color: rgba(199, 92, 145, 0.76);
  background: var(--accent);
  transform: translateY(-2px);
}

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

.collection-card {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.collection-card[hidden] {
  display: none;
}

.collection-card.is-featured {
  grid-column: span 2;
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 0.72fr);
  align-items: stretch;
  padding: 18px;
  border: 1px solid rgba(199, 92, 145, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 0%, rgba(199, 92, 145, 0.16), transparent 38%),
    rgba(255, 255, 255, 0.018);
}

.collection-frame {
  position: relative;
  display: grid;
  min-height: 330px;
  padding: 18px;
  border: 1px solid rgba(199, 92, 145, 0.58);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(94, 4, 40, 0.92), rgba(94, 4, 40, 0.34) 42%, rgba(255, 255, 255, 0.04)),
    var(--black);
  overflow: hidden;
  box-shadow: 0 26px 74px rgba(94, 4, 40, 0.16);
}

.collection-frame.is-light {
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
  color: var(--black);
}

.collection-frame::before,
.collection-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.collection-frame::before {
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}

.collection-frame::after {
  inset: auto 50% 12px;
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(50%);
}

.frame-dot {
  position: absolute;
  z-index: 3;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 16px rgba(199, 92, 145, 0.7);
}

.dot-a {
  top: 10px;
  left: 10px;
}

.dot-b {
  top: 10px;
  right: 10px;
}

.dot-c {
  bottom: 10px;
  left: 10px;
}

.dot-d {
  right: 10px;
  bottom: 10px;
}

.collection-media {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 230px;
  place-items: center;
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(199, 92, 145, 0.22), transparent 40%),
    rgba(0, 0, 0, 0.38);
}

.collection-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.abstract-media span {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.16), transparent 44%),
    rgba(94, 4, 40, 0.52);
  font-family: "Cinzel", Georgia, serif;
  font-size: 2.4rem;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.is-light .abstract-media span {
  color: var(--black);
  border-color: rgba(94, 4, 40, 0.24);
  background:
    radial-gradient(circle at 35% 20%, rgba(94, 4, 40, 0.16), transparent 44%),
    rgba(255, 255, 255, 0.62);
}

.collection-info {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
}

.is-light .collection-info {
  background: var(--accent);
  color: var(--white);
}

.collection-info span {
  color: var(--soft-white);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.collection-info strong {
  display: block;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.collection-info a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.collection-card > p {
  margin: 0;
  color: var(--muted-white);
  font-size: 0.88rem;
  line-height: 1.66;
}

.collection-copy {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 10px 4px 10px 10px;
}

.collection-copy img {
  width: min(180px, 70%);
  margin-bottom: 24px;
}

.collection-copy h2 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.08;
}

.collection-copy p {
  margin: 18px 0 22px;
  color: var(--soft-white);
  font-size: 0.94rem;
  line-height: 1.72;
}

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

.mini-metrics span {
  display: grid;
  gap: 6px;
  min-height: 82px;
  padding: 12px 10px;
  border: 1px solid rgba(199, 92, 145, 0.28);
  border-radius: 8px;
  color: var(--soft-white);
  background:
    linear-gradient(145deg, rgba(94, 4, 40, 0.24), rgba(255, 255, 255, 0.035) 48%, rgba(0, 0, 0, 0.2)),
    rgba(255, 255, 255, 0.018);
  font-size: 0.68rem;
  line-height: 1.28;
}

.mini-metrics strong {
  color: var(--white);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1;
}

.portfolio-final-cta {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 44px 86px 92px;
  text-align: center;
}

.portfolio-final-cta h2 {
  width: min(850px, 100%);
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 500;
  line-height: 1.13;
  text-transform: uppercase;
}

.portfolio-final-cta p {
  width: min(680px, 100%);
  margin: 24px 0;
  color: var(--soft-white);
  line-height: 1.76;
}

.portfolio-final-button {
  min-width: 300px;
  max-width: 360px;
}

/* Chi siamo page */
.about-page {
  min-height: 100vh;
  background: #030303;
  overflow-x: clip;
}

.about-page-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

.about-topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  width: 100%;
  padding: 58px 86px 0;
}

.main-nav a.is-current {
  color: var(--white);
}

.about-editorial {
  position: relative;
  min-height: 100vh;
  padding: 270px 86px 64px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 82% 76%, rgba(199, 92, 145, 0.08), transparent 32%),
    #030303;
  box-shadow: none;
}

.about-editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background: transparent;
  mask-image: linear-gradient(90deg, #000, transparent 74%);
}

.about-editorial::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -7%;
  z-index: 0;
  width: min(760px, 52vw);
  height: min(560px, 44vw);
  background:
    radial-gradient(circle at 70% 76%, rgba(96, 4, 41, 0.28), transparent 42%);
  background-size: auto;
  opacity: 0.86;
  pointer-events: none;
}

.about-editorial > * {
  position: relative;
  z-index: 1;
}

.about-orbits {
  position: absolute;
  inset: 410px auto auto 0;
  z-index: 0;
  width: 42%;
  height: 720px;
  opacity: 0.78;
}

.about-orbits span {
  position: absolute;
  left: -12%;
  width: min(34vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(94, 4, 40, 0.2) 0 26%, rgba(94, 4, 40, 0.12) 42%, transparent 72%),
    repeating-radial-gradient(circle, transparent 0 28px, rgba(199, 92, 145, 0.72) 29px 30px, transparent 31px 58px);
  filter:
    drop-shadow(0 0 10px rgba(199, 92, 145, 0.45))
    drop-shadow(0 0 34px rgba(94, 4, 40, 0.5))
    drop-shadow(0 0 72px rgba(94, 4, 40, 0.32));
  isolation: isolate;
}

.about-orbits span::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: -1;
  border-radius: inherit;
  background:
    repeating-radial-gradient(circle, transparent 0 28px, rgba(199, 92, 145, 0.48) 29px 31px, transparent 32px 58px);
  filter: blur(12px);
  opacity: 0.85;
}

.about-orbits span:first-child {
  top: -4%;
}

.about-orbits span:last-child {
  top: 420px;
  background:
    radial-gradient(circle, rgba(94, 4, 40, 0.2) 0 26%, rgba(94, 4, 40, 0.12) 42%, transparent 72%),
    repeating-radial-gradient(circle, transparent 0 34px, rgba(199, 92, 145, 0.64) 35px 36px, transparent 37px 68px);
}

.about-orbits span:last-child::before {
  background:
    repeating-radial-gradient(circle, transparent 0 34px, rgba(199, 92, 145, 0.42) 35px 37px, transparent 38px 68px);
}

.about-title-block {
  width: min(760px, 58vw);
  margin-left: 42vw;
}

.about-title-block h1 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(4.3rem, 8vw, 7.8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-title-block h1 span,
.about-title-block h1 strong {
  display: block;
}

.about-title-block h1 strong {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7);
}

.about-grid-glow {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: min(600px, 44vw);
  height: min(420px, 34vw);
  pointer-events: none;
}

.about-story {
  width: min(600px, 46vw);
  margin: 72px 8vw 0 auto;
}

.about-story h2 {
  margin: 0 0 28px;
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}

.about-story p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1rem;
  line-height: 1.78;
}

.about-story p + p {
  margin-top: 22px;
}

.about-story h3 {
  margin: 46px 0 18px;
  color: var(--white);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.45rem, 2.25vw, 2.2rem);
  font-weight: 500;
  line-height: 1.08;
}

.about-photo {
  margin: 46px 0 54px;
  overflow: hidden;
  border: 1px solid rgba(199, 92, 145, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 70px rgba(94, 4, 40, 0.22);
}

.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.about-visual-card {
  width: min(600px, 46vw);
  min-height: 260px;
  margin: 68px 8vw 0 auto;
  padding: 28px;
  display: grid;
  align-items: start;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(199, 92, 145, 0.42);
  background:
    radial-gradient(circle at 18% 24%, rgba(199, 92, 145, 0.52), transparent 18%),
    linear-gradient(135deg, rgba(94, 4, 40, 0.5), rgba(255, 255, 255, 0.08) 52%, rgba(94, 4, 40, 0.24)),
    #111;
  box-shadow: 0 22px 70px rgba(94, 4, 40, 0.28);
}

.about-card-rotator {
  position: relative;
  width: 100%;
  min-height: 100%;
}

.about-card-message {
  position: absolute;
  inset: 0 0 auto;
  opacity: 0;
  transform: translateY(14px);
  animation: aboutCardCycle 16s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  will-change: opacity, transform;
}

.about-card-message:nth-child(2) {
  animation-delay: 4s;
}

.about-card-message:nth-child(3) {
  animation-delay: 8s;
}

.about-card-message:nth-child(4) {
  animation-delay: 12s;
}

.about-visual-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-light);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-visual-card strong {
  display: block;
  width: 100%;
  max-width: none;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  font-weight: 500;
  line-height: 1.08;
  white-space: normal;
}

@keyframes aboutCardCycle {
  0%,
  100% {
    opacity: 0;
    transform: translateY(14px);
  }

  6%,
  22% {
    opacity: 1;
    transform: translateY(0);
  }

  28% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-card-message {
    display: none;
    position: relative;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .about-card-message:first-child {
    display: block;
  }
}

.about-vertical-word {
  position: absolute;
  left: 72px;
  bottom: 68px;
  display: block;
  width: 238px;
  height: 430px;
  text-transform: uppercase;
  transform: none;
}

.about-vertical-word span {
  position: absolute;
  right: -4px;
  bottom: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--white);
  -webkit-text-stroke: 0;
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(4.35rem, 7vw, 7.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.82;
}

.about-vertical-word strong {
  position: absolute;
  left: 0;
  bottom: 18px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.24);
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
}

@media (max-width: 1100px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-card.is-featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .portfolio-hero-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 64px 20px 34px;
  }

  .portfolio-hero-panel h1 {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .portfolio-collection,
  .portfolio-final-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .portfolio-filterbar {
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .portfolio-filterbar button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.64rem;
  }

  .portfolio-grid,
  .collection-card.is-featured {
    grid-template-columns: 1fr;
  }

  .collection-card.is-featured {
    padding: 12px;
  }

  .collection-frame {
    min-height: 300px;
  }

  .collection-copy {
    padding: 6px 2px 4px;
  }

  .mini-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .mini-metrics span {
    min-height: 78px;
    padding: 10px 6px;
    font-size: 0.55rem;
  }

  .mini-metrics strong {
    font-size: 1.05rem;
  }

  .portfolio-final-cta {
    padding-top: 36px;
    padding-bottom: 68px;
  }
}

@media (max-width: 430px) {
  .portfolio-hero-panel,
  .portfolio-collection,
  .portfolio-final-cta {
    padding-left: 16px;
    padding-right: 16px;
  }

  .collection-info {
    grid-template-columns: 1fr;
    border-radius: 8px;
  }

  .collection-info a {
    justify-self: start;
  }
}

.portfolio-page .portfolio-hero-panel {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 22px;
  padding: 112px 86px 54px;
  text-align: center;
}

.portfolio-page .portfolio-hero-panel h1 {
  font-size: clamp(3.6rem, 8vw, 6.7rem);
  line-height: 0.94;
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.55);
  letter-spacing: 0.14em;
}

.portfolio-page .portfolio-hero-panel p {
  width: min(720px, 100%);
  max-width: none;
  text-align: center;
}

.text-accent {
  display: inline-block;
  padding: 0.02em 0.28em 0.08em;
  border-radius: 999px;
  color: var(--white);
  background: #600429;
  font-weight: 800;
}

.portfolio-page .portfolio-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.82;
  transform: none;
  filter: drop-shadow(0 0 28px rgba(96, 4, 41, 0.18));
}

.portfolio-page .portfolio-hero-panel {
  overflow: visible;
}

.portfolio-page .portfolio-topbar,
.portfolio-page .portfolio-hero-panel > div:not(.portfolio-particles),
.portfolio-page .portfolio-hero-panel > p,
.portfolio-page .portfolio-collection,
.portfolio-page .portfolio-final-cta {
  position: relative;
  z-index: 2;
}

.old-portfolio-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-top: 22px;
}

.portfolio-page .portfolio-collection {
  padding-bottom: 22px;
}

.old-portfolio-layout .portfolio-filterbar {
  justify-content: center;
  margin-bottom: 48px;
}

.old-portfolio-layout .portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.old-portfolio-layout .collection-card {
  position: relative;
  gap: 0;
  padding: 12px;
  border: 1px solid #600429;
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.16), transparent 32%),
    #600429;
  box-shadow:
    0 16px 42px rgba(96, 4, 41, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition:
    transform 260ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
  will-change: transform;
}

.old-portfolio-layout .collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.13), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(199, 92, 145, 0.12), transparent 28%);
  pointer-events: none;
}

.old-portfolio-layout .collection-card:hover {
  transform: translateY(-7px);
  border-color: #600429;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.2), transparent 34%),
    #600429;
  box-shadow:
    0 22px 58px rgba(96, 4, 41, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.old-portfolio-layout .collection-frame {
  position: relative;
  z-index: 1;
  min-height: 0;
  padding: 12px;
  border: 1px solid #600429;
  border-radius: 8px;
  background: var(--black);
  box-shadow:
    0 0 0 1px rgba(96, 4, 41, 0.22),
    inset 0 0 22px rgba(96, 4, 41, 0.16);
}

.old-portfolio-layout .collection-frame::before {
  display: none;
}

.old-portfolio-layout .collection-frame::after {
  display: none;
}

.old-portfolio-layout .collection-frame.is-light {
  background: var(--black);
}

.old-portfolio-layout .collection-frame.is-light::before {
  border-color: rgba(94, 4, 40, 0.14);
}

.old-portfolio-layout .collection-frame.is-light::after {
  background: rgba(94, 4, 40, 0.36);
}

.old-portfolio-layout .collection-media {
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 0;
  border-radius: 4px;
  overflow: hidden;
}

.old-portfolio-layout .logo-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.old-portfolio-layout .logo-light img,
.old-portfolio-layout .logo-navy img,
.old-portfolio-layout .logo-dark img {
  transform: scale(1.08);
}

.old-portfolio-layout .logo-dark {
  background: #000;
}

.old-portfolio-layout .logo-navy {
  background: #07033f;
}

.old-portfolio-layout .logo-light {
  background: #f4f1ec;
}

.old-portfolio-layout .collection-info {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 9px;
  padding: 12px;
  border-radius: 4px;
  background: var(--white);
  color: var(--black);
}

.old-portfolio-layout .collection-info strong {
  color: var(--black);
  font-size: 0.7rem;
}

.old-portfolio-layout .collection-info span {
  display: block;
  margin-top: 4px;
  color: rgba(0, 0, 0, 0.52);
  font-size: 0.56rem;
}

.old-portfolio-layout .collection-info a {
  min-height: 28px;
  padding: 0 11px;
  color: var(--white);
  background: var(--black);
  font-size: 0.56rem;
  transition:
    background 220ms ease,
    transform 220ms ease;
}

.old-portfolio-layout .collection-info a:hover,
.old-portfolio-layout .collection-info a:focus-visible {
  background: var(--accent);
  transform: translateY(-1px);
}

.old-portfolio-layout .frame-dot {
  display: none;
}

@media (max-width: 980px) {
  .about-page-shell {
    width: 100%;
    padding-top: 0;
  }

  .about-topbar {
    grid-template-columns: 1fr auto;
    padding: 28px 42px 0;
  }

  .about-editorial {
    min-height: 100vh;
    padding: 164px 42px 132px;
  }

  .about-title-block,
  .about-story {
    width: 100%;
    margin-left: 0;
  }

  .about-title-block h1 {
    font-size: clamp(3.6rem, 15vw, 6.4rem);
  }

  .about-story {
    margin-top: 48px;
  }

  .about-visual-card {
    width: 100%;
    margin: 42px 0 0;
  }

  .about-vertical-word {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    margin-top: 46px;
    display: flex;
    align-items: baseline;
    gap: 10px;
  }

  .about-vertical-word span {
    position: static;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: clamp(2.4rem, 10vw, 4rem);
    line-height: 0.9;
  }

  .about-vertical-word strong {
    position: static;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: clamp(0.85rem, 3.6vw, 1.15rem);
    line-height: 1;
  }

}

@media (max-width: 640px) {
  .about-page-shell {
    width: 100%;
    padding: 0;
  }

  .about-topbar {
    padding: 22px 20px 42px;
  }

  .about-editorial {
    min-height: 100vh;
    padding: 148px 22px 190px;
  }

  .about-orbits {
    width: 100%;
    opacity: 0.42;
    inset: 270px auto auto 0;
  }

  .about-orbits span {
    left: -46%;
    width: 360px;
  }

  .about-title-block h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  .about-story h2 {
    font-size: 1.2rem;
  }

  .about-story p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .about-visual-card {
    min-height: 220px;
    padding: 24px;
  }

  .about-vertical-word {
    gap: 8px;
    flex-wrap: wrap;
  }

  .about-vertical-word span {
    font-size: clamp(2rem, 12vw, 3.1rem);
  }

  .about-vertical-word strong {
    font-size: 0.9rem;
  }

}

@media (max-width: 980px) {
  .portfolio-page .portfolio-topbar {
    grid-template-columns: 1fr auto auto;
    padding: 28px 42px 0;
  }

  .portfolio-page .header-cta {
    display: inline-flex;
  }

  .portfolio-page .mobile-menu-toggle {
    position: relative;
    z-index: 42;
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background:
      radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 42%),
      var(--accent);
    cursor: pointer;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
    transition:
      transform 220ms ease,
      box-shadow 220ms ease;
  }

  .portfolio-page .mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: var(--white);
    transition:
      opacity 180ms ease,
      transform 220ms ease;
  }

  .portfolio-page .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .portfolio-page .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.2);
  }

  .portfolio-page .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .portfolio-page .mobile-menu-toggle:hover,
  .portfolio-page .mobile-menu-toggle:focus-visible,
  .portfolio-page .mobile-menu-toggle[aria-expanded="true"] {
    transform: translateY(-1px);
    box-shadow: 0 18px 48px rgba(94, 4, 40, 0.34);
  }

  .portfolio-page .mobile-menu {
    position: fixed;
    z-index: 40;
    top: 104px;
    right: 42px;
    display: grid;
    gap: 12px;
    width: min(280px, calc(100vw - 84px));
    padding: 22px;
    border: 1px solid rgba(199, 92, 145, 0.44);
    border-radius: 8px;
    background:
      radial-gradient(circle at 100% 0%, rgba(199, 92, 145, 0.24), transparent 42%),
      var(--accent);
    color: var(--white);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  }

  .portfolio-page .mobile-menu[hidden] {
    display: none;
  }

  .portfolio-page .mobile-menu a {
    position: relative;
    padding: 9px 0;
    color: var(--white);
    font-size: 1.02rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .portfolio-page .portfolio-hero-panel {
    padding: 96px 42px 46px;
  }

  .portfolio-page .portfolio-hero-panel h1 {
    font-size: clamp(3.2rem, 11vw, 5.4rem);
    letter-spacing: 0.1em;
  }

  .portfolio-page .portfolio-hero-panel p {
    width: min(640px, 100%);
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .old-portfolio-layout {
    width: min(760px, 100%);
    padding-left: 42px;
    padding-right: 42px;
  }

  .old-portfolio-layout .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .portfolio-page .portfolio-final-cta {
    padding: 42px 42px 78px;
  }
}

@media (max-width: 900px) {
  .old-portfolio-layout .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .portfolio-page .portfolio-topbar {
    grid-template-columns: 1fr auto;
    padding: 22px 20px 0;
  }

  .portfolio-page .wordmark {
    width: 90px;
  }

  .portfolio-page .header-cta {
    display: none;
  }

  .portfolio-page .mobile-menu {
    top: 94px;
    right: 20px;
    width: min(260px, calc(100vw - 40px));
  }

  .portfolio-page .portfolio-hero-panel {
    gap: 18px;
    padding: 78px 20px 36px;
  }

  .portfolio-page .portfolio-hero-panel h1 {
    width: 100%;
    font-size: clamp(2.35rem, 12vw, 3.45rem);
    line-height: 0.98;
    letter-spacing: 0.035em;
    text-align: center;
  }

  .portfolio-page .portfolio-hero-panel p {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    font-size: 0.92rem;
    line-height: 1.68;
    text-align: center;
    overflow-wrap: normal;
  }

  .portfolio-page .text-accent {
    white-space: nowrap;
  }

  .old-portfolio-layout {
    width: min(420px, 100%);
    padding: 12px 20px 0;
  }

  .old-portfolio-layout .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .old-portfolio-layout .collection-card {
    padding: 9px;
    border-radius: 8px;
  }

  .old-portfolio-layout .collection-frame {
    padding: 9px;
    border-radius: 7px;
  }

  .old-portfolio-layout .collection-info {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px;
  }

  .old-portfolio-layout .collection-info strong {
    font-size: 0.66rem;
  }

  .old-portfolio-layout .collection-info span,
  .old-portfolio-layout .collection-info a {
    font-size: 0.52rem;
  }

  .old-portfolio-layout .collection-info a {
    min-height: 28px;
    padding: 0 10px;
    white-space: nowrap;
  }

  .portfolio-page .portfolio-final-cta {
    padding: 34px 20px 68px;
  }

  .portfolio-page .portfolio-final-cta h2 {
    font-size: clamp(2.05rem, 11vw, 3.1rem);
    line-height: 1.16;
  }

  .portfolio-page .portfolio-final-cta p {
    margin: 20px 0 24px;
    font-size: 0.92rem;
  }

  .portfolio-final-button {
    width: min(100%, 310px);
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: 45px;
    padding: 10px 18px;
    line-height: 1.18;
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .portfolio-page .portfolio-hero-panel {
    padding-top: 68px;
  }

  .portfolio-page .portfolio-hero-panel h1 {
    font-size: clamp(2.05rem, 11.5vw, 2.85rem);
    letter-spacing: 0.02em;
  }

  .portfolio-page .portfolio-hero-panel p {
    max-width: 300px;
    font-size: 0.88rem;
    line-height: 1.72;
  }

  .old-portfolio-layout .collection-info {
    grid-template-columns: 1fr;
    border-radius: 6px;
  }

  .old-portfolio-layout .collection-info a {
    justify-self: start;
  }
}

/* ========================= CASE STUDY: FENERGY
 * ========================= */

.case-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 8%, rgba(94, 4, 40, 0.18), transparent 26%),
    radial-gradient(circle at 16% 48%, rgba(96, 4, 41, 0.14), transparent 30%),
    var(--black);
  color: var(--white);
}

.case-shell {
  position: relative;
  overflow: hidden;
}

.case-page .case-topbar {
  position: relative;
  z-index: 20;
}

.fenergy-case {
  background: var(--black);
}

.fenergy-case .case-topbar {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  background: transparent;
}

.fenergy-case .section-nav span {
  color: #d7ff00;
}

.fenergy-case .section-nav button {
  background: rgba(216, 255, 0, 0.28);
  box-shadow:
    0 0 0 1px rgba(216, 255, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.fenergy-case .section-nav button.is-active {
  background: #d7ff00;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 12px rgba(216, 255, 0, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.equestrian-case {
  --equestrian-navy: #07053d;
  --equestrian-blue: #11105a;
  --equestrian-gold: #01984a;
  --equestrian-green: #2f8b5f;
  background: var(--black);
}

.equestrian-case .case-topbar {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  background: transparent;
}

.equestrian-case .section-nav span {
  color: var(--equestrian-gold);
}

.equestrian-case .section-nav button {
  background: rgba(1, 152, 74, 0.25);
  box-shadow:
    0 0 0 1px rgba(1, 152, 74, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.equestrian-case .section-nav button.is-active {
  background: var(--equestrian-gold);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 0 12px rgba(1, 152, 74, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.equestrian-hero {
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.74fr);
  gap: clamp(48px, 5vw, 88px);
  min-height: 100vh;
  max-height: 100vh;
  padding: 116px 72px 56px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 32%, rgba(1, 152, 74, 0.16), transparent 32%),
    radial-gradient(circle at 24% 80%, rgba(47, 139, 95, 0.16), transparent 30%),
    linear-gradient(135deg, #030311 0%, var(--equestrian-navy) 44%, #050505 100%);
}

.equestrian-case .case-kicker {
  color: var(--equestrian-gold);
  font-size: clamp(1.02rem, 1.24vw, 1.34rem);
  letter-spacing: 0;
}

.equestrian-hero .case-kicker {
  margin-bottom: 24px;
}

.equestrian-hero h1 {
  max-width: 920px;
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(3.8rem, 5.4vw, 6.8rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

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

.equestrian-hero .case-hero-copy > p:not(.case-kicker) {
  width: min(940px, 100%);
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.05rem, 1.28vw, 1.34rem);
  line-height: 1.45;
}

.equestrian-hero .case-hero-card {
  min-height: min(46vw, 540px);
  border-color: rgba(1, 152, 74, 0.34);
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(1, 152, 74, 0.16), transparent 36%),
    var(--equestrian-navy);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.equestrian-hero .case-hero-card img {
  width: min(82%, 500px);
  filter: drop-shadow(0 18px 34px rgba(1, 152, 74, 0.16));
}

.equestrian-hero .case-hero-copy.reveal {
  transform: translateX(-42px);
  transition:
    opacity 760ms ease,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.equestrian-hero .case-hero-card.reveal {
  transform: translateX(46px) scale(0.96);
  transition:
    opacity 820ms ease 120ms,
    transform 980ms cubic-bezier(0.16, 1, 0.3, 1) 120ms;
}

.equestrian-hero .case-hero-copy.reveal.is-visible,
.equestrian-hero .case-hero-card.reveal.is-visible {
  transform: translateX(0) scale(1);
}

.equestrian-case .page-section[data-section="01"] {
  background: #0b1122;
}

.equestrian-case .page-section[data-section="02"] {
  background: #060440;
  box-shadow: 0 0 0 100vmax #060440;
  clip-path: inset(0 -100vmax);
}

.equestrian-case .page-section[data-section="03"] {
  background: #0b1122;
}

.equestrian-case .page-section[data-section="04"] {
  background: #060440;
  box-shadow: 0 0 0 100vmax #060440;
  clip-path: inset(0 -100vmax);
}

.equestrian-case .page-section[data-section="05"] {
  background: #0b1122;
}

.equestrian-case .page-section[data-section="06"] {
  background: #01984a;
  color: var(--white);
}

.equestrian-case .page-section[data-section="06"] p {
  color: var(--white);
}

.equestrian-case .page-section[data-section="06"] .button {
  background: #060440;
  color: var(--white);
}

.equestrian-case .page-section[data-section="06"] .button:not(:hover) {
  color: var(--white);
}

.equestrian-case .case-main-result,
.equestrian-case .case-metric-card strong,
.equestrian-case .case-metric-card span,
.equestrian-case .case-metric-card em,
.equestrian-case .case-service-card h3,
.equestrian-case .case-service-icon {
  color: var(--equestrian-gold);
}

.equestrian-case .case-metric-card {
  background: #070707;
}

.equestrian-case .case-metric-card:nth-child(2) {
  background: var(--equestrian-gold);
}

.equestrian-case .case-metric-card:nth-child(2) strong,
.equestrian-case .case-metric-card:nth-child(2) span,
.equestrian-case .case-metric-card:nth-child(2) em {
  color: #07053d;
}

.equestrian-case .case-service-card {
  background: #0b1122;
}

.equestrian-case .case-service-card:hover {
  border-color: rgba(1, 152, 74, 0.78);
  background-color: #101a32;
}

.equestrian-case .case-services {
  display: grid;
  align-content: center;
  min-height: 100vh;
}

.equestrian-case .case-services-heading {
  width: min(1120px, 100%);
  margin: 0 auto 24px;
}

.equestrian-case .equestrian-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1120px, 100%);
  margin: 0 auto;
}

.equestrian-case .case-metric-grid {
  grid-template-columns: repeat(2, minmax(190px, 250px));
  gap: 34px;
}

.equestrian-case .case-metric-card {
  overflow: hidden;
  min-height: 210px;
  padding: 30px 28px;
}

.equestrian-case .case-metric-card strong {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 1.75vw, 2rem);
  line-height: 1.05;
  white-space: normal;
}

.equestrian-case .case-metric-card span {
  font-size: clamp(1.18rem, 1.35vw, 1.48rem);
  line-height: 1.08;
  white-space: normal;
}

.equestrian-case .case-metric-card em {
  margin-top: 16px;
  font-size: clamp(0.95rem, 1.12vw, 1.14rem);
  line-height: 1.12;
  white-space: normal;
}

.equestrian-case .case-gallery-card {
  border-color: rgba(1, 152, 74, 0.18);
  background: #060440;
}

.equestrian-case .case-gallery-card img {
  object-fit: cover;
  padding: 0;
  background: #060440;
}

.equestrian-case .case-gallery-card.case-gallery-logo img {
  object-fit: contain;
  padding: 42px;
}

.equestrian-case .case-gallery-card.is-active {
  border-color: rgba(1, 152, 74, 0.58);
}

.equestrian-case .case-final-cta {
  background: #01984a;
}

.equestrian-case .case-final-cta .button::before {
  background: var(--equestrian-navy);
}

.case-page .case-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  transform: none;
  pointer-events: none;
  opacity: 0.9;
}

.case-page .case-particles span {
  background:
    radial-gradient(circle, rgba(216, 255, 0, 0.5), transparent 42%),
    radial-gradient(circle, rgba(199, 92, 145, 0.8), transparent 64%);
  box-shadow:
    0 0 14px rgba(199, 92, 145, 0.32),
    0 0 22px rgba(216, 255, 0, 0.12);
}

.case-page .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.23, 1, 0.32, 1);
}

.case-page .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.case-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 112px);
  padding: 52px 86px 92px;
}

.fenergy-hero {
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.74fr);
  gap: clamp(48px, 5vw, 88px);
  min-height: 100vh;
  max-height: 100vh;
  padding: 116px 72px 56px;
  background: #1c1c1c;
  overflow: hidden;
}

.case-hero-copy,
.case-hero-card,
.case-section,
.case-final-cta > div {
  position: relative;
  z-index: 2;
}

.case-kicker {
  margin: 0 0 18px;
  color: #d7ff00;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fenergy-case .case-kicker {
  color: #d7ff00;
  font-size: clamp(1.02rem, 1.24vw, 1.34rem);
  letter-spacing: 0;
}

.fenergy-hero .case-kicker {
  margin-bottom: 24px;
  color: #d7ff00;
}

.case-hero h1,
.case-copy-block h2,
.case-section-heading h2,
.case-final-cta h2 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.case-hero h1 {
  max-width: 920px;
  font-size: clamp(4.2rem, 7.3vw, 8.7rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.fenergy-hero h1 {
  max-width: 880px;
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(4rem, 5.9vw, 7.25rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.case-hero h1 span {
  color: #d7ff00;
}

.case-hero-copy > p:not(.case-kicker) {
  width: min(720px, 100%);
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.05rem, 1.35vw, 1.42rem);
  line-height: 1.55;
}

.fenergy-hero .case-hero-copy > p:not(.case-kicker) {
  width: min(940px, 100%);
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1.05rem, 1.28vw, 1.34rem);
  line-height: 1.45;
}

.case-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.case-link {
  position: relative;
  color: var(--soft-white);
  font-weight: 700;
}

.case-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.case-link:hover::after {
  transform: scaleX(1);
}

.case-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.case-socials a {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #d7ff00;
  transition:
    transform 220ms ease,
    color 220ms ease,
    filter 220ms ease;
}

.case-socials a:hover {
  color: var(--white);
  filter: drop-shadow(0 0 14px rgba(216, 255, 0, 0.34));
  transform: translateY(-3px);
}

.case-socials svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-socials a:first-child svg {
  width: 88%;
  height: 88%;
}

.case-socials a:nth-child(3) svg {
  fill: currentColor;
  stroke: none;
}

.case-hero-card {
  display: grid;
  place-items: center;
  min-height: 430px;
  border: 1px solid rgba(199, 92, 145, 0.34);
  border-radius: 10px;
  background:
    radial-gradient(circle at 22% 15%, rgba(96, 4, 41, 0.76), transparent 38%),
    linear-gradient(145deg, #600429, #070707 58%);
  box-shadow:
    0 34px 100px rgba(96, 4, 41, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.fenergy-hero .case-hero-card {
  min-height: min(46vw, 540px);
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
}

.case-hero-card img {
  width: min(82%, 520px);
  height: auto;
  filter: drop-shadow(0 18px 36px rgba(216, 255, 0, 0.16));
}

.fenergy-hero .case-hero-card img {
  width: min(88%, 520px);
  filter: none;
}

.fenergy-hero .case-hero-copy.reveal {
  transform: translateX(-42px);
  transition:
    opacity 760ms ease,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fenergy-hero .case-hero-card.reveal {
  transform: translateX(46px) scale(0.96);
  transition:
    opacity 820ms ease 120ms,
    transform 980ms cubic-bezier(0.16, 1, 0.3, 1) 120ms;
}

.fenergy-hero .case-hero-copy.reveal.is-visible,
.fenergy-hero .case-hero-card.reveal.is-visible {
  transform: translateX(0) scale(1);
}

.equestrian-hero {
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.74fr);
  gap: clamp(48px, 5vw, 88px);
  min-height: 100vh;
  max-height: 100vh;
  padding: 116px 72px 56px;
  background: #1c1c1c;
  overflow: hidden;
}

.equestrian-hero .case-kicker {
  margin-bottom: 24px;
  color: var(--equestrian-gold);
}

.equestrian-hero h1 {
  max-width: 880px;
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(4rem, 5.9vw, 7.25rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

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

.equestrian-hero .case-hero-copy > p:not(.case-kicker) {
  width: min(940px, 100%);
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1.05rem, 1.28vw, 1.34rem);
  line-height: 1.45;
}

.equestrian-hero .case-hero-card {
  min-height: min(46vw, 540px);
  border: 0;
  border-radius: 0;
  background: #000;
  padding: 0;
  margin-top: clamp(32px, 4vh, 58px);
  box-shadow: none;
}

.equestrian-hero .case-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  filter: none;
}

.equestrian-hero .case-hero-copy.reveal {
  transform: translateX(-42px);
  transition:
    opacity 760ms ease,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.equestrian-hero .case-hero-card.reveal {
  transform: translateX(46px) scale(0.96);
  transition:
    opacity 820ms ease 120ms,
    transform 980ms cubic-bezier(0.16, 1, 0.3, 1) 120ms;
}

.equestrian-hero .case-hero-copy.reveal.is-visible,
.equestrian-hero .case-hero-card.reveal.is-visible {
  transform: translateX(0) scale(1);
}

.case-page .reveal-from-left {
  transform: translateX(-42px);
  transition:
    opacity 760ms ease,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.case-page .reveal-from-right {
  transform: translateX(46px);
  transition:
    opacity 820ms ease 100ms,
    transform 980ms cubic-bezier(0.16, 1, 0.3, 1) 100ms;
}

.case-page .reveal-from-left.is-visible,
.case-page .reveal-from-right.is-visible {
  transform: translateX(0);
}

.case-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: center;
  gap: 58px;
  width: min(1460px, calc(100% - 172px));
  margin: 0 auto;
  padding: 76px 0;
}

.case-copy-block h2,
.case-section-heading h2 {
  max-width: 760px;
  font-size: clamp(2.25rem, 3.6vw, 5rem);
  line-height: 1.05;
}

.case-copy-block p:not(.case-kicker) {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1.04rem, 1.18vw, 1.28rem);
  line-height: 1.75;
}

.case-story {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.88fr);
  align-items: start;
  gap: clamp(62px, 7vw, 118px);
  min-height: 100vh;
  padding-top: 78px;
  padding-bottom: 72px;
}

.case-story .case-kicker {
  margin-bottom: 18px;
  font-size: clamp(1.02rem, 1.24vw, 1.34rem);
}

.case-story .case-copy-block h2 {
  display: none;
}

.case-story .case-lead {
  max-width: 650px;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.18rem, 1.45vw, 1.55rem);
  font-weight: 800;
  line-height: 1.42;
}

.case-story .case-copy-block p:not(.case-kicker):not(.case-lead) {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(1.06rem, 1.22vw, 1.32rem);
  font-weight: 700;
  line-height: 1.52;
}

.case-story-right {
  display: grid;
  gap: 18px;
  align-self: center;
  padding-top: 94px;
}

.case-story-right .case-copy-block p:not(.case-kicker) {
  max-width: 760px;
  margin-top: 0;
}

.case-story-right strong {
  color: var(--white);
}

.case-story .case-image {
  max-width: 760px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.case-story .case-image img {
  min-height: 340px;
  max-height: 400px;
  object-position: center top;
}

.case-image {
  cursor: zoom-in;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(199, 92, 145, 0.36);
  border-radius: 10px;
  background: #060606;
  box-shadow: 0 28px 80px rgba(96, 4, 41, 0.22);
}

.case-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition:
    transform 700ms cubic-bezier(0.23, 1, 0.32, 1),
    filter 700ms ease;
}

.case-image-main img {
  object-position: center top;
}

.case-image:hover img {
  transform: scale(1.035);
  filter: contrast(1.04) saturate(1.05);
}

.case-work {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.case-results {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 72vh;
  width: 100%;
  padding: 76px min(12.7vw, 238px);
  background: #1c1c1c;
}

.case-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 196px));
  gap: 34px;
  align-items: center;
}

.case-metric-card {
  display: grid;
  align-content: center;
  min-height: 194px;
  padding: 28px 18px;
  border: 0;
  border-radius: 8px;
  background: #070707;
  box-shadow: none;
  transform-origin: center;
  animation: fenergyMetricBreath 4s ease-in-out infinite;
  animation-delay: 0s;
  transition: transform 260ms ease;
  will-change: transform;
}

.case-metric-card:hover {
  animation-play-state: paused;
  transform: perspective(900px) translateZ(14px) scale(1.012);
  box-shadow: none;
}

.case-metric-card strong {
  display: block;
  margin-bottom: 18px;
  color: #d7ff00;
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(1.65rem, 2.05vw, 2rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transform-origin: left center;
  animation: none;
}

.case-metric-card span {
  display: block;
  color: #d7ff00;
  font-size: clamp(1.35rem, 1.72vw, 1.68rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  transform-origin: left center;
  animation: none;
}

.case-metric-card em {
  display: block;
  margin-top: 16px;
  color: #d7ff00;
  font-size: clamp(1.05rem, 1.28vw, 1.24rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
  transform-origin: left center;
  animation: none;
}

.case-metric-card:nth-child(2) {
  background: #d7ff00;
}

.case-metric-card:nth-child(2) strong,
.case-metric-card:nth-child(2) span,
.case-metric-card:nth-child(2) em {
  animation-delay: 0s;
}

.case-metric-card:nth-child(2) strong,
.case-metric-card:nth-child(2) span,
.case-metric-card:nth-child(2) em {
  color: var(--black);
}

.case-results-main .case-kicker {
  margin-bottom: 44px;
}

.case-main-result {
  display: block;
  color: #d7ff00;
  font-family: "Anton", "Raleway", Arial, sans-serif;
  font-size: clamp(7.2rem, 11vw, 13.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.78;
  text-shadow: 0 0 28px rgba(216, 255, 0, 0.12);
  transform-origin: left center;
  animation: fenergyMetricBreath 4s ease-in-out infinite;
  animation-delay: 0s;
  will-change: transform;
}

.case-results .case-main-result,
.case-results .case-metric-card {
  animation-delay: 0s;
}

.case-results-main h2 {
  margin-top: 58px;
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(1.55rem, 1.8vw, 1.92rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.case-results-main p:not(.case-kicker) {
  max-width: 720px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(1.08rem, 1.22vw, 1.26rem);
  font-weight: 800;
  line-height: 1.52;
}

@keyframes fenergyMetricBreath {
  0% {
    transform: perspective(900px) translateZ(0) scale(1);
  }

  50% {
    transform: perspective(900px) translateZ(22px) scale(1.028);
  }

  100% {
    transform: perspective(900px) translateZ(0) scale(1);
  }
}

.case-services,
.case-gallery {
  display: block;
}

.case-services {
  min-height: 100vh;
  padding-top: 84px;
  padding-bottom: 84px;
}

.case-section-heading {
  margin-bottom: 34px;
}

.case-services-heading {
  margin-bottom: 18px;
}

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

.case-service-card {
  min-height: 286px;
  padding: 36px 30px 30px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
  background: #1c1c1c;
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease;
}

.case-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215, 255, 0, 0.8);
  background-color: #202020;
}

.case-service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 48px;
  color: #d7ff00;
}

.case-service-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-service-card h3 {
  margin: 0 0 8px;
  color: #d7ff00;
  font-size: clamp(1.35rem, 1.55vw, 1.78rem);
  font-weight: 900;
  text-transform: uppercase;
}

.case-service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1.06rem, 1.22vw, 1.32rem);
  font-weight: 700;
  line-height: 1.36;
}

.case-gallery {
  width: 100%;
  min-height: 100vh;
  padding: 76px 0 48px;
  background: #1c1c1c;
}

.case-gallery-panel {
  width: min(1460px, calc(100% - 172px));
  min-height: auto;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  color: var(--white);
}

.case-carousel {
  position: relative;
  height: 468px;
  margin: 54px auto 0;
  perspective: 1100px;
}

.case-gallery-card {
  cursor: pointer;
  position: absolute;
  top: 32px;
  left: 50%;
  display: block;
  width: min(540px, 41vw);
  height: 400px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 255, 0, 0.14);
  border-radius: 22px;
  background: #050505;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  clip-path: inset(0 round 22px);
  contain: paint;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transform: translateX(-50%) scale(0.72);
  transition:
    transform 520ms cubic-bezier(0.23, 1, 0.32, 1),
    opacity 420ms ease,
    filter 420ms ease,
    border-color 420ms ease;
}

.case-gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform 700ms cubic-bezier(0.23, 1, 0.32, 1);
}

.case-gallery-card span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.92);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.case-gallery-card.is-active {
  cursor: zoom-in;
  z-index: 4;
  opacity: 1;
  filter: none;
  border-color: rgba(215, 255, 0, 0.56);
  transform: translateX(-50%) translateY(-8px) scale(1);
}

.case-gallery-card.is-active:hover img {
  transform: translateZ(0) scale(1.012);
}

.case-gallery-card.is-prev {
  z-index: 3;
  opacity: 1;
  filter: none;
  transform: translateX(calc(-50% - 390px)) translateY(46px) scale(0.82);
}

.case-gallery-card.is-next {
  z-index: 3;
  opacity: 1;
  filter: none;
  transform: translateX(calc(-50% + 390px)) translateY(46px) scale(0.82);
}

.case-gallery-card.is-far-prev {
  z-index: 1;
  opacity: 1;
  filter: none;
  transform: translateX(calc(-50% - 640px)) translateY(80px) scale(0.68);
}

.case-gallery-card.is-far-next,
.case-gallery-card.is-far {
  z-index: 1;
  opacity: 1;
  filter: none;
  transform: translateX(calc(-50% + 640px)) translateY(80px) scale(0.68);
}

.case-gallery-card.is-hidden {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(90px) scale(0.58);
}

.case-gallery-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.case-gallery-controls button {
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: var(--white);
  color: #600429;
  transition:
    transform 220ms ease,
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

.case-gallery-controls button:hover {
  border-color: #600429;
  background: #600429;
  color: var(--white);
  transform: translateY(-2px);
}

.case-gallery-controls svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-final-cta {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 48vh;
  padding: 92px 86px 98px;
  overflow: hidden;
  text-align: center;
  background: #d7ff00;
  color: var(--black);
}

.case-final-cta h2 {
  width: min(1180px, 100%);
  margin: 0 auto;
  font-family: "Anton", "Raleway", Arial, sans-serif;
  font-size: clamp(2.25rem, 3.55vw, 4.12rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.case-final-cta p {
  width: min(820px, 100%);
  margin: 22px auto 24px;
  color: var(--black);
  font-size: clamp(1.02rem, 1.28vw, 1.42rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.25;
}

.case-final-cta .button {
  min-width: 234px;
  max-width: none;
  height: 52px;
  border: 0;
  border-radius: 0;
  background: var(--black);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 900;
}

.case-final-cta .button:not(:hover) {
  color: var(--white);
}

.case-final-cta .button::before {
  background: #600429;
}

.case-final-cta .button:hover {
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.case-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 36px;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(10px);
}

.case-lightbox[hidden] {
  display: none;
}

.case-lightbox img {
  max-width: min(1180px, 100%);
  max-height: 86vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.56);
}

.case-lightbox button {
  cursor: pointer;
  position: fixed;
  top: 28px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 0;
  line-height: 1;
}

.case-lightbox button::before,
.case-lightbox button::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.case-lightbox button::before {
  transform: rotate(45deg);
}

.case-lightbox button::after {
  transform: rotate(-45deg);
}

@media (max-width: 1180px) {
  .case-hero,
  .case-section {
    width: auto;
    padding-left: 52px;
    padding-right: 52px;
  }

  .case-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 74px;
  }

  .fenergy-hero {
    gap: 42px;
    min-height: 100vh;
    max-height: none;
    padding-top: 62px;
  }

  .equestrian-hero {
    gap: 42px;
    min-height: 100vh;
    max-height: none;
    padding-top: 62px;
  }

  .fenergy-hero h1 {
    max-width: 100%;
    font-size: clamp(4rem, 10vw, 6.8rem);
  }

  .equestrian-hero h1 {
    max-width: 100%;
    font-size: clamp(3.6rem, 9vw, 6.2rem);
  }

  .case-hero-card {
    min-height: 340px;
  }

  .case-section,
  .case-work,
  .case-results {
    grid-template-columns: 1fr;
  }

  .case-results {
    width: 100%;
    gap: 42px;
    min-height: auto;
    padding: 72px 52px;
  }

  .case-metric-grid {
    justify-content: start;
  }

  .case-story {
    min-height: auto;
    gap: 34px;
    padding-top: 76px;
  }

  .case-story-right {
    padding-top: 0;
  }

  .case-services {
    min-height: auto;
  }

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

  .case-service-card {
    min-height: 250px;
  }

  .case-gallery {
    padding-left: 20px;
    padding-right: 20px;
  }

  .case-gallery-card.is-prev {
    transform: translateX(calc(-50% - 300px)) translateY(48px) scale(0.78);
  }

  .case-gallery-card.is-next {
    transform: translateX(calc(-50% + 300px)) translateY(48px) scale(0.78);
  }

  .case-gallery-card.is-far-prev {
    transform: translateX(calc(-50% - 470px)) translateY(74px) scale(0.64);
  }

  .case-gallery-card.is-far-next,
  .case-gallery-card.is-far {
    transform: translateX(calc(-50% + 470px)) translateY(74px) scale(0.64);
  }

  .case-gallery-card.is-hidden {
    transform: translateX(-50%) translateY(86px) scale(0.56);
  }
}

@media (max-width: 768px) {
  .case-page .case-topbar {
    grid-template-columns: 1fr auto;
    padding: 22px 20px 0;
  }

  .case-page .wordmark {
    width: 92px;
  }

  .case-page .main-nav,
  .case-page .header-cta {
    display: none;
  }

  .case-page .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    justify-self: end;
  }

  .case-page .mobile-menu {
    position: fixed;
    z-index: 40;
    top: 98px;
    right: 20px;
    display: grid;
    gap: 12px;
    width: min(300px, calc(100vw - 40px));
    padding: 22px;
    border: 1px solid rgba(199, 92, 145, 0.44);
    border-radius: 8px;
    background:
      radial-gradient(circle at 100% 0%, rgba(199, 92, 145, 0.24), transparent 42%),
      var(--accent);
    color: var(--white);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  }

  .case-page .mobile-menu[hidden] {
    display: none;
  }

  .case-page .mobile-menu a {
    padding: 9px 0;
    color: var(--white);
    font-size: 1.02rem;
    font-weight: 800;
    text-transform: uppercase;
  }

  .case-hero,
  .case-section,
  .case-final-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .case-hero {
    gap: 30px;
    padding-top: 70px;
    padding-bottom: 54px;
    text-align: center;
  }

  .fenergy-hero {
    min-height: 100svh;
    padding-top: 128px;
    background: #1c1c1c;
  }

  .equestrian-hero {
    min-height: 100svh;
    padding-top: 128px;
  }

  .case-hero h1 {
    font-size: clamp(2.75rem, 12.6vw, 4.35rem);
  }

  .fenergy-hero h1 {
    font-size: clamp(2.9rem, 12.1vw, 4.25rem);
    line-height: 1.05;
  }

  .equestrian-hero h1 {
    font-size: clamp(2.55rem, 11vw, 4rem);
    line-height: 1.05;
  }

  .case-hero-copy > p:not(.case-kicker) {
    margin: 24px auto 0;
    font-size: 1rem;
  }

  .fenergy-hero .case-hero-copy > p:not(.case-kicker) {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .equestrian-hero .case-hero-copy > p:not(.case-kicker) {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .case-socials {
    justify-content: center;
    gap: 15px;
  }

  .case-socials a {
    width: 31px;
    height: 31px;
  }

  .case-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .case-hero-card {
    min-height: 250px;
  }

  .fenergy-hero .case-hero-card {
    min-height: 260px;
  }

  .equestrian-hero .case-hero-card {
    min-height: 260px;
  }

  .case-section {
    gap: 28px;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .case-story {
    gap: 34px;
    padding-top: 62px;
    text-align: left;
  }

  .case-story .case-lead {
    font-size: 1.08rem;
  }

  .case-story .case-copy-block p:not(.case-kicker):not(.case-lead) {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .case-story .case-image img {
    min-height: 245px;
    max-height: 320px;
  }

  .case-copy-block h2,
  .case-section-heading h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .case-copy-block p:not(.case-kicker) {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .case-results {
    padding: 58px 20px;
  }

  .case-main-result {
    font-size: clamp(5.4rem, 27vw, 8rem);
  }

  .case-results-main h2 {
    margin-top: 34px;
  }

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

  .case-metric-card {
    min-height: 132px;
    padding: 20px 12px;
  }

  .case-metric-card strong {
    margin-bottom: 10px;
    font-size: clamp(1.25rem, 6vw, 1.72rem);
  }

  .case-metric-card span,
  .case-metric-card em {
    font-size: clamp(0.82rem, 4.2vw, 1.05rem);
  }

  .case-metric-card em {
    margin-top: 10px;
  }

  .case-service-grid {
    grid-template-columns: 1fr;
  }

  .case-service-card {
    min-height: 0;
    padding: 28px 24px;
  }

  .case-service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 36px;
  }

  .case-gallery {
    min-height: auto;
    overflow: hidden;
    padding: 58px 0 66px;
  }

  .case-gallery-panel {
    width: 100%;
    min-height: 0;
    padding: 0 20px;
    overflow: visible;
  }

  .case-carousel {
    position: relative;
    display: block;
    height: 348px;
    margin-top: 34px;
    perspective: 900px;
  }

  .case-gallery-card,
  .case-gallery-card.is-active,
  .case-gallery-card.is-prev,
  .case-gallery-card.is-next,
  .case-gallery-card.is-far-prev,
  .case-gallery-card.is-far-next,
  .case-gallery-card.is-far,
  .case-gallery-card.is-hidden {
    position: absolute;
    top: 24px;
    left: 50%;
    width: min(78vw, 350px);
    height: 260px;
    min-height: 0;
    opacity: 1;
    pointer-events: auto;
    filter: none;
    transform: translateX(-50%) scale(0.7);
  }

  .case-gallery-card img {
    height: 100%;
  }

  .case-gallery-card.is-active {
    z-index: 5;
    transform: translateX(-50%) translateY(-4px) scale(1);
  }

  .case-gallery-card.is-prev {
    z-index: 4;
    transform: translateX(calc(-50% - 118px)) translateY(34px) scale(0.76);
  }

  .case-gallery-card.is-next {
    z-index: 4;
    transform: translateX(calc(-50% + 118px)) translateY(34px) scale(0.76);
  }

  .case-gallery-card.is-far-prev {
    z-index: 2;
    opacity: 0.72;
    transform: translateX(calc(-50% - 220px)) translateY(60px) scale(0.62);
  }

  .case-gallery-card.is-far-next,
  .case-gallery-card.is-far {
    z-index: 2;
    opacity: 0.72;
    transform: translateX(calc(-50% + 220px)) translateY(60px) scale(0.62);
  }

  .case-gallery-card.is-hidden {
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(68px) scale(0.54);
  }

  .case-gallery-controls {
    display: flex;
    margin-top: 8px;
  }

  .case-image img {
    min-height: 260px;
  }

  .case-final-cta {
    min-height: 46vh;
    padding-top: 70px;
    padding-bottom: 74px;
  }

  .case-final-cta h2 {
    font-size: clamp(1.82rem, 7.8vw, 2.65rem);
    line-height: 1.05;
  }

  .case-final-cta p {
    max-width: 620px;
    font-size: clamp(0.92rem, 4vw, 1.08rem);
    line-height: 1.32;
  }

  .case-final-cta .button,
  .case-actions .button {
    width: min(100%, 320px);
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: 48px;
    white-space: normal;
  }
}

@media (max-width: 430px) {
  .case-page .case-topbar {
    padding-top: 18px;
  }

  .case-hero h1 {
    font-size: clamp(2.35rem, 11.8vw, 3.05rem);
  }

  .fenergy-hero h1 {
    font-size: clamp(2.45rem, 11.4vw, 3.2rem);
  }

  .equestrian-hero h1 {
    font-size: clamp(2.25rem, 10.6vw, 3rem);
  }

  .fenergy-hero {
    padding-top: 118px;
  }

  .equestrian-hero {
    padding-top: 118px;
  }

  .case-hero-card {
    min-height: 210px;
  }

  .fenergy-hero .case-hero-card {
    min-height: 220px;
  }

  .equestrian-hero .case-hero-card {
    min-height: 220px;
  }

  .case-metric-card {
    padding: 16px 9px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .case-main-result,
  .case-metric-card,
  .case-metric-card strong,
  .case-metric-card span,
  .case-metric-card em {
    animation: none;
  }
}

/* ========================= COSA OFFRIAMO
 * ========================= */

.offers-page {
  min-height: 100vh;
  background: var(--black);
}

.offers-page-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
  background: transparent;
}

.has-reveal .offers-hero {
  filter: blur(8px);
  opacity: 0.92;
  transition:
    filter 780ms ease,
    opacity 780ms ease;
}

.is-loaded .offers-hero {
  filter: blur(0);
  opacity: 1;
}

.offers-topbar {
  position: relative;
  z-index: 5;
}

.offers-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 480px);
  align-items: end;
  gap: 70px;
  min-height: calc(100vh - 104px);
  padding: 130px 86px 96px;
}

.offers-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  display: none;
}

.offers-ambient span {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(199, 92, 145, 0.22);
  opacity: 0.72;
}

.offers-ambient span:nth-child(1) {
  width: 520px;
  height: 520px;
  left: -150px;
  bottom: 4%;
  box-shadow: 0 0 110px rgba(94, 4, 40, 0.2);
}

.offers-ambient span:nth-child(2) {
  width: 320px;
  height: 320px;
  right: 8%;
  top: 20%;
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 90px rgba(94, 4, 40, 0.18);
}

.offers-hero-copy,
.offers-hero-panel {
  position: relative;
  z-index: 1;
}

.offers-eyebrow,
.offers-section-heading span {
  margin: 0 0 18px;
  color: var(--accent-light);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offers-hero h1 {
  max-width: 1080px;
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(4.4rem, 8.4vw, 9.2rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
}

.offers-hero-copy > p:last-child {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.08rem, 1.35vw, 1.35rem);
  line-height: 1.7;
}

.offers-hero-panel {
  align-self: center;
  min-height: 390px;
  padding: 42px;
  border: 1px solid rgba(199, 92, 145, 0.46);
  background:
    radial-gradient(circle at 22% 18%, rgba(199, 92, 145, 0.34), transparent 24%),
    linear-gradient(135deg, rgba(94, 4, 40, 0.58), rgba(22, 22, 22, 0.92) 58%, rgba(94, 4, 40, 0.24));
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.offers-hero-panel span {
  color: var(--accent-light);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.offers-hero-panel strong {
  margin-top: 20px;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2.7rem, 4vw, 4.6rem);
  font-weight: 500;
  line-height: 1.05;
}

.offers-results {
  position: relative;
  z-index: 1;
  padding: 44px 86px 110px;
}

.offers-section-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
  gap: 54px;
  margin-bottom: 34px;
}

.offers-section-heading h2 {
  max-width: 680px;
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4.7rem);
  font-weight: 500;
  line-height: 1.04;
}

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

.offer-result-card {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(199, 92, 145, 0.38);
  background:
    radial-gradient(circle at 24% 18%, rgba(199, 92, 145, 0.25), transparent 28%),
    linear-gradient(145deg, rgba(94, 4, 40, 0.52), rgba(4, 4, 4, 0.96) 56%);
  color: var(--white);
  transition:
    transform 360ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 280ms ease,
    background 280ms ease,
    box-shadow 280ms ease;
}

.offer-result-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 280ms ease;
}

.offer-result-card:hover,
.offer-result-card:focus-visible {
  transform: translateY(-10px);
  border-color: rgba(199, 92, 145, 0.82);
  background:
    radial-gradient(circle at 24% 18%, rgba(199, 92, 145, 0.4), transparent 30%),
    linear-gradient(145deg, rgba(94, 4, 40, 0.74), rgba(4, 4, 4, 0.96) 56%);
  box-shadow: 0 24px 70px rgba(94, 4, 40, 0.26);
}

.offer-result-card:hover::before,
.offer-result-card:focus-visible::before {
  opacity: 1;
}

.offer-number {
  position: absolute;
  top: 26px;
  left: 26px;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-size: 0.74rem;
  font-weight: 900;
}

.offer-result-card h3 {
  position: relative;
  margin: 0;
  font-size: clamp(1.25rem, 1.65vw, 1.82rem);
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
}

.offer-result-card p {
  position: relative;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.65;
}

.offer-result-card ul {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.offer-result-card li {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(199, 92, 145, 0.46);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-card-link {
  position: relative;
  display: inline-flex;
  width: fit-content;
  margin-top: 30px;
  color: var(--accent-light);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-card-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.36);
  transform-origin: left;
  transition: transform 220ms ease;
}

.offer-result-card:hover .offer-card-link::after,
.offer-result-card:focus-visible .offer-card-link::after {
  transform: scaleX(1);
}

.offers-detail {
  display: grid;
  gap: 14px;
  padding: 0 86px 118px;
}

.offer-detail-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.offer-detail-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.offer-detail-row > span {
  color: var(--accent-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
}

.offer-detail-row h2 {
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.9rem, 3.4vw, 4.2rem);
  font-weight: 500;
  line-height: 1.05;
}

.offer-detail-row p {
  max-width: 850px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  line-height: 1.75;
}

.offers-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 86px 86px;
  padding: 34px 40px;
  border: 1px solid rgba(199, 92, 145, 0.42);
  background:
    radial-gradient(circle at 22% 50%, rgba(199, 92, 145, 0.24), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    rgba(255, 255, 255, 0.035);
  background-size: auto, 96px 96px, 96px 96px, auto;
}

.offers-cta p {
  max-width: 760px;
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 2.25rem);
  line-height: 1.08;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .offers-hero {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: auto;
    padding: 112px 48px 72px;
  }

  .offers-hero-panel {
    min-height: 270px;
  }

  .offers-results,
  .offers-detail {
    padding-left: 48px;
    padding-right: 48px;
  }

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

  .offer-result-card {
    min-height: 420px;
  }

  .offers-cta {
    margin-left: 48px;
    margin-right: 48px;
  }
}

@media (max-width: 760px) {
  .offers-page-shell {
    background-size: auto;
  }

  .offers-hero {
    padding: 94px 20px 54px;
  }

  .offers-hero h1 {
    font-size: clamp(2.72rem, 13vw, 4.7rem);
  }

  .offers-hero-copy > p:last-child {
    font-size: 1rem;
    line-height: 1.62;
  }

  .offers-hero-panel {
    min-height: 220px;
    padding: 28px;
  }

  .offers-hero-panel strong {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .offers-results,
  .offers-detail {
    padding-left: 20px;
    padding-right: 20px;
  }

  .offers-section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .offers-section-heading h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

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

  .offer-result-card {
    min-height: 340px;
    padding: 26px;
  }

  .offer-result-card p,
  .offer-detail-row p {
    font-size: 0.98rem;
  }

  .offers-detail {
    padding-bottom: 74px;
  }

  .offer-detail-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 26px 0;
  }

  .offer-detail-row > span {
    font-size: 1.36rem;
  }

  .offers-cta {
    flex-direction: column;
    align-items: flex-start;
    margin: 0 20px 54px;
    padding: 28px;
  }

  .offers-cta p {
    font-size: clamp(1.6rem, 9vw, 2.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-reveal .offers-hero,
  .is-loaded .offers-hero {
    filter: none;
    opacity: 1;
  }
}

/* Layout servizi a colonne */
.has-reveal .offers-topbar,
.has-reveal .offers-landing {
  filter: blur(8px);
  opacity: 0.92;
  transform: translateY(10px) scale(1.01);
  transition:
    filter 780ms ease,
    opacity 780ms ease,
    transform 780ms cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}

.is-loaded .offers-topbar,
.is-loaded .offers-landing {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.offers-landing {
  position: relative;
  min-height: calc(100vh - 98px);
  padding: 94px 86px 78px;
}

.offers-column-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  width: min(1460px, 100%);
  min-height: 560px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.62);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.4);
}

.offer-panel {
  position: relative;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 30px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  isolation: isolate;
  transition:
    background 260ms ease,
    transform 320ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 260ms ease;
}

.offer-panel:last-child {
  border-right: 0;
}

.offer-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(circle at 50% 34%, rgba(199, 92, 145, 0.32), transparent 38%);
  transition: opacity 260ms ease;
}

.offer-panel:hover,
.offer-panel:focus-visible {
  background: rgba(94, 4, 40, 0.2);
  transform: translateY(-6px);
}

.offer-panel:hover::after,
.offer-panel:focus-visible::after {
  opacity: 1;
}

.offer-panel-index {
  position: absolute;
  top: 28px;
  left: 28px;
  color: var(--accent-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.3rem;
}

.offer-panel-content {
  position: relative;
  z-index: 2;
}

.offer-panel-content p,
.offer-panel-headline > p:not(.offers-eyebrow),
.offer-panel-note {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
  line-height: 1.55;
}

.offer-panel-content p {
  max-width: 260px;
  margin: 0 0 16px;
}

.offer-panel h2 {
  max-width: 310px;
  margin: 0;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.7rem, 2vw, 2.35rem);
  font-weight: 500;
  line-height: 1.05;
}

.offer-panel-dark {
  background:
    linear-gradient(180deg, transparent 0%, rgba(94, 4, 40, 0.24) 100%),
    rgba(0, 0, 0, 0.64);
}

.offer-panel-visual {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(94, 4, 40, 0.5)),
    var(--accent);
}

.offer-panel-note {
  position: absolute;
  top: 28px;
  right: 24px;
  left: 74px;
  margin: 0;
  font-weight: 700;
}

.offer-panel-art {
  position: absolute;
  inset: 78px 20px 150px;
  display: grid;
  place-items: center;
}

.offer-panel-art span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.offer-panel-art span:nth-child(1) {
  width: 280px;
  height: 280px;
}

.offer-panel-art span:nth-child(2) {
  width: 180px;
  height: 180px;
}

.offer-panel-art span:nth-child(3) {
  width: 22px;
  height: 22px;
  border: 0;
  background: var(--white);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.5);
  transform: translate(95px, 100px);
}

.offer-panel-headline {
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.965);
  color: #080808;
}

.offer-panel-headline::after {
  display: none;
}

.offer-panel-headline:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.965);
}

.offer-panel-headline .offers-eyebrow {
  color: var(--accent);
}

.offer-panel-headline h1 {
  max-width: 440px;
  margin: 86px 0 20px;
  font-size: clamp(2.15rem, 3.15vw, 4.15rem);
  line-height: 1.02;
  text-transform: uppercase;
  color: #050505;
}

.offer-panel-headline > p:not(.offers-eyebrow) {
  max-width: 380px;
  color: rgba(0, 0, 0, 0.62);
}

.offer-headline-button {
  margin-top: 26px;
}

.offer-panel-split {
  background:
    radial-gradient(circle at 50% 22%, rgba(199, 92, 145, 0.2), transparent 35%),
    rgba(0, 0, 0, 0.7);
}

.offer-panel-mini {
  position: absolute;
  top: 112px;
  right: 24px;
  display: grid;
  gap: 10px;
}

.offer-panel-mini span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(199, 92, 145, 0.48);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-wide-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr minmax(260px, 420px);
  gap: 24px;
  align-items: center;
  width: min(1460px, 100%);
  margin: 18px auto 0;
  padding: 24px 30px;
  border: 1px solid rgba(199, 92, 145, 0.4);
  background:
    radial-gradient(circle at 18% 50%, rgba(199, 92, 145, 0.24), transparent 28%),
    rgba(255, 255, 255, 0.04);
  transition:
    transform 260ms ease,
    border-color 260ms ease;
}

.offer-wide-panel:hover,
.offer-wide-panel:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(199, 92, 145, 0.78);
}

.offer-wide-panel span {
  color: var(--accent-light);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.45rem;
}

.offer-wide-panel strong {
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.6rem, 2.5vw, 3rem);
  font-weight: 500;
}

.offer-wide-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .offers-landing {
    min-height: auto;
    padding: 82px 42px 64px;
  }

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

  .offer-panel:nth-child(2) {
    border-right: 0;
  }

  .offer-panel {
    min-height: 430px;
  }

  .offer-panel-headline {
    order: -1;
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .offer-panel-headline h1 {
    margin-top: 54px;
  }

  .offer-wide-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 720px) {
  .offers-landing {
    padding: 70px 20px 48px;
  }

  .offers-column-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .offer-panel,
  .offer-panel:nth-child(2) {
    min-height: 310px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 24px;
  }

  .offer-panel:last-child {
    border-bottom: 0;
  }

  .offer-panel-headline {
    min-height: 380px;
  }

  .offer-panel-headline h1 {
    margin-top: 44px;
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .offer-panel-art {
    inset: 70px 10px 120px;
  }

  .offer-panel-art span:nth-child(1) {
    width: 220px;
    height: 220px;
  }

  .offer-panel-art span:nth-child(2) {
    width: 140px;
    height: 140px;
  }

  .offer-panel-mini {
    top: 82px;
    right: 22px;
  }

  .offer-wide-panel {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-reveal .offers-landing,
  .is-loaded .offers-landing {
    filter: none;
    opacity: 1;
  }
}

/* Cosa Offriamo - card bianche con immagine in hover */
.offers-page .offers-landing {
  position: relative;
  min-height: 100vh;
  padding: 70px clamp(26px, 5.4vw, 86px) 28px;
}

.offers-page-heading {
  position: relative;
  z-index: 1;
  width: min(1500px, 100%);
  margin: 0 auto clamp(36px, 5vh, 64px);
}

.offers-page-heading h1 {
  margin: 0;
  color: #fff;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2.9rem, 5.1vw, 5.8rem);
  font-weight: 500;
  line-height: 0.94;
  text-transform: uppercase;
  text-shadow: 0 18px 54px rgba(96, 4, 41, 0.42);
}

.offers-page-heading h1 span,
.offers-page-heading h1 strong {
  display: inline-block;
}

.offers-page-heading h1 strong {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.72);
  text-stroke: 1px rgba(255, 255, 255, 0.72);
}

.offers-page .offers-column-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(1500px, 100%);
  min-height: 0;
  height: clamp(410px, 45vh, 530px);
  margin: 0 auto;
  border: 1px solid rgba(94, 4, 40, 0.24);
  background: #fff;
  box-shadow: 0 28px 90px rgba(94, 4, 40, 0.2);
  overflow: hidden;
}

.offers-page .offer-panel {
  position: relative;
  display: flex;
  min-height: 100%;
  align-items: flex-end;
  padding: clamp(28px, 3vw, 52px);
  overflow: hidden;
  color: #080808;
  background: #fff;
  border: 0;
  border-right: 1px solid rgba(94, 4, 40, 0.18);
  isolation: isolate;
  transform: none;
}

.offers-page .offer-panel:last-child {
  border-right: 0;
}

.offers-page .offer-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  height: auto;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 34%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.58) 34%, transparent 62%);
  opacity: 0;
  transition: opacity 520ms ease;
  pointer-events: none;
}

.offers-page .offer-panel:hover,
.offers-page .offer-panel:focus-visible {
  transform: none;
  background: #fff;
}

.offers-page .offer-panel-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transition: transform 780ms cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform;
}

.offers-page .from-top .offer-panel-media {
  transform: translateY(-101%);
}

.offers-page .from-bottom .offer-panel-media {
  transform: translateY(101%);
}

.offers-page .offer-panel:hover .offer-panel-media,
.offers-page .offer-panel:focus-visible .offer-panel-media,
.offers-page .offer-panel.is-mobile-preview .offer-panel-media {
  transform: translateY(0);
}

.offers-page .offer-panel:hover::after,
.offers-page .offer-panel:focus-visible::after,
.offers-page .offer-panel.is-mobile-preview::after {
  opacity: 1;
}

.offers-page .offer-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 900ms cubic-bezier(0.19, 1, 0.22, 1);
}

.offers-page .offer-panel:hover .offer-panel-media img,
.offers-page .offer-panel:focus-visible .offer-panel-media img,
.offers-page .offer-panel.is-mobile-preview .offer-panel-media img {
  transform: scale(1);
}

.offers-page .offer-panel-index {
  position: absolute;
  top: clamp(16px, 1.8vw, 28px);
  left: clamp(22px, 2.2vw, 34px);
  z-index: 2;
  padding: 6px 8px;
  margin-top: -6px;
  margin-left: -8px;
  color: var(--accent);
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  isolation: isolate;
  transition: color 360ms ease;
}

.offers-page .offer-panel-index::before {
  content: "";
  position: absolute;
  inset: -5px -7px;
  z-index: -1;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  pointer-events: none;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition: opacity 320ms ease, background 320ms ease, backdrop-filter 320ms ease;
}

.offers-page .offer-panel-content {
  position: absolute;
  left: clamp(28px, 3vw, 52px);
  right: clamp(20px, 2vw, 36px);
  bottom: clamp(18px, 2.2vw, 38px);
  z-index: 2;
  max-width: 92%;
  padding: 12px 14px;
  margin-left: -14px;
  margin-bottom: -12px;
}

.offers-page .offer-panel-content::before {
  content: "";
  position: absolute;
  inset: -8px -10px;
  z-index: -1;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0);
  opacity: 0;
  pointer-events: none;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition: opacity 320ms ease, background 320ms ease, backdrop-filter 320ms ease;
}

.offers-page .offer-panel-content p {
  margin: 0 0 12px;
  color: rgba(94, 4, 40, 0.72);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  transition: color 360ms ease;
}

.offers-page .offer-panel h2 {
  margin: 0;
  color: #5e0428;
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(1.35rem, 1.72vw, 2.18rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: color 360ms ease;
}

.offers-page .offer-panel h2 span {
  display: block;
}

@media (min-width: 761px) {
  .offers-page .offer-panel h2 span {
    white-space: nowrap;
  }
}

.offers-page .offer-panel:hover .offer-panel-index,
.offers-page .offer-panel:focus-visible .offer-panel-index,
.offers-page .offer-panel.is-mobile-preview .offer-panel-index {
  color: #fff;
}

.offers-page .offer-panel:hover h2,
.offers-page .offer-panel:focus-visible h2,
.offers-page .offer-panel.is-mobile-preview h2 {
  color: #fff;
}

.offers-page .offer-panel:hover .offer-panel-index::before,
.offers-page .offer-panel:focus-visible .offer-panel-index::before,
.offers-page .offer-panel.is-mobile-preview .offer-panel-index::before {
  opacity: 0;
  background: transparent;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
}

.offers-page .offer-panel:hover .offer-panel-content::before,
.offers-page .offer-panel:focus-visible .offer-panel-content::before,
.offers-page .offer-panel.is-mobile-preview .offer-panel-content::before {
  opacity: 0;
  background: transparent;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
}

.offers-page .offer-panel:hover .offer-panel-content p,
.offers-page .offer-panel:focus-visible .offer-panel-content p,
.offers-page .offer-panel.is-mobile-preview .offer-panel-content p {
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 1120px) {
  .offers-page .offers-column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .offers-page .offer-panel {
    min-height: 420px;
    border-bottom: 1px solid rgba(94, 4, 40, 0.18);
  }

  .offers-page .offer-panel:nth-child(2n) {
    border-right: 0;
  }

  .offers-page .offer-panel:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .offers-page .offers-landing {
    padding: 70px 20px 48px;
  }

  .offers-page-heading {
    margin-bottom: 20px;
    text-align: center;
  }

  .offers-page-heading h1 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
    line-height: 1.02;
  }

  .offers-page .offers-column-grid {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .offers-page .offer-panel:nth-child(odd) .offer-panel-media {
    transform: translateX(101%);
  }

  .offers-page .offer-panel:nth-child(even) .offer-panel-media {
    transform: translateX(-101%);
  }

  .offers-page .offer-panel.is-mobile-preview .offer-panel-media,
  .offers-page .offer-panel:hover .offer-panel-media,
  .offers-page .offer-panel:focus-visible .offer-panel-media {
    transform: translateX(0);
  }

  .offers-page .offer-panel,
  .offers-page .offer-panel:nth-child(2n),
  .offers-page .offer-panel:nth-last-child(-n + 2) {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid rgba(94, 4, 40, 0.18);
  }

  .offers-page .offer-panel:last-child {
    border-bottom: 0;
  }

  .offers-page .offers-cta {
    align-items: center;
    text-align: center;
  }

  .offers-page .offers-cta .button {
    width: min(100%, 320px);
    align-self: center;
  }
}

.offers-page .offers-cta {
  margin-top: 0;
}

.offers-page .offers-cta p {
  max-width: none;
  font-size: clamp(1.35rem, 2vw, 2.25rem);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .offers-page .offers-cta p {
    white-space: normal;
  }
}

.professional-page {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: #fff;
  font-family: "Raleway", sans-serif;
  overflow-x: hidden;
}

.professional-page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 13% 9%, rgba(96, 4, 41, 0.34), transparent 34rem),
    radial-gradient(circle at 90% 94%, rgba(96, 4, 41, 0.16), transparent 38rem),
    #000;
  background-size: auto, auto, auto;
}

.professional-topbar {
  max-width: 1680px;
  margin: 0 auto;
}

.professional-hero {
  max-width: 1680px;
  margin: 0 auto;
  padding: clamp(130px, 15vh, 184px) clamp(24px, 6vw, 96px) clamp(30px, 4vw, 54px);
}

.professional-kicker {
  margin: 0 0 18px;
  color: #d8649b;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.professional-title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(3.1rem, 6.6vw, 8rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.professional-title span {
  display: block;
}

.professional-title .outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.72);
  text-stroke: 1px rgba(255, 255, 255, 0.72);
}

.professional-board-section {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 96px) clamp(72px, 8vw, 120px);
}

.professional-board {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 620px;
  border: 1px solid rgba(128, 31, 80, 0.58);
  background: rgba(2, 2, 2, 0.92);
  box-shadow: 0 28px 90px rgba(96, 4, 41, 0.25);
}

.professional-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(30px, 4vw, 64px);
  border-right: 1px solid rgba(128, 31, 80, 0.45);
}

.professional-eyebrow {
  margin: 0 0 18px;
  color: #d8649b;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.professional-copy h2 {
  max-width: 11ch;
  margin: 0 0 26px;
  font-size: clamp(2rem, 3.2vw, 4rem);
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
}

.professional-lead {
  color: #fff !important;
  font-size: clamp(1.12rem, 1.35vw, 1.5rem) !important;
  font-weight: 700;
  line-height: 1.35 !important;
}

.professional-copy p:not(.professional-eyebrow) {
  max-width: 620px;
  margin: 0 0 18px;
  color: #c9c9c9;
  font-size: clamp(1rem, 1.05vw, 1.15rem);
  line-height: 1.65;
}

.professional-logo-mark {
  align-self: flex-start;
  width: min(330px, 62%);
  opacity: 0.22;
  filter: drop-shadow(0 0 28px rgba(128, 31, 80, 0.42));
}

.professional-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.professional-feature-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 44px);
  border-left: 1px solid rgba(128, 31, 80, 0.35);
  border-bottom: 1px solid rgba(128, 31, 80, 0.35);
  background: #050505;
  color: #fff;
  text-decoration: none;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.professional-feature-card:hover {
  border-color: #fff;
  background: #fff;
  color: #060606;
  box-shadow: 0 22px 50px rgba(96, 4, 41, 0.24);
  transform: translateY(-6px);
}

.professional-feature-number {
  color: #d55d9b;
  font-family: "Cinzel", serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.professional-feature-card:hover .professional-feature-number {
  color: #600429;
}

.professional-feature-card h3 {
  margin: auto 0 18px;
  font-size: clamp(1.35rem, 1.85vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.professional-feature-card p {
  max-width: 34ch;
  margin: 0;
  color: inherit;
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.78;
}

@media (max-width: 980px) {
  .professional-hero {
    padding-top: 120px;
  }

  .professional-board {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .professional-copy {
    border-right: 0;
    border-bottom: 1px solid rgba(128, 31, 80, 0.45);
  }

  .professional-feature-grid {
    grid-template-columns: 1fr;
  }

  .professional-feature-card {
    min-height: 240px;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .professional-page-shell {
    background-size: auto, auto, auto;
  }

  .professional-hero {
    padding: 112px 20px 34px;
  }

  .professional-title {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .professional-board-section {
    padding: 0 20px 72px;
  }

  .professional-copy {
    padding: 28px 22px;
  }

  .professional-copy h2 {
    max-width: 100%;
  }

  .professional-logo-mark {
    width: 220px;
    max-width: 74%;
  }

  .professional-feature-card {
    min-height: 220px;
    padding: 24px 22px;
  }
}

/* Pagina servizio - Immagine Digitale Professionale */
.professional-page .professional-topbar {
  position: relative;
  z-index: 20;
}

.professional-service-hero {
  position: relative;
  display: grid;
  min-height: clamp(560px, 72vh, 780px);
  width: min(1500px, calc(100% - clamp(40px, 10vw, 172px)));
  margin: clamp(42px, 6vw, 82px) auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #080808;
  box-shadow: 0 32px 100px rgba(96, 4, 41, 0.28);
  isolation: isolate;
}

.professional-service-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.professional-service-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.24) 44%, rgba(0, 0, 0, 0.74)),
    radial-gradient(circle at 48% 28%, rgba(128, 31, 80, 0.28), transparent 44%);
}

.professional-service-hero__content {
  align-self: center;
  justify-self: center;
  width: min(1100px, calc(100% - 40px));
  padding: clamp(70px, 10vw, 130px) 0;
  text-align: center;
}

.professional-service-kicker,
.professional-service-eyebrow {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.professional-service-title {
  margin: 0;
  color: #fff;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(3rem, 7vw, 8.4rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow:
    0 4px 24px rgba(0, 0, 0, 0.78),
    0 18px 70px rgba(0, 0, 0, 0.62);
  text-transform: uppercase;
}

.professional-service-hero__cta {
  position: absolute;
  right: clamp(24px, 3vw, 48px);
  bottom: clamp(24px, 3vw, 44px);
  min-width: 236px;
  max-width: none;
}

.professional-service-board {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(520px, 1.16fr);
  width: min(1500px, calc(100% - clamp(40px, 10vw, 172px)));
  margin: clamp(26px, 3vw, 42px) auto clamp(76px, 8vw, 128px);
  border: 1px solid rgba(128, 31, 80, 0.34);
  background: #fff;
  color: #080808;
  box-shadow: 0 24px 86px rgba(96, 4, 41, 0.22);
}

.professional-service-copy {
  position: relative;
  display: flex;
  min-height: 580px;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(34px, 4vw, 68px);
  overflow: hidden;
  border-right: 1px solid rgba(96, 4, 41, 0.18);
}

.professional-service-copy h2 {
  max-width: 8ch;
  margin: 0 0 24px;
  color: #600429;
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(2.15rem, 4vw, 4.7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.professional-service-copy p:not(.professional-service-eyebrow) {
  max-width: 590px;
  margin: 0 0 18px;
  color: rgba(0, 0, 0, 0.66);
  font-size: clamp(1rem, 1.08vw, 1.12rem);
  line-height: 1.72;
}

.professional-service-eyebrow {
  color: #801f50;
}

.professional-service-logo {
  width: min(300px, 72%);
  opacity: 0.12;
  filter: drop-shadow(0 0 22px rgba(96, 4, 41, 0.28));
}

.professional-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.professional-service-card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3vw, 48px);
  border: 0;
  border-right: 1px solid rgba(96, 4, 41, 0.16);
  border-bottom: 1px solid rgba(96, 4, 41, 0.16);
  background: #f7f4f5;
  color: #080808;
  transition:
    background 260ms ease,
    box-shadow 260ms ease,
    transform 260ms cubic-bezier(0.23, 1, 0.32, 1);
}

.professional-service-card:nth-child(2n) {
  border-right: 0;
}

.professional-service-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.professional-service-card:hover {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(96, 4, 41, 0.2), 0 18px 52px rgba(96, 4, 41, 0.16);
  transform: translateY(-4px);
}

.professional-service-card span {
  color: #801f50;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.14rem;
  font-weight: 700;
}

.professional-service-card h3 {
  max-width: 12ch;
  margin: auto 0 16px;
  color: #600429;
  font-size: clamp(1.45rem, 2.15vw, 2.55rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.professional-service-card p {
  max-width: 34ch;
  margin: 0;
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.98rem;
  line-height: 1.58;
}

@media (max-width: 1020px) {
  .professional-service-board {
    grid-template-columns: 1fr;
  }

  .professional-service-copy {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(96, 4, 41, 0.18);
  }
}

@media (max-width: 760px) {
  .professional-service-hero,
  .professional-service-board {
    width: calc(100% - 40px);
  }

  .professional-service-hero {
    min-height: 560px;
    margin-top: 44px;
  }

  .professional-service-hero__content {
    width: calc(100% - 34px);
  }

  .professional-service-title {
    font-size: clamp(2.05rem, 10.4vw, 3.4rem);
  }

  .professional-service-hero__cta {
    right: 20px;
    bottom: 20px;
    width: calc(100% - 40px);
    min-width: 0;
    max-width: none;
  }

  .professional-service-grid {
    grid-template-columns: 1fr;
  }

  .professional-service-card,
  .professional-service-card:nth-child(2n),
  .professional-service-card:nth-last-child(-n + 2) {
    min-height: 235px;
    border-right: 0;
    border-bottom: 1px solid rgba(96, 4, 41, 0.16);
  }

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

@media (max-width: 430px) {
  .professional-service-hero,
  .professional-service-board {
    width: calc(100% - 28px);
  }

  .professional-service-hero {
    min-height: 500px;
  }

  .professional-service-copy,
  .professional-service-card {
    padding: 26px 22px;
  }

  .professional-service-copy h2 {
    max-width: none;
  }
}

/* Pagina servizio - variante hero homepage + board nera */
.professional-page-shell {
  background:
    radial-gradient(circle at 14% 12%, rgba(96, 4, 41, 0.26), transparent 34rem),
    radial-gradient(circle at 86% 92%, rgba(96, 4, 41, 0.14), transparent 38rem),
    #000;
  background-size: auto, auto, auto;
}

.professional-home-hero {
  min-height: 100vh;
  max-height: 100vh;
  background: #000;
}

.professional-home-hero .professional-topbar {
  width: 100%;
  max-width: none;
}

.professional-home-hero__particles {
  opacity: 0.92;
}

.professional-home-hero__content h1 {
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(3.15rem, 5.35vw, 6.8rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
  text-transform: uppercase;
}

.professional-home-hero__content p {
  width: min(720px, 100%);
  color: rgba(255, 255, 255, 0.74);
}

.professional-home-hero .scroll-cue {
  color: #801f50;
}

.professional-service-board {
  grid-template-columns: minmax(340px, 0.84fr) minmax(520px, 1.16fr);
  width: min(1500px, calc(100% - clamp(40px, 8vw, 144px)));
  height: min(760px, calc(100vh - 56px));
  min-height: 620px;
  margin: clamp(28px, 4vw, 56px) auto clamp(34px, 5vw, 72px);
  scroll-margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #020202;
  color: #fff;
  box-shadow: 0 30px 110px rgba(96, 4, 41, 0.28);
  overflow: hidden;
}

.professional-service-copy {
  min-height: 0;
  height: 100%;
  padding: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: #020202;
  overflow: visible;
}

.professional-service-copy > div:first-child {
  padding: clamp(30px, 3.6vw, 56px);
}

.professional-service-eyebrow {
  color: #d8649b;
}

.professional-service-copy h2 {
  max-width: 8ch;
  color: #fff;
  margin-bottom: clamp(18px, 2vw, 24px);
  font-size: clamp(2.45rem, 4.2vw, 4.65rem);
}

.professional-service-copy p:not(.professional-service-eyebrow) {
  color: rgba(255, 255, 255, 0.62);
  font-size: clamp(0.92rem, 0.96vw, 1.02rem);
  line-height: 1.58;
}

.professional-service-logo-panel {
  position: relative;
  display: grid;
  flex: 0 0 32%;
  min-height: 220px;
  place-items: center;
  background: #030303;
  isolation: isolate;
  overflow: visible;
}

.professional-service-logo-panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 34%;
  width: min(560px, 118%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(128, 31, 80, 0.58) 0%, rgba(96, 4, 41, 0.35) 30%, rgba(96, 4, 41, 0.13) 54%, transparent 72%);
  filter: blur(17px);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.professional-service-logo-panel img {
  position: absolute;
  z-index: 1;
  inset: 34% auto auto 50%;
  width: auto;
  height: min(250px, 90%);
  max-width: 92%;
  object-fit: contain;
  opacity: 0.66;
  filter:
    drop-shadow(0 0 28px rgba(128, 31, 80, 0.48))
    drop-shadow(0 0 58px rgba(96, 4, 41, 0.32));
  transform: translate(-50%, -50%);
}

.professional-service-grid {
  background: #020202;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: 0;
}

.professional-service-card {
  min-height: 0;
  background: #050505;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  cursor: default;
}

.professional-service-card:hover {
  background: #fff;
  color: #080808;
  box-shadow: inset 0 0 0 1px rgba(128, 31, 80, 0.18), 0 22px 70px rgba(96, 4, 41, 0.24);
  transform: none;
}

.professional-service-card span {
  color: #d8649b;
}

.professional-service-card:hover span {
  color: #801f50;
}

.professional-service-card h3 {
  max-width: 12ch;
  color: #fff;
  font-size: clamp(1.38rem, 2vw, 2.25rem);
}

.professional-service-card:hover h3 {
  color: #600429;
}

.professional-service-card p {
  color: rgba(255, 255, 255, 0.58);
}

.professional-service-card:hover p {
  color: rgba(0, 0, 0, 0.62);
}

.professional-service-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1680px, calc(100% - clamp(40px, 6vw, 112px)));
  margin: 0 auto clamp(70px, 8vw, 120px);
  padding: 34px 40px;
  border: 1px solid rgba(199, 92, 145, 0.42);
  background:
    radial-gradient(circle at 22% 50%, rgba(199, 92, 145, 0.24), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    rgba(255, 255, 255, 0.035);
  background-size: auto, 96px 96px, 96px 96px, auto;
}

.professional-service-cta h2 {
  max-width: none;
  margin: 0;
  color: #fff;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 2.25rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
  text-transform: uppercase;
}

.professional-service-cta .button {
  flex: 0 0 auto;
  min-width: 220px;
}

@media (max-width: 1020px) {
  .professional-service-board {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .professional-service-copy {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 760px) {
  .professional-home-hero__content {
    width: min(100% - 40px, 680px);
  }

  .professional-home-hero__content h1 {
    font-size: clamp(2.5rem, 11.2vw, 4.7rem);
  }

  .professional-service-board {
    width: calc(100% - 40px);
    height: auto;
    min-height: 0;
    margin-top: 58px;
  }

  .professional-service-copy > div:first-child,
  .professional-service-card {
    padding: 28px 22px;
  }

  .professional-service-logo-panel {
    min-height: 250px;
  }

  .professional-service-grid {
    grid-template-columns: 1fr;
  }

  .professional-service-card,
  .professional-service-card:nth-child(2n),
  .professional-service-card:nth-last-child(-n + 2) {
    min-height: 240px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .professional-service-cta {
    flex-direction: column;
    align-items: center;
    width: calc(100% - 40px);
    padding: 28px 24px;
    text-align: center;
  }

  .professional-service-cta .button {
    width: min(100%, 320px);
    min-width: 0;
    align-self: center;
  }

  .professional-service-cta h2 {
    font-size: clamp(1.6rem, 9vw, 2.8rem);
  }
}

@media (max-width: 430px) {
  .professional-home-hero__content h1 {
    font-size: clamp(2.1rem, 10.6vw, 3.7rem);
  }

  .professional-home-hero__content p {
    font-size: 0.94rem;
  }

  .professional-service-board {
    width: calc(100% - 28px);
  }

  .professional-service-cta {
    width: calc(100% - 28px);
  }

  .professional-service-cta h2 {
    font-size: clamp(1.24rem, 7.2vw, 2.2rem);
  }

  .professional-service-copy h2 {
    max-width: none;
    font-size: clamp(2.35rem, 14vw, 4.2rem);
  }
}

.offers-page .offers-cta p,
.professional-service-cta h2 {
  font-size: clamp(1.35rem, 2vw, 2.25rem);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .offers-page .offers-cta p,
  .professional-service-cta h2 {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .offers-page .offers-cta p,
  .professional-service-cta h2 {
    font-size: clamp(1.6rem, 9vw, 2.8rem);
  }
}

@media (max-width: 430px) {
  .offers-page .offers-cta p,
  .professional-service-cta h2 {
    font-size: clamp(1.24rem, 7.2vw, 2.2rem);
  }
}

.visibility-service-page .professional-service-logo-panel {
  position: relative;
  display: grid;
  flex: 0 0 32%;
  min-height: 220px;
  place-items: center;
  background: #030303;
  isolation: isolate;
  overflow: visible;
}

.visibility-service-page .professional-service-logo-panel::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 34%;
  width: min(560px, 118%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(128, 31, 80, 0.58) 0%, rgba(96, 4, 41, 0.35) 30%, rgba(96, 4, 41, 0.13) 54%, transparent 72%);
  filter: blur(17px);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.visibility-service-page .professional-service-logo-panel img {
  position: absolute;
  z-index: 1;
  inset: 34% auto auto 50%;
  width: auto;
  height: min(250px, 90%);
  max-width: 92%;
  object-fit: contain;
  opacity: 0.66;
  filter:
    drop-shadow(0 0 28px rgba(128, 31, 80, 0.48))
    drop-shadow(0 0 58px rgba(96, 4, 41, 0.32));
  transform: translate(-50%, -50%);
}

/* ========================= EQUESTRIAN FINAL LAYOUT TUNING
 * ========================= */

.equestrian-case .case-services.page-section[data-section="04"] {
  display: block;
  min-height: 100vh;
  padding-top: clamp(120px, 16vh, 170px);
  padding-bottom: 86px;
}

.equestrian-case .case-services-heading {
  width: min(1120px, 100%);
  margin: 0 auto 24px;
}

.equestrian-case .equestrian-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1120px, 100%);
  margin: 0 auto;
}

.equestrian-case .case-results .case-metric-grid {
  grid-template-columns: repeat(2, minmax(194px, 196px));
  gap: 34px;
}

.equestrian-case .case-results .case-main-result,
.equestrian-case .case-results .case-metric-card {
  animation-name: fenergyMetricBreath;
  animation-duration: 4s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: 0s;
}

.equestrian-case .case-results .case-main-result,
.equestrian-case .case-results .case-metric-card,
.equestrian-case .case-results .case-metric-card strong,
.equestrian-case .case-results .case-metric-card span,
.equestrian-case .case-results .case-metric-card em {
  animation-delay: 0s;
}

.equestrian-case .case-results .case-metric-card {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  min-height: 194px;
  padding: 28px 18px;
}

.equestrian-case .case-results .case-metric-card:hover {
  animation-play-state: running;
  transform: none;
}

.equestrian-case .case-results .case-metric-card strong {
  margin-bottom: 18px;
  font-size: clamp(1.42rem, 1.55vw, 1.82rem);
  line-height: 1.05;
  white-space: normal;
  overflow-wrap: anywhere;
}

.equestrian-case .case-results .case-metric-card span {
  font-size: clamp(1.08rem, 1.22vw, 1.34rem);
  line-height: 1.08;
  white-space: normal;
  overflow-wrap: anywhere;
}

.equestrian-case .case-results .case-metric-card em {
  margin-top: 16px;
  font-size: clamp(0.9rem, 1vw, 1.06rem);
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
}

.equestrian-case .case-results .case-metric-card:nth-child(2) {
  align-content: center;
}

.equestrian-case .case-results .case-metric-card:nth-child(2) strong {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 3vw, 3.25rem);
  line-height: 0.9;
}

@media (max-width: 768px) {
  .equestrian-case .case-services.page-section[data-section="04"] {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 66px;
  }

  .equestrian-case .equestrian-service-grid,
  .equestrian-case .case-results .case-metric-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================= CASE STUDY CASELLA
 * ========================= */

.casella-case {
  --casella-green: #1f5d41;
  --casella-dark-green: #0b1510;
  --casella-gold: #c4935a;
  --casella-cream: #f7f3ed;
  --case-accent: var(--casella-gold);
  background: var(--casella-green);
  color: #fff;
}

.casella-case .case-topbar {
  background: rgba(31, 93, 65, 0.92);
  backdrop-filter: blur(18px);
}

.casella-case .section-nav span {
  color: var(--casella-gold);
}

.casella-case .section-nav button {
  border-color: rgba(196, 147, 90, 0.42);
  background: rgba(196, 147, 90, 0.24);
  box-shadow: 0 0 0 1px rgba(196, 147, 90, 0.12), 0 0 18px rgba(196, 147, 90, 0.14);
}

.casella-case .section-nav button.is-active {
  background: var(--casella-gold);
  box-shadow: 0 0 0 1px rgba(196, 147, 90, 0.62), 0 0 18px rgba(196, 147, 90, 0.42);
}

.casella-case .case-kicker,
.casella-case .case-main-result,
.casella-case .case-metric-card strong,
.casella-case .case-metric-card span,
.casella-case .case-metric-card em,
.casella-case .case-service-card h3,
.casella-case .case-service-icon {
  color: var(--casella-gold);
}

.casella-case .case-kicker {
  font-size: clamp(1.02rem, 1.24vw, 1.34rem);
  letter-spacing: 0;
}

.casella-hero .case-kicker {
  margin-bottom: 24px;
}

.casella-case .page-section[data-section="01"],
.casella-case .page-section[data-section="03"] {
  background: var(--casella-green);
  box-shadow: 0 0 0 100vmax var(--casella-green);
  clip-path: inset(0 -100vmax);
}

.casella-case .page-section[data-section="02"],
.casella-case .page-section[data-section="04"] {
  background: var(--casella-cream);
  color: #070707;
  box-shadow: 0 0 0 100vmax var(--casella-cream);
  clip-path: inset(0 -100vmax);
}

.casella-case .page-section[data-section="05"] {
  background: var(--casella-green);
  color: #fff;
  box-shadow: 0 0 0 100vmax var(--casella-green);
  clip-path: inset(0 -100vmax);
}

.casella-case .page-section[data-section="06"] {
  background: var(--casella-gold);
  box-shadow: 0 0 0 100vmax var(--casella-gold);
  clip-path: inset(0 -100vmax);
  color: #fff;
}

.casella-hero .case-hero-copy h1 span {
  color: var(--casella-gold);
}

.casella-hero .case-hero-copy h1 {
  font-family: "Raleway", Arial, sans-serif;
}

.casella-hero .case-hero-card {
  min-height: min(46vw, 540px);
  border: 0;
  border-radius: 0;
  background: var(--casella-cream);
  padding: 0;
  overflow: hidden;
  box-shadow: none;
}

.casella-hero .case-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.casella-socials a {
  color: var(--casella-gold);
}

.casella-socials a:hover {
  color: var(--white);
  filter: drop-shadow(0 0 14px rgba(200, 151, 82, 0.34));
}

.casella-socials a:nth-child(2) svg {
  fill: currentColor;
  stroke: none;
}

.casella-case .case-story-left .case-lead {
  color: var(--casella-green);
}

.casella-case .case-story .case-copy-block p:not(.case-kicker):not(.case-lead),
.casella-case .case-story-right .case-copy-block p:not(.case-kicker) {
  color: #070707;
}

.casella-case .case-story-right strong {
  color: var(--casella-green);
}

.casella-case .casella-logo-shot {
  background: var(--casella-cream);
}

.casella-case .casella-logo-shot img {
  object-fit: contain;
  padding: 34px;
}

.casella-case .casella-work-shot img {
  object-fit: cover;
  object-position: center;
  padding: 0;
}

.casella-case .case-metric-card {
  border: 0;
  background: #101410;
}

.casella-case .case-results .case-main-result,
.casella-case .case-results .case-metric-card {
  animation-name: fenergyMetricBreath;
  animation-duration: 4s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: 0s;
}

.casella-case .case-results .case-main-result,
.casella-case .case-results .case-metric-card,
.casella-case .case-results .case-metric-card strong,
.casella-case .case-results .case-metric-card span,
.casella-case .case-results .case-metric-card em {
  animation-delay: 0s;
}

.casella-case .case-results .case-metric-card:hover {
  animation-play-state: running;
}

.casella-case .case-metric-card:nth-child(2) {
  background: var(--casella-gold);
}

.casella-case .case-metric-card:nth-child(2) strong,
.casella-case .case-metric-card:nth-child(2) span,
.casella-case .case-metric-card:nth-child(2) em {
  color: #fff;
}

.casella-case .case-service-card {
  border-color: rgba(0, 0, 0, 0.12);
  background: #1c1c1c;
}

.casella-case .case-service-card:hover {
  border-color: rgba(196, 147, 90, 0.6);
  transform: translateY(-6px);
}

.casella-case .case-services.page-section[data-section="04"] {
  display: block;
  min-height: 100vh;
  padding-top: clamp(120px, 16vh, 170px);
  padding-bottom: 86px;
}

.casella-case .case-services-heading {
  width: min(1120px, 100%);
  margin: 0 auto 24px;
}

.casella-case .casella-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(1120px, 100%);
  margin: 0 auto;
}

.casella-case .case-gallery-card {
  border-color: rgba(196, 147, 90, 0.2);
  background: #101410;
}

.casella-case .case-gallery-card img {
  object-fit: cover;
  padding: 0;
  background: #101410;
}

.casella-case .case-gallery-card.case-gallery-logo img {
  object-fit: contain;
  padding: 42px;
  background: var(--casella-cream);
}

.casella-case .case-gallery-card.is-active,
.casella-case .case-gallery-card.is-active.is-prev {
  z-index: 4;
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.casella-case .case-gallery-controls {
  display: flex;
}

.casella-case .case-final-cta .button {
  background: #070a12;
  border-color: #070a12;
  color: #fff;
}

.casella-case .case-final-cta .button:hover {
  background: #fff;
  color: #070a12;
}

@media (max-width: 768px) {
  .casella-case .case-services.page-section[data-section="04"] {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 66px;
  }

  .casella-case .casella-service-grid {
    grid-template-columns: 1fr;
  }
}
/* ========================= CASE STUDY SIPEOPLE
 * ========================= */

.sipeople-case {
  --sipeople-navy: #283043;
  --sipeople-dark: #101827;
  --sipeople-orange: #f59e0b;
  --sipeople-soft: #f7f4f2;
  --case-accent: var(--sipeople-orange);
  background: var(--sipeople-navy);
  color: #fff;
}

.sipeople-case .case-topbar {
  background: rgba(40, 48, 67, 0.92);
  backdrop-filter: blur(18px);
}

.sipeople-case .section-nav span {
  color: var(--sipeople-orange);
}

.sipeople-case .section-nav button {
  border-color: #283043;
  background: rgba(245, 158, 11, 0.24);
  box-shadow: 0 0 0 1px #283043, 0 0 18px rgba(245, 158, 11, 0.14);
}

.sipeople-case .section-nav button.is-active {
  border-color: #283043;
  background: var(--sipeople-orange);
  box-shadow: 0 0 0 1px #283043, 0 0 18px rgba(245, 158, 11, 0.42);
}

.sipeople-case .case-kicker,
.sipeople-case .case-main-result,
.sipeople-case .case-metric-card strong,
.sipeople-case .case-metric-card span,
.sipeople-case .case-metric-card em,
.sipeople-case .case-service-card h3,
.sipeople-case .case-service-icon {
  color: var(--sipeople-orange);
}

.sipeople-case .case-kicker {
  font-size: clamp(1.02rem, 1.24vw, 1.34rem);
  letter-spacing: 0;
}

.sipeople-hero .case-kicker {
  margin-bottom: 24px;
}

.sipeople-case .page-section[data-section="01"],
.sipeople-case .page-section[data-section="03"],
.sipeople-case .page-section[data-section="05"] {
  background: var(--sipeople-navy);
  box-shadow: 0 0 0 100vmax var(--sipeople-navy);
  clip-path: inset(0 -100vmax);
}

.sipeople-case .page-section[data-section="02"],
.sipeople-case .page-section[data-section="04"] {
  background: var(--sipeople-soft);
  color: #101827;
  box-shadow: 0 0 0 100vmax var(--sipeople-soft);
  clip-path: inset(0 -100vmax);
}

.sipeople-case .page-section[data-section="06"] {
  background: var(--sipeople-orange);
  box-shadow: 0 0 0 100vmax var(--sipeople-orange);
  clip-path: inset(0 -100vmax);
  color: var(--sipeople-navy);
}

.sipeople-case .page-section[data-section="06"] p {
  color: var(--sipeople-navy);
}

.sipeople-hero .case-hero-copy h1 {
  font-family: "Raleway", Arial, sans-serif;
}

.sipeople-hero .case-hero-copy h1 span {
  color: var(--sipeople-orange);
}

.sipeople-hero .case-hero-card {
  min-height: min(46vw, 540px);
  border: 0;
  border-radius: 0;
  background: #fff;
  padding: clamp(54px, 6vw, 94px);
  overflow: hidden;
  box-shadow: none;
}

.sipeople-hero .case-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.sipeople-case .case-story-left .case-lead {
  color: var(--sipeople-navy);
}

.sipeople-case .case-story .case-copy-block p:not(.case-kicker):not(.case-lead),
.sipeople-case .case-story-right .case-copy-block p:not(.case-kicker) {
  color: #101827;
}

.sipeople-case .case-story-right strong {
  color: var(--sipeople-orange);
}

.sipeople-case .sipeople-work-shot img {
  object-fit: cover;
  object-position: center top;
  padding: 0;
}

.sipeople-case .case-results .case-main-result,
.sipeople-case .case-results .case-metric-card {
  animation-name: fenergyMetricBreath;
  animation-duration: 4s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-delay: 0s;
}

.sipeople-case .case-results .case-main-result,
.sipeople-case .case-results .case-metric-card,
.sipeople-case .case-results .case-metric-card strong,
.sipeople-case .case-results .case-metric-card span,
.sipeople-case .case-results .case-metric-card em {
  animation-delay: 0s;
}

.sipeople-case .case-metric-normal {
  display: block;
  margin-bottom: 16px;
  color: var(--sipeople-orange);
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(1.28rem, 1.54vw, 1.55rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.12;
  text-transform: none;
}

.sipeople-case .case-results .case-metric-card:hover {
  animation-play-state: running;
}

.sipeople-case .case-metric-card {
  border: 0;
  background: #070707;
}

.sipeople-case .case-metric-card:nth-child(2) {
  background: var(--sipeople-orange);
}

.sipeople-case .case-metric-card:nth-child(2) strong,
.sipeople-case .case-metric-card:nth-child(2) span,
.sipeople-case .case-metric-card:nth-child(2) em {
  color: var(--sipeople-navy);
}

.sipeople-case .case-services.page-section[data-section="04"] {
  display: block;
  min-height: 100vh;
  padding-top: clamp(120px, 16vh, 170px);
  padding-bottom: 86px;
}

.sipeople-case .case-services-heading {
  width: min(1280px, 100%);
  margin: 0 auto 24px;
}

.sipeople-case .sipeople-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1280px, 100%);
  margin: 0 auto;
}

.sipeople-case .case-service-card {
  border-color: rgba(0, 0, 0, 0.12);
  background: #1c1c1c;
}

.sipeople-case .case-service-card:hover {
  border-color: rgba(245, 158, 11, 0.65);
  transform: translateY(-6px);
}

.sipeople-case .case-gallery-card {
  border-color: rgba(245, 158, 11, 0.2);
  background: #101827;
}

.sipeople-case .case-gallery-card img {
  object-fit: cover;
  padding: 0;
  background: #101827;
}

.sipeople-case .case-gallery-card.case-gallery-logo img {
  object-fit: contain;
  padding: 42px;
  background: #fff;
}

.sipeople-case .case-gallery-controls {
  display: flex;
}

.sipeople-case .case-final-cta h2,
.sipeople-case .case-final-cta p {
  color: var(--sipeople-navy);
}

.sipeople-case .case-final-cta .button {
  background: var(--sipeople-navy);
  border-color: var(--sipeople-navy);
  color: #fff;
}

.sipeople-case .case-final-cta .button:hover {
  background: #fff;
  color: var(--sipeople-navy);
}

@media (max-width: 980px) {
  .sipeople-case .sipeople-service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sipeople-case .case-services.page-section[data-section="04"] {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 66px;
  }
}

.case-page .case-metric-card .case-metric-normal {
  display: block;
  margin-bottom: 16px;
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(1.28rem, 1.54vw, 1.55rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1.12;
  text-transform: none;
  animation: none;
}

.fenergy-case .case-metric-card .case-metric-normal {
  color: #d7ff00;
}

.fenergy-case .case-metric-card:nth-child(2) .case-metric-normal {
  color: var(--black);
}

.equestrian-case .case-metric-card .case-metric-normal {
  color: var(--equestrian-gold);
}

.equestrian-case .case-metric-card:nth-child(2) .case-metric-normal {
  color: #07053d;
}

.casella-case .case-metric-card .case-metric-normal {
  color: var(--casella-gold);
}

.casella-case .case-metric-card:nth-child(2) .case-metric-normal {
  color: #fff;
}

.sipeople-case .case-metric-card .case-metric-normal {
  color: var(--sipeople-orange);
}

.sipeople-case .case-metric-card:nth-child(2) .case-metric-normal {
  color: var(--sipeople-navy);
}

