:root {
  /* ── Palette UnitySite (modifica qui logo/colori) ── */
  --brand: #136ef5;
  --brand-dark: #1059c7;
  --brand-soft: rgba(19, 110, 245, 0.12);
  --brand-glow: rgba(19, 110, 245, 0.35);
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #f7f7f7;
  --gray-100: #eeeeee;
  --gray-200: #e2e2e2;
  --gray-400: #9a9a9a;
  --gray-500: #575757;
  --gray-800: #1a1a1a;
  --pad-x: clamp(20px, 5vw, 90px);
  --wrapper-pad: 90px;
  --font: "Manrope", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.65, 0.05, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.12);
  --radius-sm: 4px;
  --radius-md: 12px;
  --nav-h: 72px;
  --section-gap: clamp(80px, 12vw, 140px);
  --icon-arrow-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-arrow-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M13 8H3M7 4l-4 4 4 4' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-arrow-up-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 11.5L11.5 4.5M11.5 4.5H6M11.5 4.5V10' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --icon-chevron-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 12' fill='none'%3E%3Cpath d='M1.5 1.5L5.5 6l-4 4.5' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font: 400 18px/1.45 var(--font);
  color: var(--black);
  background: var(--white);
  letter-spacing: -0.02em;
  overflow-x: hidden;
}

h1, h2, h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--brand);
  color: var(--white);
}

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

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

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

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

.wrapper {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

@media (min-width: 1200px) {
  .wrapper { padding: 0 var(--wrapper-pad); }
}

.brandcolor { color: var(--brand); }

/* ─── Preloader ─── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: transform 1.35s var(--ease-out);
}

.preloader.is-done {
  transform: translateY(-110vh);
  pointer-events: none;
}

.preloader__bar { flex: 1; background: var(--white); }

.preloader__inner {
  flex: none;
  height: 100vh;
  display: grid;
  place-items: center;
  background: var(--gray-100);
}

.preloader__logo {
  clip-path: inset(0 0 0 0);
  animation: preloaderReveal 0.8s var(--ease-out) 0.2s both;
}

body.is-loading { overflow: hidden; }

@keyframes preloaderReveal {
  from { clip-path: inset(100% 0 0 0); opacity: 0; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}

/* ─── Navigation (dd.nyc: fixed overlay) ─── */
.mainnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  color: var(--black);
  transition: background 0.5s, color 0.5s, box-shadow 0.5s, backdrop-filter 0.5s;
}

/* Pagine senza hero: il main segue subito la nav */
.mainnav + .main {
  padding-top: var(--nav-h);
}

/* Pagine con hero full-bleed: la nav resta sopra l'header */
.mainnav + .header ~ .main {
  padding-top: 0;
}

.mainnav .wrapper { height: var(--nav-h); }

.mainnav.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.mainnav.is-dark,
.mainnav.active,
.mainnav.is-menu-open {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.mainnav.is-dark.is-scrolled {
  background: rgba(10, 10, 10, 0.92);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  padding: 16px 0;
}

.topbar-nav {
  display: flex;
  align-items: center;
  margin: -16px 0;
  flex: 1;
  position: relative;
  min-width: 0;
}

.topbar-logo {
  display: flex;
  align-items: center;
  z-index: 2;
  margin-right: clamp(24px, 4vw, 50px);
  flex: none;
  text-decoration: none;
}

.site-logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.site-logo__img {
  display: block;
  height: auto;
  max-width: 100%;
}

.site-logo--nav .site-logo__img {
  height: clamp(22px, 2.2vw, 30px);
  width: auto;
  max-width: min(168px, 38vw);
}

.site-logo--nav .site-logo__img--dark {
  display: none;
}

.mainnav.is-dark .site-logo--nav .site-logo__img--light,
.mainnav.active .site-logo--nav .site-logo__img--light,
.mainnav.is-menu-open .site-logo--nav .site-logo__img--light {
  display: none;
}

.mainnav.is-dark .site-logo--nav .site-logo__img--dark,
.mainnav.active .site-logo--nav .site-logo__img--dark,
.mainnav.is-menu-open .site-logo--nav .site-logo__img--dark {
  display: block;
}

.site-logo--preloader .site-logo__img {
  height: clamp(28px, 4.5vw, 44px);
  width: auto;
  max-width: min(280px, 72vw);
}

.site-logo--footer .site-logo__img {
  height: clamp(22px, 2.4vw, 28px);
  width: auto;
  max-width: min(140px, 28vw);
}

.topnav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.topnav-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  margin-left: clamp(22px, 2.8vw, 52px);
  margin-right: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.03em;
}

.topnav-item:first-child {
  margin-left: 0;
}

.topnav-item > a {
  transition: color 0.15s;
  white-space: nowrap;
}

.topnav-item > a:hover,
.topnav-item.active > a {
  color: var(--brand);
}

.topnav-item.dropdown::after {
  content: "";
  width: 0.45em;
  height: 0.65em;
  margin-left: 0.5em;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--icon-chevron-right) center / contain no-repeat;
  mask: var(--icon-chevron-right) center / contain no-repeat;
  transition: transform 0.25s;
  display: block;
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 0 0 24px;
  visibility: hidden;
  opacity: 0;
  z-index: 2;
  transition-property: visibility, opacity;
  transition-duration: 0.25s;
}

.dropdown-list li {
  padding-top: 16px;
}

.dropdown-list li a {
  white-space: nowrap;
  transition: color 0.15s;
}

.dropdown-list li a:hover {
  color: var(--brand);
}

.dropdown.hover .dropdown-list {
  visibility: visible;
  opacity: 1;
  transition-delay: 0.25s;
}

.dropdown.hover::after {
  transform: rotate(90deg);
  transform-origin: center;
}

.mainnav-dropdown-layer {
  background-color: inherit;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 0;
  transition: height 0.25s 0.25s;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.mainnav-dropdown-layer .wrapper {
  padding-left: 0;
}

.mainnav-dropdown-layer-container {
  position: absolute;
  bottom: 0;
  right: 0;
  padding-bottom: 24px;
  transition: opacity 0.25s;
  opacity: 0;
  display: none;
}

.mainnav-dropdown-layer-text {
  color: #9a9a9a;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.mainnav-dropdown-layer-text a {
  transition: color 0.15s;
  color: #fff;
}

.mainnav-dropdown-layer-text a::after {
  content: "";
  width: 0.55em;
  height: 0.8em;
  margin-left: 0.35em;
  display: inline-block;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: var(--icon-chevron-right) center / contain no-repeat;
  mask: var(--icon-chevron-right) center / contain no-repeat;
}

.mainnav-dropdown-layer-text a:hover {
  color: var(--brand);
}

.mainnav.active .mainnav-dropdown-layer-container,
.mainnav.is-dark .mainnav-dropdown-layer-container,
.mainnav.is-menu-open .mainnav-dropdown-layer-container {
  display: block;
}

.mainnav-dropdown-layer.active {
  transition-delay: 0s;
}

.mainnav-dropdown-layer.active .mainnav-dropdown-layer-container {
  transition-delay: 0.25s;
  opacity: 1;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
  flex: none;
}

.topbar-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: inherit;
  opacity: 0.82;
  padding: 8px 2px;
  white-space: nowrap;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.topbar-link:hover {
  opacity: 1;
  color: var(--brand);
}

.topbar-right .btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--brand);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.25s var(--ease-spring), background 0.25s, box-shadow 0.25s;
}

.topbar-right .btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--brand-glow);
}

.topbar-right .btn-nav--ghost {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: none;
}

.mainnav.is-dark .topbar-right .btn-nav--ghost,
.mainnav.is-dark .topbar-right .btn-nav.btn-nav--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.topbar-right .btn-nav--ghost:hover {
  background: rgba(0, 0, 0, 0.04);
  box-shadow: none;
  transform: none;
}

.mainnav.is-dark .topbar-right .btn-nav--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: currentColor;
  transition: 0.35s var(--ease-out);
  border-radius: 2px;
}

.menu-toggle::before { top: 14px; }
.menu-toggle span { top: 21px; }
.menu-toggle::after { top: 28px; }

.menu-toggle.is-open::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open::after { transform: translateY(-7px) rotate(-45deg); }

.mainnav.is-dark .menu-toggle,
.mainnav.active .menu-toggle,
.mainnav.is-menu-open .menu-toggle {
  color: var(--white);
}

.mainnav.is-dark .menu-toggle span,
.mainnav.is-dark .menu-toggle::before,
.mainnav.is-dark .menu-toggle::after,
.mainnav.active .menu-toggle span,
.mainnav.active .menu-toggle::before,
.mainnav.active .menu-toggle::after,
.mainnav.is-menu-open .menu-toggle span,
.mainnav.is-menu-open .menu-toggle::before,
.mainnav.is-menu-open .menu-toggle::after {
  background: var(--white);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--black);
  color: var(--white);
  padding: calc(var(--nav-h) + 32px) var(--pad-x) 32px;
  overflow: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-out);
}

.mobile-menu.is-open { clip-path: inset(0 0 0 0); }

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu nav a {
  font-size: clamp(32px, 8vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  padding: 8px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out), color 0.2s;
}

.mobile-menu.is-open nav a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open nav a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu__sub {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 0 8px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0 0 8px;
}

.mobile-menu__sub a {
  font-size: clamp(18px, 4vw, 24px) !important;
  font-weight: 600;
  opacity: 0.65;
  padding: 4px 0 !important;
}

.mobile-menu.is-open .mobile-menu__sub a {
  opacity: 0.75;
}

.mobile-menu__sub a:hover {
  color: var(--brand);
  opacity: 1;
}

.mobile-menu nav a:hover { color: var(--brand); }

.mobile-menu__footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0.5;
}

/* ─── Hero (dd.nyc) ─── */
.header {
  background: #eee;
  position: relative;
  overflow: hidden;
}

.header > .wrapper {
  position: relative;
}

.header-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 250px;
  position: relative;
  z-index: 2;
}

.header-caption {
  margin-top: 250px;
  flex: auto;
  display: flex;
  align-items: center;
}

.title.title__main {
  font-size: clamp(48px, 8vw, 130px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 700;
  margin: 0;
}

.title.title__main h1 {
  margin: 0;
  font: inherit;
}

.title__main h1 > span {
  display: block;
  position: relative;
}

.title__main h1 > span:first-child {
  z-index: 7;
}

.title__main h1 > span:last-child {
  z-index: 1;
}

.title__main h1 .brandcolor {
  display: inline;
  position: static;
}

.header-caption .title h1 > span:nth-child(2) {
  position: relative;
  z-index: 1;
}

body.is-loading .title__main h1 > span,
body.is-loading .header-reviews {
  visibility: hidden;
  transform: translateX(-10vw);
  opacity: 0;
}

body.is-ready .title__main h1 > span {
  visibility: visible;
  transform: translateX(0);
  opacity: 1;
  transition: all 0.75s var(--ease-out);
}

body.is-ready .title__main h1 > span:nth-child(1) { transition-delay: 0.1s; }
body.is-ready .title__main h1 > span:nth-child(2) { transition-delay: 0.2s; }

.header-heart {
  position: absolute;
  top: 50vh;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: 3;
  margin-left: 0;
  transition: margin-left 0.75s 0.15s cubic-bezier(0.65, 0.05, 0.36, 1);
  pointer-events: none;
}

body.is-loading .header-heart {
  margin-left: 0;
}

body.is-ready .header-heart {
  margin-left: 10vw;
}

.header-heart .heart {
  width: 3.3em;
  height: 3.3em;
  max-width: none;
  max-height: none;
  color: var(--brand);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.header-heart .heart .icon {
  display: flex;
  max-height: 100%;
  align-items: center;
  justify-content: center;
  min-width: 100%;
  min-height: 100%;
}

.header-link {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  opacity: 0;
  z-index: 100;
  cursor: pointer;
}

.header-cross {
  position: absolute;
  top: 60%;
  left: 70%;
  width: 200vw;
  height: 200vw;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition-property: left, visibility;
  pointer-events: none;
  color: #575757;
  transition-timing-function: ease-out;
}

.header-cross:nth-child(1) {
  transition-duration: 0.5s;
}

.header-cross:nth-child(2) {
  transition-duration: 1s;
}

body.is-loading .header-cross {
  visibility: hidden;
  left: 100%;
}

body.is-ready .header-cross {
  visibility: visible;
  left: 70%;
}

.header-cross svg {
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.header-cross_text {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 0 1em;
  transform: translate(-50%, -50%) rotate(-45deg);
  background-color: #eee;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
}

.header-reviews {
  margin-top: 150px;
}

body.is-ready .header-reviews {
  visibility: visible;
  transform: translateY(0);
  opacity: 1;
  transition: all 0.75s var(--ease-out);
}

.reviews {
  display: flex;
  align-items: stretch;
}

.reviews-col {
  display: flex;
  flex-direction: column;
}

.reviews-col + .reviews-col {
  margin-left: 8px;
}

.reviews-pretitle {
  text-transform: uppercase;
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.175em;
  font-weight: 600;
  color: var(--gray-500);
}

.reviews-logo {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black);
}

.reviews-stars {
  width: 72px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand) 100%);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 14'%3E%3Cpath fill='%23000' d='M7 0l2.2 4.5 5 .7-3.6 3.5.9 5L7 11.5 3.5 13.7l.9-5L.8 5.2l5-.7L7 0zm18 0l2.2 4.5 5 .7-3.6 3.5.9 5-4.5-2.2-4.5 2.2.9-5-3.6-3.5 5-.7L25 0zm18 0l2.2 4.5 5 .7-3.6 3.5.9 5-4.5-2.2-4.5 2.2.9-5-3.6-3.5 5-.7L43 0zm18 0l2.2 4.5 5 .7-3.6 3.5.9 5-4.5-2.2-4.5 2.2.9-5-3.6-3.5 5-.7L61 0zm18 0l2.2 4.5 5 .7-3.6 3.5.9 5-4.5-2.2-4.5 2.2.9-5-3.6-3.5 5-.7L79 0z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: left center;
  margin-bottom: auto;
  min-height: 14px;
}

.reviews-num {
  text-transform: uppercase;
  font-size: 8px;
  letter-spacing: 0.225em;
  line-height: 1;
  margin-top: 4px;
  font-weight: 600;
  color: var(--gray-500);
}

.header-reviews__link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

.header-reviews__link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.header-reviews__link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}

.google-reviews-summary {
  margin: 32px 0 48px;
}

.google-reviews-summary__link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 14px 20px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.google-reviews-summary__link:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.google-reviews-summary__label {
  font-weight: 700;
}

.google-reviews-summary__count {
  color: var(--gray-500);
  font-size: 0.95em;
}

.google-reviews-summary__cta {
  color: var(--brand);
  font-weight: 700;
}

.avatar.avatar--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef5ff 0%, #dceaff 100%);
  color: var(--brand);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
}

/* ─── Header marquee (dd.nyc black credentials bar) ─── */
.header-marquee {
  background: #000;
  color: #cbcbcb;
  height: 48px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  font-weight: 700;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.runner {
  display: flex;
  justify-content: flex-start;
}

.runner-start,
.runner-end {
  animation: 25s ticker 0s infinite linear;
  display: flex;
  will-change: transform;
}

.header-marquee__track {
  display: flex;
  width: max-content;
  animation: ticker 35s linear infinite;
}

.header-marquee:hover .header-marquee__track {
  animation-play-state: paused;
}

.marquee-line {
  display: inline-flex;
  align-items: center;
}

.marquee-line_text {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.marquee-line_text::after {
  content: "";
  width: 0.85em;
  height: 0.85em;
  margin: 0 2em;
  flex: none;
  background-color: var(--brand);
  -webkit-mask: var(--icon-arrow-right) center / contain no-repeat;
  mask: var(--icon-arrow-right) center / contain no-repeat;
}

/* ─── Services page hero (dd.nyc header__cut) ─── */
.header__cut {
  background: #eee;
}

.header__cut .header-wrapper {
  min-height: 0;
  padding-bottom: 50px;
}

.header__cut .header-caption {
  margin-top: 180px;
}

.header__cut .header-reviews {
  margin-top: 120px;
}

.section--flush {
  margin-top: 0;
}

/* ─── Marquee separator (dd.nyc) ─── */
.marquee-separator {
  overflow: hidden;
  display: block;
}

.marquee {
  display: inline-flex;
  transition: transform 1s ease-out;
  will-change: transform;
}

.marquee-item {
  color: #cbcbcb;
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  display: flex;
  white-space: nowrap;
}

.marquee-item::after {
  content: "—";
  margin: 0 0.25em;
}

.marquee-item:last-child::after {
  display: none;
}

/* ─── Citebox karaoke (dd.nyc) ─── */
.citebox {
  font-size: clamp(48px, 8vw, 140px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.05em;
  margin: 3em 0;
  position: relative;
}

.citebox-content > span {
  position: relative;
  display: inline-block;
}

.citebox-content > span:first-of-type::before {
  content: "";
  height: 0.55em;
  width: 0.5em;
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg width='54' height='49' viewBox='0 0 54 49' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M53.0719 0.77703L51.8719 10.077C48.9385 9.87703 46.6719 10.4104 45.0719 11.677C43.4719 12.9437 42.4052 14.7104 41.8719 16.977C41.3385 19.2437 41.2385 21.8104 41.5719 24.677L53.0719 24.677L53.0719 48.777H30.9719L30.9719 22.677C30.9719 14.8104 32.8385 8.87702 36.5719 4.87703C40.3719 0.810362 45.8719 -0.556302 53.0719 0.77703ZM22.2719 0.77703L21.0719 10.077C18.1385 9.87703 15.8719 10.4104 14.2719 11.677C12.6719 12.9437 11.6052 14.7104 11.0719 16.977C10.5385 19.2437 10.4385 21.8104 10.7719 24.677L22.2719 24.677L22.2719 48.777H0.171876L0.171875 22.677C0.171875 14.8104 2.03854 8.87702 5.77187 4.87703C9.57187 0.810362 15.0719 -0.556302 22.2719 0.77703Z' fill='%23136EF5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left top;
  left: 0;
  bottom: 100%;
}

.citebox-content > span:last-of-type::after {
  content: "";
  height: 0.55em;
  width: 0.5em;
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg width='53' height='49' viewBox='0 0 53 49' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.000389142 48.0003L1.20039 38.7003C4.13372 38.9003 6.40039 38.367 8.00039 37.1003C9.60039 35.8336 10.6671 34.067 11.2004 31.8003C11.7337 29.5336 11.8337 26.967 11.5004 24.1003L0.000391232 24.1003L0.000393339 0.000304366L22.1004 0.000306298L22.1004 26.1003C22.1004 33.967 20.2337 39.9003 16.5004 43.9003C12.7004 47.967 7.20039 49.3336 0.000389142 48.0003ZM30.8004 48.0003L32.0004 38.7003C34.9337 38.9003 37.2004 38.367 38.8004 37.1003C40.4004 35.8336 41.4671 34.067 42.0004 31.8003C42.5337 29.5337 42.6337 26.967 42.3004 24.1003L30.8004 24.1003L30.8004 0.000307058L52.9004 0.00030899L52.9004 26.1003C52.9004 33.967 51.0337 39.9003 47.3004 43.9003C43.5004 47.967 38.0004 49.3336 30.8004 48.0003Z' fill='%23136EF5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  right: 0;
  top: 100%;
  z-index: 2;
}

.citebox-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.citebox-mask > span {
  position: relative;
  color: transparent;
  display: inline-block;
  white-space: nowrap;
  transform: scaleX(1);
  transform-origin: right;
  transition-duration: 1s;
  transition-property: transform;
}

.citebox-mask > span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  height: 100%;
  width: 105%;
  background-color: #fff;
  opacity: 0.75;
}

.citebox.is-visible .citebox-mask > span,
.citebox-mask > span.is-visible {
  transform: scaleX(0);
}

/* ─── Previews carousel (dd.nyc slick-style) ─── */
.previews-carousel {
  width: 70vw;
  max-width: 100%;
  margin-bottom: 100px;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.previews-carousel.is-dragging {
  cursor: grabbing;
}

.previews-carousel.is-dragging .preview-name__caption a {
  pointer-events: none;
}

.previews-carousel__viewport {
  overflow: hidden;
}

.previews-carousel__track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.65, 0.05, 0.36, 1);
  will-change: transform;
}

.previews-carousel__slide {
  flex: 0 0 calc(50% - 10px);
  min-width: 0;
}

.preview {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.preview-media {
  margin-bottom: 20px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.preview-media::before {
  content: "";
  display: block;
  padding-top: 65%;
}

.preview-media picture,
.work-card picture,
.intro-start-image picture,
.shiftbox-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.preview-media picture img,
.work-card picture img,
.intro-start-image picture img,
.shiftbox-image picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease-in-out;
}

.preview-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #000;
  opacity: 0;
  transition: opacity 0.25s;
}

.preview-content {
  display: flex;
  flex-wrap: wrap;
}

.preview-content::before {
  content: attr(data-index);
  width: 40px;
  height: 40px;
  background-color: #000;
  color: #eee;
  margin-bottom: 8px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.025em;
  font-weight: 600;
  line-height: 1;
}

.preview-name {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  margin-right: 0.25em;
}

.preview-name::before {
  content: "/";
  margin-right: 0.25em;
}

.preview-name:first-child::before {
  content: "";
  margin-right: 0;
}

.preview-name:last-child {
  margin-right: 0;
}

.preview-name__caption {
  min-width: 100%;
  color: #000;
  font-weight: 700;
  margin-right: 0;
}

.preview-name__caption + .preview-name::before {
  display: none;
}

.preview-name__caption a {
  position: relative;
  z-index: 2;
}

.preview-action {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  z-index: 2;
  pointer-events: none;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.15s;
}

.preview-action::after {
  content: "";
  width: 0.85em;
  height: 0.85em;
  padding-left: 0.15em;
  display: inline-block;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: var(--icon-arrow-right) center / contain no-repeat;
  mask: var(--icon-arrow-right) center / contain no-repeat;
  transition: transform 0.15s;
}

.preview:hover .preview-media::after {
  opacity: 0.4;
}

.preview:hover .preview-media img {
  transform: scale(1.05);
}

.preview:hover .preview-action {
  opacity: 1;
}

.preview:hover .preview-action::after {
  transform: translateX(0.25em);
}

.section-footer {
  margin-top: 80px;
  font-size: 22px;
}

.section-footer .redlink {
  font-weight: 500;
}

/* ─── Clients grid (dd.nyc section__contrast) ─── */
.section__contrast {
  background-color: #eee;
  padding: 100px 0 200px;
}

.clients {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 150px;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  justify-items: center;
}

.client {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1);
  opacity: 0.6;
  position: relative;
  transition: opacity 0.35s ease;
}

.client:hover {
  opacity: 1;
}

.client img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.clients--sectors {
  gap: clamp(56px, 8vw, 100px);
  row-gap: clamp(48px, 5vw, 72px);
  justify-items: start;
}

.section__contrast--sectors {
  padding: clamp(72px, 8vw, 100px) 0 clamp(96px, 10vw, 140px);
}

.section__contrast--sectors .section-caption {
  margin-bottom: clamp(48px, 6vw, 72px);
}

.section__contrast--sectors .client {
  height: auto;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  filter: none;
  opacity: 0.72;
  position: static;
  transition: opacity 0.35s ease;
}

.section__contrast--sectors .client:hover {
  opacity: 1;
}

.section__contrast--sectors .client__icon {
  display: block;
  width: 28px;
  height: 28px;
  flex: none;
  margin-top: 2px;
  color: #3D3D3D;
  stroke: currentColor;
}

.section__contrast--sectors .client__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.section__contrast--sectors .client__label {
  display: block;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #1a1a1a;
}

.section__contrast--sectors .client__sub {
  display: block;
  font-size: clamp(9px, 0.8vw, 11px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  color: rgb(0 0 0 / 45%);
}

.section__contrast--sectors .client__desc {
  display: block;
  margin-top: 6px;
  font-size: clamp(10px, 0.85vw, 12px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgb(0 0 0 / 50%);
  max-width: 24ch;
}

.section__contrast--sectors .client:hover .client__label {
  color: var(--brand);
}

.section__contrast--sectors .client:hover .client__icon {
  color: var(--brand);
}

.section__contrast--sectors .client:hover .client__sub {
  color: rgb(243 84 34 / 70%);
}

.section__contrast--sectors .client:hover .client__desc {
  color: rgb(0 0 0 / 62%);
}

/* ─── Shiftbox carousel (dd.nyc) ─── */
.shiftbox-carousel {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.shiftbox-carousel__dots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  padding: 0 16px;
  z-index: 10;
  list-style: none;
  margin: 0;
  align-items: flex-start;
  pointer-events: none;
}

.shiftbox-carousel__dot {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 20px 0 0;
  height: 1px;
  position: relative;
  cursor: pointer;
  border-top: 1px solid currentColor;
  pointer-events: auto;
}

.shiftbox-carousel__dot::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.25s linear;
}

.shiftbox-carousel__dot.is-active::before {
  transform: scaleX(1);
  transform-origin: left center;
}

@media (min-width: 768px) {
  .shiftbox-carousel__dots {
    width: 60vw;
    top: 100%;
    bottom: auto;
    left: 0;
    right: auto;
    padding: 0;
    padding-left: 20px;
    margin-top: 14px;
  }
}

@media (min-width: 1600px) {
  .shiftbox-carousel__dots {
    padding-left: 90px;
  }
}

@media (min-width: 1920px) {
  .shiftbox-carousel__dots {
    padding-left: calc((100vw - 1920px) / 2 + 90px);
  }
}

.shiftbox-carousel__track {
  display: grid;
  grid-template-columns: 1fr;
}

.shiftbox-carousel__slide {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  transition: opacity 1s;
  pointer-events: none;
  z-index: 1;
}

.shiftbox-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.shiftbox {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-auto-flow: column;
  align-items: flex-end;
  margin-top: -218px;
  min-height: 400px;
  position: relative;
  z-index: 2;
}

.shiftbox-image {
  position: relative;
  width: 60vw;
  min-height: 100%;
  overflow: hidden;
  background: #fff;
  display: flex;
  z-index: 2;
}

.shiftbox-image::before {
  content: "";
  flex: none;
  width: 0;
  padding-top: 55%;
}

.shiftbox-image > a:first-child {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.shiftbox-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.shiftbox-carousel .shiftbox-image {
  opacity: 1;
  transition: clip-path 0.5s;
  clip-path: inset(0 100% 0 0);
}

.shiftbox-carousel__slide.is-active .shiftbox-image {
  clip-path: inset(0 0 0 0);
  transition-delay: 0s;
}

.shiftbox-content {
  padding-top: 94px;
  margin-left: 36px;
  position: relative;
  z-index: 2;
}

.shiftbox-carousel .shiftbox-content {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.5s, transform 0.5s, clip-path 0.5s;
  clip-path: inset(0 100% 0 0);
}

.shiftbox-carousel__slide.is-active .shiftbox-content {
  opacity: 1;
  transform: translateX(0);
  clip-path: inset(0 0 0 0);
  transition-delay: 0.5s;
}

.shiftbox-carousel__slide:not(.is-active) .shiftbox-image {
  clip-path: inset(0 100% 0 0);
  transition-delay: 0s;
}

.shiftbox-carousel__slide:not(.is-active) .shiftbox-content {
  opacity: 0;
  transform: translateX(40px);
  clip-path: inset(0 100% 0 0);
  transition-delay: 0s;
}

.preview {
  display: flex;
  flex-direction: column;
  position: relative;
}

.preview-content {
  display: flex;
  flex-wrap: wrap;
}

.shiftbox-carousel .preview-content::before {
  display: none;
}

.preview-name {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  margin-right: 0.25em;
  color: var(--gray-500);
}

.preview-name::before {
  content: "/";
  margin-right: 0.25em;
}

.preview-name:first-child::before {
  content: "";
  margin-right: 0;
}

.preview-name:last-child {
  margin-right: 0;
}

.preview-name__caption {
  min-width: 100%;
  color: var(--black);
  font-weight: 700;
  margin-right: 0;
}

.preview-name__caption + .preview-name::before {
  display: none;
}

.preview-name__caption a {
  position: relative;
  color: inherit;
}

.preview-name__caption a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.shiftbox-nav {
  margin-left: 60vw;
  padding-left: 20px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  height: 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 3;
}

.shiftbox-pos {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  margin: 0 8px;
}

.shiftbox-current {
  width: 40px;
  text-align: right;
  display: inline-block;
  font-style: normal;
}

.shiftbox-num {
  width: 40px;
  display: inline-block;
}

.shiftbox-arrow {
  cursor: pointer;
  flex: none;
  font-weight: 500;
  position: relative;
  width: 24px;
  height: 24px;
  color: inherit;
}

.shiftbox-arrow::before {
  content: "";
  width: 18px;
  height: 18px;
  display: block;
  background-color: currentColor;
  -webkit-mask: var(--icon-arrow-right) center / contain no-repeat;
  mask: var(--icon-arrow-right) center / contain no-repeat;
}

.shiftbox-arrow__left {
  transform: scaleX(-1);
}

.shiftbox-arrow::after {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: 1;
}

/* Intro textbox (dd.nyc) */
.textbox {
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  max-width: 780px;
  margin-left: 282px;
  width: calc(60vw - 282px - var(--wrapper-pad));
  color: var(--gray-500);
}

.textbox-content {
  display: inline;
}

.textbox-content strong {
  color: var(--black);
  font-weight: 700;
}

.textbox-action {
  display: inline;
}

.textbox .redlink {
  font-weight: 500;
  white-space: nowrap;
  font-size: inherit;
  letter-spacing: inherit;
  align-items: center;
}

.redlink:has(> svg)::after {
  display: none;
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 20px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.stars {
  color: var(--brand);
  letter-spacing: 1px;
  font-size: 12px;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  right: var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.4;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-hint__line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--black), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ─── Ticker ─── */
.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--white);
  position: relative;
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__group {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 0;
}

.ticker__item {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 clamp(20px, 3vw, 40px);
  opacity: 0.55;
  transition: opacity 0.2s, color 0.2s;
}

.ticker__item:hover { opacity: 1; color: var(--brand); }

.ticker__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ─── Page hero (pagine interne) ─── */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 80px));
  padding-bottom: clamp(48px, 8vw, 80px);
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.page-hero--dark {
  background: var(--black);
  color: var(--white);
}

.page-hero--dark .lead { color: rgba(255,255,255,0.65); }

.page-hero .title__default { margin-bottom: 16px; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.process-step {
  padding: 28px;
  background: var(--gray-50);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-md);
}

.process-step__num {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.process-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.process-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-500);
}

@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ─── Main & sections (dd.nyc spacing) ─── */
.main {
  margin-top: 0;
  overflow-x: clip;
  max-width: 100%;
}

.header ~ .main {
  margin-top: 0;
}

.section {
  margin-top: clamp(120px, 12vw, 200px);
  padding: 0;
  position: relative;
}

.section:first-child:not(.project-hero),
.section--shiftbox {
  margin-top: 0;
  padding: 0;
  position: relative;
  z-index: 2;
  overflow-x: clip;
}

.section.section__contrast {
  padding: 100px 0 200px;
}

.section.section__contrast--sectors {
  padding: clamp(72px, 8vw, 100px) 0 clamp(120px, 14vw, 200px);
}

.section.section__contrast.section--recognition {
  padding: clamp(72px, 8vw, 100px) 0 150px;
}

.section__contrast--sectors + .section--recognition {
  margin-top: 0;
  padding-top: clamp(48px, 6vw, 80px);
}

.section--gray {
  background: var(--gray-100);
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 200px);
}

.section--dark {
  background: var(--black);
  color: var(--white);
  padding: clamp(80px, 10vw, 120px) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.section-head--row .title__default { margin-bottom: 12px; }
.section-head--row .lead { margin: 0; }

.section-head__link {
  flex-shrink: 0;
  white-space: nowrap;
}

.section-link {
  margin-top: clamp(24px, 4vw, 40px);
}

.section--contrast {
  background: #eee;
  padding: 100px 0 200px;
  margin-left: 0;
  margin-right: 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 100px;
}

.section-eyebrow::before {
  content: "";
  width: 76px;
  height: 1px;
  margin-left: -100px;
  background: currentColor;
  flex-shrink: 0;
}

.section--dark .section-eyebrow { color: var(--brand); }

.title__default {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin: 0 0 20px;
}

.lead {
  max-width: 56ch;
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.65;
  color: var(--gray-500);
}

.section--dark .lead { color: rgba(255, 255, 255, 0.65); }

.redlink {
  color: var(--brand);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s var(--ease-spring);
}

.redlink:not(.redlink--left)::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--icon-arrow-right) center / contain no-repeat;
  mask: var(--icon-arrow-right) center / contain no-repeat;
  transition: transform 0.25s var(--ease-spring);
}

.redlink--left::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--icon-arrow-left) center / contain no-repeat;
  mask: var(--icon-arrow-left) center / contain no-repeat;
  transition: transform 0.25s var(--ease-spring);
}

.redlink--left::after {
  display: none;
}

.redlink svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.25s var(--ease-spring);
}

.redlink:hover { gap: 12px; }
.redlink:hover::after,
.redlink:hover svg { transform: translateX(2px); }
.redlink--left:hover::before { transform: translateX(-2px); }

.textbox .redlink {
  gap: clamp(8px, 0.35em, 16px);
}

.textbox .redlink:not(.redlink--left)::after,
.textbox .redlink svg {
  width: clamp(28px, 1.12em, 48px);
  height: clamp(28px, 1.12em, 48px);
}

.textbox .redlink:hover {
  gap: clamp(10px, 0.45em, 20px);
}

.textbox .redlink:hover::after,
.textbox .redlink:hover svg {
  transform: translateX(0.12em);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  transition: gap 0.25s var(--ease-spring);
}

.back-link::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--icon-arrow-left) center / contain no-repeat;
  mask: var(--icon-arrow-left) center / contain no-repeat;
  transition: transform 0.25s var(--ease-spring);
}

.back-link:hover {
  gap: 12px;
}

.back-link:hover::before {
  transform: translateX(-2px);
}

/* ─── Numbers / Stats (dd.nyc) ─── */
.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 10vw, 150px);
}

.numbers-item {
  overflow: hidden;
}

.numbers-value {
  width: 100%;
  border-bottom: 1px solid var(--black);
  font-size: clamp(64px, 10vw, 130px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-bottom: clamp(16px, 2vw, 30px);
}

.numbers-value > div {
  transition: transform 0.5s 0.1s var(--ease-out);
}

.numbers-title {
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  overflow: hidden;
  padding-top: clamp(24px, 3vw, 40px);
}

.numbers-title > div {
  transition: transform 0.5s 0.1s var(--ease-out), opacity 0.5s 0.1s;
}

.numbers-note {
  margin-top: clamp(32px, 5vw, 50px);
  font-size: 14px;
  line-height: 1.4;
  color: var(--gray-500);
}

.reveal-stagger.is-visible .numbers-value > div,
.reveal-stagger.is-visible .numbers-title > div {
  transform: translateY(0);
  opacity: 1;
}

.reveal-stagger .numbers-value > div {
  transform: translateY(100%);
}

.reveal-stagger .numbers-title > div {
  transform: translateY(-30%);
  opacity: 0;
}

/* legacy stats (inner pages) */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(40px, 6vw, 64px);
}

.stat {
  padding: clamp(28px, 4vw, 40px);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
}

.section--dark .stat {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.section--dark .stat:hover {
  border-color: rgba(19, 110, 245, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.section--dark .stat__label {
  color: rgba(255, 255, 255, 0.55);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-soft);
}

.stat__num {
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray-500);
}

.stat-footnote {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-400);
  font-style: italic;
}

.section--dark .stat-footnote { color: rgba(255,255,255,0.45); }

/* ─── Services grid (dd.nyc style) ─── */
.inner-wrapper {
  padding: 0 100px;
}

.section-caption {
  display: inline-flex;
  align-items: center;
  position: relative;
  margin-bottom: 100px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-caption::before {
  content: "";
  width: 76px;
  margin-right: 24px;
  margin-left: -100px;
  height: 1px;
  background-color: currentColor;
}

.section-caption_text {
  overflow: hidden;
  white-space: nowrap;
  line-height: 2;
}

.section-caption_text h2 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 150px;
  align-items: start;
}

.service-list {
  counter-reset: index;
}

.service {
  margin-top: 40px;
}

.service:first-child {
  margin-top: 0;
}

.service-caption {
  font-size: 66px;
  font-weight: 700;
  color: #cbcbcb;
  line-height: 1.2;
  letter-spacing: -0.035em;
  cursor: pointer;
  position: relative;
  padding-left: 48px;
  display: inline-flex;
  min-height: 1.2em;
  white-space: nowrap;
  transition: color 0.25s;
}

.service-caption::before {
  content: counter(index, decimal-leading-zero);
  counter-increment: index;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 14px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.service-content {
  display: flex;
  flex-direction: column;
}

.service-tags {
  margin-bottom: 40px;
}

.service-text {
  flex: auto;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.service-text p {
  margin: 0;
  color: var(--gray-500);
}

.service-action {
  margin-top: auto;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  padding: 28px 0;
  border-bottom: 1px solid;
}

.service-action .redlink {
  color: var(--brand);
  font-weight: 500;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0;
  transition: none;
}

.service-action .redlink span {
  display: inline;
}

.service-action .redlink:hover,
.service-action .redlink:hover svg {
  gap: 0;
  transform: none;
}

.service-action .redlink:hover::after {
  transform: translateX(50%);
}

.service-preview {
  position: relative;
  max-width: 540px;
  width: 100%;
  align-self: start;
}

.service-content-copy {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.service-content-copy .service-content {
  transition: all 1s;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  flex: auto;
}

.service-content-copy .service-action {
  border-bottom-width: 0;
}

.service-content-copy::after {
  content: "";
  width: 100%;
  height: 1px;
  display: block;
  background-color: currentColor;
  transition: transform 1s;
  transform-origin: right bottom;
}

.service-content-copy.hidden::after {
  transform: scaleX(0);
}

.service-content-copy.hidden .service-content {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

.service-content-copy.active::after {
  transform: scaleX(1);
}

.service-content-copy.active .service-content {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.service.active .service-caption {
  color: var(--black);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  margin: -5px;
}

.chip {
  margin: 5px;
}

.chip-label {
  white-space: nowrap;
  height: 40px;
  overflow: hidden;
  padding: 0 1.25em;
  display: inline-flex;
  max-width: 100%;
  text-overflow: ellipsis;
  border-radius: 100px;
  background-color: #eee;
  align-items: center;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.05em;
  font-weight: 600;
  color: inherit;
  transition: all 0.15s;
}

.chip-label:hover {
  background-color: #cdcdcd;
}

.chip-label:active {
  color: #fff;
  background-color: var(--brand);
}

@media (max-width: 1799.98px) {
  .service-caption {
    font-size: 50px;
  }
}

@media (max-width: 1599.98px) {
  .inner-wrapper {
    padding: 0 50px;
  }

  .section-caption {
    font-size: 16px;
  }

  .section-caption::before {
    margin-left: -50px;
  }

  .service-preview {
    max-width: 450px;
  }

  .service-caption::before {
    font-size: 16px;
  }

  .service-action {
    font-size: 20px;
  }

  .service-text {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  .service .service-content {
    display: none;
  }
}

@media (max-width: 1199.98px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-content {
    overflow: hidden;
    max-height: 0;
    margin: 0;
    transition: all 0.15s;
    padding-left: 48px;
  }

  .service.active .service-content {
    display: flex;
    max-height: none;
    margin: 60px 0;
  }

  .service-preview {
    display: none;
  }

  .service-action {
    font-size: 20px;
    margin-top: 30px;
  }

  .service-text {
    font-size: 16px;
  }
}

@media (max-width: 767.98px) {
  .inner-wrapper {
    padding: 0 32px;
  }

  .section-caption {
    margin-bottom: 40px;
    margin-left: -48px;
  }

  .section-caption::before {
    margin-left: 0;
    margin-right: 16px;
    width: 32px;
  }

  .service {
    margin-top: 20px;
  }

  .service-caption {
    padding-left: 0;
    font-size: 32px;
    flex-direction: column;
    white-space: normal;
  }

  .service-caption::before {
    position: relative;
    font-size: 10px;
    margin-bottom: 5px;
  }

  .service-content {
    padding-left: 0;
  }

  .service-tags {
    padding-bottom: 30px;
    margin-bottom: 12px;
    border-bottom: 1px solid;
  }

  .service.active .service-content {
    margin: 48px 0;
  }

  .service-text {
    font-size: 14px;
  }

  .service-action {
    border-width: 0;
    padding: 0;
    margin: 48px 0 0;
    font-size: 14px;
  }

  .chip-label {
    height: 30px;
    font-size: 12px;
  }
}

/* ─── Showreel ─── */
.showreel-player {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--black);
  margin-top: 32px;
  cursor: pointer;
}

.showreel-player__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--black);
}

.showreel-player.is-playing .showreel-player__video {
  opacity: 1;
}

.showreel-player.is-playing {
  cursor: default;
}

.showreel-player__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease-spring), background 0.3s, opacity 0.3s, visibility 0.3s;
  z-index: 2;
}

.showreel-player.is-playing .showreel-player__play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.showreel-player__play:hover {
  transform: scale(1.08);
  background: var(--brand);
  border-color: var(--brand);
}

.showreel-player.is-playing:hover .showreel-player__play {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  inset: auto 20px 20px auto;
  transform: none;
  width: 56px;
  height: 56px;
  font-size: 18px;
}

/* ─── Clients marquee ─── */
.clients-marquee {
  overflow: hidden;
  margin-top: 24px;
}

.clients-marquee__track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.clients-marquee:hover .clients-marquee__track {
  animation-play-state: paused;
}

.clients-marquee__group {
  display: flex;
  gap: 16px;
  padding: 8px 0;
}

.clients-badge {
  white-space: nowrap;
  padding: 14px 24px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--white);
}

/* ─── Awards / Recognition ─── */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.award-card {
  padding: clamp(24px, 3vw, 32px);
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-md);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
  position: relative;
  overflow: hidden;
}

.award-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.award-card:hover::before { transform: scaleX(1); }

.award-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.award-card__type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin-bottom: 12px;
}

.award-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.award-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-500);
}

@media (max-width: 1024px) {
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .awards-grid { grid-template-columns: 1fr; }
}

/* ─── Services grid (cards) ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  background: var(--gray-800);
  padding: clamp(32px, 4vw, 48px);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--brand-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.45s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(19, 110, 245, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before { opacity: 1; }

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

.service-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.service-card__index {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.1em;
}

.service-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--brand);
  font-size: 18px;
}

.service-card h3 {
  font-size: clamp(22px, 2.8vw, 32px);
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  font-weight: 700;
}

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

.service-card .redlink { margin-top: 28px; }

/* ─── Showcase ─── */
.showcase {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.showcase__media {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--black);
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.showcase__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  pointer-events: none;
}

.showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s linear;
}

.showcase__media:hover img { transform: scale(1.08); }

.showcase__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.showcase__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.showcase__feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
}

.showcase__feature::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

/* ─── Portfolio ─── */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}

.work-card {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  grid-column: span 4;
}

.work-card:nth-child(1) { grid-column: span 7; aspect-ratio: 16/10; }
.work-card:nth-child(2) { grid-column: span 5; aspect-ratio: 4/5; }
.work-card:nth-child(3) { grid-column: span 5; aspect-ratio: 4/5; }
.work-card:nth-child(4) { grid-column: span 7; aspect-ratio: 16/10; }
.work-card:nth-child(5) { grid-column: span 6; aspect-ratio: 3/2; }
.work-card:nth-child(6) { grid-column: span 6; aspect-ratio: 3/2; }
.work-card:nth-child(7) { grid-column: span 6; aspect-ratio: 3/2; }
.work-card:nth-child(8) { grid-column: span 6; aspect-ratio: 3/2; }

.work-card picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.7s;
}

.work-card:hover picture img,
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out), filter 0.7s;
}

.work-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.85);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3vw, 32px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 55%);
  color: var(--white);
  transition: background 0.4s;
}

.work-card:hover .work-card__overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.work-card__num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.3s;
}

.work-card:hover .work-card__num {
  opacity: 0.7;
  transform: translateY(0);
}

.work-card__overlay h3 {
  margin: 0 0 10px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease-out);
}

.work-card:hover .work-card__overlay h3 { transform: translateY(0); }

.work-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s 0.05s, transform 0.4s 0.05s var(--ease-out);
}

.work-card:hover .tags {
  opacity: 1;
  transform: translateY(0);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.work-card__arrow {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.35s, transform 0.35s var(--ease-spring);
}

.work-card__arrow::before {
  content: "";
  width: 18px;
  height: 18px;
  background-color: currentColor;
  -webkit-mask: var(--icon-arrow-up-right) center / contain no-repeat;
  mask: var(--icon-arrow-up-right) center / contain no-repeat;
}

.work-card:hover .work-card__arrow {
  opacity: 1;
  transform: scale(1);
}

@media (hover: none) {
  .work-card__overlay h3,
  .work-card .tags {
    opacity: 1;
    transform: translateY(0);
  }

  .work-card__overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 55%);
  }

  .work-card__num,
  .work-card__arrow {
    opacity: 0.85;
    transform: scale(1);
  }
}

/* ─── FAQ ─── */
.faq-list {
  margin-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-q {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: clamp(20px, 3vw, 28px) 0;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: color 0.25s;
}

.faq-q:hover { color: var(--brand); }

.faq-q__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 300;
  color: var(--brand);
  transition: transform 0.35s var(--ease-out), background 0.35s, border-color 0.35s;
}

.faq-item.is-open .faq-q__icon {
  transform: rotate(45deg);
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out);
}

.faq-a__inner {
  padding: 0 0 clamp(20px, 3vw, 28px);
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 64ch;
  font-size: 16px;
}

.faq-item.is-open .faq-a { max-height: 300px; }

/* ─── Contact ─── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.contact-info__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--gray-50);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.contact-card:hover {
  border-color: var(--brand-soft);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.contact-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.contact-card__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 2px;
}

.contact-card__value {
  font-size: 15px;
  font-weight: 600;
}

.contact-form-box {
  background: var(--gray-50);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 40px);
}

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

.form-field { margin-bottom: 16px; }

.form-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.form-field textarea { min-height: 130px; resize: vertical; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 36px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), background 0.25s, box-shadow 0.25s;
}

.btn:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--brand-glow);
}

.btn:active { transform: translateY(0); }

.btn--arrow::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--icon-arrow-right) center / contain no-repeat;
  mask: var(--icon-arrow-right) center / contain no-repeat;
  transition: transform 0.25s var(--ease-spring);
}

.btn--arrow:hover::after {
  transform: translateX(2px);
}

.btn--outline {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: var(--shadow-md);
}

.section--dark .btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.section--dark .btn--outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: var(--black);
  color: var(--white);
  padding: clamp(48px, 8vw, 80px) 0;
  overflow: hidden;
  position: relative;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, var(--brand-soft) 0%, transparent 70%);
}

.cta-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 16ch;
}

.cta-banner p {
  margin: 8px 0 0;
  opacity: 0.6;
  font-size: 16px;
}

/* ─── Footer (dd.nyc style) ─── */
.footer {
  background-color: var(--black);
  color: var(--white);
  padding: 70px 0 40px;
}

.footer-caption {
  max-width: 800px;
}

.footer-caption .title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2em;
  font-size: clamp(22px, 3.2vw, 38px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0;
}

.footer-caption .title > span {
  color: var(--white);
  max-width: 18ch;
}

.footer-caption .title .redlink {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin-top: 0.08em;
  gap: clamp(8px, 1.2vw, 14px);
}

.footer-caption .title .redlink::after {
  width: clamp(26px, 4.6vw, 46px);
  height: clamp(26px, 4.6vw, 46px);
}

.footer-email {
  font-size: clamp(20px, 2.8vw, 34px);
  font-weight: 500;
  line-height: 1.04;
  color: #575757;
  letter-spacing: -0.035em;
  transition: color 0.15s;
  margin-top: 4px;
}

.footer-email a {
  color: inherit;
}

.footer-email:hover {
  color: #757575;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(60px, 8vw, 100px);
  gap: clamp(40px, 8vw, 100px);
}

.footer-col::before {
  content: "";
  width: 88px;
  height: 1px;
  background-color: currentColor;
  margin-bottom: 20px;
  display: block;
}

.footer-col_caption {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
}

.footer-col_list {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.footer-col_list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col_list li + li {
  margin-top: 1em;
}

.footer-col_list a {
  color: inherit;
  transition: color 0.15s;
}

.footer-col_list a:hover {
  color: var(--brand);
}

.bottom-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "meta logos"
    "legal legal";
  align-items: center;
  column-gap: clamp(16px, 3vw, 32px);
  row-gap: clamp(20px, 2.5vw, 28px);
  font-size: 12px;
  padding: 55px 0 0;
}

.bottom-line .line-1-2 {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-self: start;
  min-width: 0;
}

.bottom-line .line-1-2 p {
  padding: 0 15px 0 0;
  margin: 0 0 0 10px;
  position: relative;
}

.bottom-line .line-1-2 p::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0.65em;
  height: 0.9em;
  background-color: currentColor;
  -webkit-mask: var(--icon-chevron-right) center / contain no-repeat;
  mask: var(--icon-chevron-right) center / contain no-repeat;
}

.bottom-line .line-1-2 p:first-child {
  margin: 0;
}

.bottom-line .logotype-bottom {
  grid-area: logos;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  flex-wrap: nowrap;
  gap: clamp(6px, 1vw, 12px);
  min-width: 0;
}

.logotype-bottom__item {
  flex: none;
  display: flex;
  align-items: center;
}

.logotype-bottom__item--logo img,
.logotype-bottom__item--logo .site-logo__img {
  width: auto;
  height: clamp(22px, 2.4vw, 28px);
  max-width: min(140px, 28vw);
}

.logotype-bottom__item--badge img {
  width: clamp(34px, 3vw, 46px);
  height: auto;
}

.bottom-line .logotype-bottom span img,
.logotype-bottom__item img {
  max-width: 100%;
  height: auto;
  border: none;
  display: block;
}

.logotype-bottom__wordmark {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logotype-bottom__wordmark .mark {
  color: var(--brand);
}

.bottom-line .line-last {
  grid-area: legal;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  width: 100%;
  padding: clamp(16px, 2.5vw, 24px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.bottom-line .line-last .footer-legal {
  flex: 1 1 auto;
  min-width: 0;
}

.bottom-line .line-last .footer-legal__copy {
  margin-top: 0;
  flex: 0 0 auto;
}

.bottom-line .line-last .heart {
  width: 20px;
  height: 15px;
  position: static;
  margin: 0;
  flex: none;
  color: var(--brand);
}

.bottom-line .line-last .heart .icon {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 1216px) {
  .bottom-line {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "meta logos"
      "legal legal";
    row-gap: 20px;
  }

  .bottom-line .line-1-2,
  .bottom-line .logotype-bottom,
  .bottom-line .line-last {
    justify-self: stretch;
  }

  .bottom-line .logotype-bottom {
    justify-self: end;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .bottom-line .line-last {
    text-align: left;
  }
}

@media (max-width: 1023.98px) {
  .desktop {
    display: none !important;
  }

  .footer {
    padding: 40px 24px 80px;
  }

  .footer-caption .title {
    font-size: 22px;
  }

  .footer-caption .title .redlink {
    font-size: clamp(28px, 9vw, 40px);
  }

  .footer-caption .title .redlink::after {
    width: clamp(22px, 6.5vw, 30px);
    height: clamp(22px, 6.5vw, 30px);
  }

  .footer-email {
    font-size: 22px;
  }

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

  .footer-col::before {
    margin-bottom: 10px;
  }

  .footer-col_caption {
    font-size: 14px;
  }

  .footer-col_list {
    margin-top: 10px;
    font-size: 14px;
  }

  .footer-col_list li + li {
    margin-top: 10px;
  }

  .footer-col__connect {
    grid-column-end: span 2;
    margin-top: 48px;
  }

  .footer-col__connect .footer-col_list {
    font-size: 12px;
  }

  .footer-col__address {
    grid-column-end: span 2;
    margin-top: 8px;
  }

  .footer-col__connect::before,
  .footer-col__address::before,
  .footer-col__connect .footer-col_caption,
  .footer-col__address .footer-col_caption {
    display: none;
  }

  .footer-col__connect .footer-col_list,
  .footer-col__address .footer-col_list {
    margin-top: 0;
  }

  .footer-col__connect .footer-col_list ul,
  .footer-col__address .footer-col_list ul {
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-col__address .footer-col_list ul {
    color: #575757;
  }

  .footer-col__connect .footer-col_list li + li,
  .footer-col__address .footer-col_list li + li {
    margin: 0 0 0 8px;
  }

  .bottom-line {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "logos"
      "legal";
    padding: 25px 0 0;
    row-gap: 20px;
  }

  .bottom-line .logotype-bottom {
    justify-self: start;
    justify-content: flex-start;
    padding: 0;
  }

  .bottom-line .line-1-2 {
    gap: 4px 0;
  }

  .bottom-line .line-last {
    margin-top: 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 639px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-col__connect,
  .footer-col__address {
    grid-column-end: auto;
    margin-top: 36px;
  }

  .footer-col__connect::before,
  .footer-col__address::before,
  .footer-col__connect .footer-col_caption,
  .footer-col__address .footer-col_caption {
    display: block;
  }

  .footer-col__connect .footer-col_list ul,
  .footer-col__address .footer-col_list ul {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
  }

  .footer-col__connect .footer-col_list li + li,
  .footer-col__address .footer-col_list li + li {
    margin-left: 0;
  }
}

/* ─── Animations ─── */
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  10% { transform: scale(1.1); }
  20% { transform: scale(1); }
  30% { transform: scale(1.1); }
  40% { transform: scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger.is-visible > *:nth-child(9) { transition-delay: 0.64s; }

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

/* ─── Responsive ─── */
@media (max-width: 1319px) {
  .topnav-item {
    margin-left: 20px;
  }
}

@media (max-width: 1199.98px) {
  .topnav.desktop,
  .topbar-right.desktop {
    display: none !important;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 1100px) {
  .work-card,
  .work-card:nth-child(n) {
    grid-column: span 6;
    aspect-ratio: 4/3;
  }
}

@media (max-width: 1024px) {
  .showcase,
  .contact-wrap { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .header-caption { margin-top: 180px; }
  .header-wrapper { padding-bottom: 200px; }
  .header-reviews { margin-top: 120px; }
  .header__cut .header-caption { margin-top: 140px; }
  .citebox { font-size: 100px; }
  .clients { grid-gap: 100px; grid-template-columns: repeat(4, 1fr); }
  .clients--sectors { grid-template-columns: repeat(5, 1fr); gap: 72px; row-gap: 56px; }
  .section__contrast--sectors .client:nth-child(n + 9) { display: flex; }
  .client:nth-child(n + 9) { display: none; }
  .previews-carousel { width: 100%; margin-bottom: 60px; }
  .previews-carousel__slide { flex-basis: 100%; }
  .textbox {
    margin-left: 0;
    width: calc(60vw - var(--pad-x));
    font-size: 28px;
  }
  .textbox-action { display: block; }
}

@media (max-width: 1024px) {
  .shiftbox {
    margin-top: 0;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    min-height: 0;
  }

  .shiftbox-image {
    width: 100%;
  }

  .shiftbox-content {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    padding: 48px var(--pad-x) 0;
  }

  .shiftbox-nav {
    margin-left: 0;
    padding: 20px var(--pad-x);
  }
}

@media (max-width: 767px) {
  .shiftbox-content {
    padding-top: 48px;
  }

  .preview-name { font-size: 14px; }
  .shiftbox-carousel__dots { top: 55vw; width: 100%; padding: 0 16px; margin-top: 0; }
}

@media (max-width: 639px) {
  .shiftbox-image::before { padding-top: 65%; }
  .shiftbox-carousel__dots { top: 260px; }
}

@media (max-width: 768px) {
  .section { margin-top: 100px; }
  .section--shiftbox { margin-top: 0; }
  .topnav.desktop,
  .topbar-right.desktop { display: none !important; }
  .menu-toggle { display: block; }
  .stats,
  .numbers { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .work-card,
  .work-card:nth-child(n) {
    grid-column: span 12;
    aspect-ratio: 4/3;
  }
  .scroll-hint { display: none; }
  .header-caption { margin-top: 120px; }
  .header-wrapper { padding-bottom: 150px; }
  .header-heart {
    top: 58vh;
  }
  .header-heart .heart { width: 2.6em; height: 2.6em; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
  .section-head__link { white-space: normal; }
  .textbox {
    font-size: 22px;
    line-height: 1.2;
    margin-left: 0;
    width: 100%;
    max-width: 100%;
  }
  .textbox-action { display: block; }
  body.is-ready .header-heart {
    margin-left: 0;
  }
  .section-caption {
    margin-left: 0;
  }
  .section-caption_text {
    white-space: normal;
  }
  .inner-wrapper {
    padding: 0;
  }
  .header__cut .header-caption { margin-top: 120px; }
  .header__cut .header-reviews { margin-top: 80px; }
  .marquee-item { font-size: 18px; }
  .citebox { font-size: 60px; margin: 2em 0; }
  .previews-carousel { margin-bottom: 0; }
  .preview-content::before { display: none; }
  .preview-name { font-size: 14px; }
  .preview-action { display: none; }
  .section-footer { margin-top: 40px; font-size: 14px; }
  .section__contrast { padding: 100px 0; }
  .section.section__contrast--sectors { padding: 72px 0 120px; }
  .section__contrast--sectors + .section--recognition { padding-top: 40px; }
  .section__contrast--sectors .section-caption { margin-bottom: 40px; }
  .clients { grid-gap: 20px; grid-template-columns: 1fr 1fr; }
  .clients--sectors { row-gap: 28px; column-gap: 24px; }
  .section__contrast--sectors .client { height: auto; min-height: 0; }
  .client { height: 60px; }
  .clients--sectors .client:nth-child(n + 7),
  .section__contrast--sectors .client:nth-child(n + 7) { display: flex; }
  .client:nth-child(n + 7) { display: none; }
  .title__main { max-width: none; }
}

/* ─── Service detail page (dd.nyc /services/web-design/) ─── */
.page-service .header ~ .main {
  margin-top: 0;
}

.textbox__push {
  margin-left: 0;
}

.textbox__push .textbox-content {
  display: inline;
}

/* Keygrid showreel */
.section--keygrid {
  padding: 0;
}

.keygrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: stretch;
}

.keygrid-col__c,
.keygrid-col__b {
  min-height: 100%;
}

.keygrid-inner {
  padding: 100px var(--pad-x);
}

.keygrid-maintitle {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 480px;
}

.keygrid-description {
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  margin-top: 48px;
  max-width: 480px;
}

.intro-start-image {
  position: relative;
  min-height: 420px;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.intro-start-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intro-start-image video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 2;
}

.videosection .keygrid-col__c > div {
  overflow: hidden;
  height: 100%;
}

/* Expertise panes */
.panes {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
  margin: 100px 0;
  counter-reset: pane-index;
}

.pane {
  background-color: #eee;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pane-index {
  line-height: 1.25;
  letter-spacing: -0.035em;
  margin-bottom: 40px;
}

.pane-index:empty::before {
  content: counter(pane-index, decimal-leading-zero);
  counter-increment: pane-index;
}

.pane-index::after {
  content: "";
  width: 0.55em;
  height: 0.8em;
  margin-left: 0.25em;
  display: inline-block;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: var(--icon-chevron-right) center / contain no-repeat;
  mask: var(--icon-chevron-right) center / contain no-repeat;
}

.pane-title {
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 40px;
}

.pane-subtitle {
  margin-top: auto;
}

.pane-subtitle::before {
  content: "";
  display: block;
  width: 150px;
  height: 1px;
  background-color: currentColor;
  margin-bottom: 15px;
}

.pane-subtitle p {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* Process nlist */
.nlist {
  counter-reset: nlist-index;
  margin-left: 80px;
}

.nlist-item {
  position: relative;
  margin-top: 80px;
  padding-left: 100px;
}

.nlist-item:first-child {
  margin-top: 0;
}

.nlist-item::before {
  content: counter(nlist-index, decimal-leading-zero);
  counter-increment: nlist-index;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #eee;
  display: inline-flex;
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.025em;
  align-items: center;
  justify-content: center;
  transform: translateX(-90px);
  margin-bottom: -25px;
}

.nlist-caption {
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 60px;
}

.nlist-tabs {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  align-items: flex-start;
}

.nlist-tab {
  letter-spacing: -0.03em;
  color: #cbcbcb;
  font-weight: 700;
  margin-right: 40px;
  position: relative;
  padding-top: 20px;
  cursor: pointer;
  transition: color 0.25s;
}

.nlist-tab.active {
  color: #000;
  pointer-events: none;
}

.nlist-pane {
  display: none;
  width: 100%;
  order: 99;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-top: 20px;
}

.nlist-pane.active {
  display: block;
}

.nlist-pane p {
  margin: 0;
  max-width: 820px;
}

.nlist-content {
  display: none;
  max-width: 820px;
  margin-top: 20px;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.nlist-sensor {
  display: none;
}

@media (min-width: 1200px) {
  .nlist-pane {
    display: none !important;
  }

  .nlist-content {
    display: block;
  }
}

/* Formss (dd.nyc contact block) */
.to-formss {
  display: block;
  height: 0;
}

#contact.section {
  margin: 150px 0 0;
}

.formss {
  padding: 100px 0 0;
}

.formss .center {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.formss-wrap {
  width: 100%;
  position: relative;
}

.formss-wrap h2 {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: clamp(29px, 4vw, 42px);
  line-height: 0.901;
  letter-spacing: -0.05em;
  position: relative;
  z-index: 5;
  cursor: pointer;
  margin: 0;
}

.formss-wrap h2.is-open {
  cursor: default;
}

.formss-heart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 145px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  appearance: none;
  position: relative;
  z-index: 3;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 232 199'%3E%3Cpath d='M115.353 78.843L56.1288 19.6478L1.58594 74.1637L115.214 187.735L229.691 73.3598L175.265 18.9609L115.353 78.843Z' fill='%23136ef5'/%3E%3C/svg%3E") no-repeat center center;
  background-size: contain;
  animation: formss-beat 2s infinite;
  color: #fff;
  transition: transform 0.2s ease;
}

.formss-heart__label {
  position: relative;
  z-index: 1;
  max-width: 7.5em;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: center;
  pointer-events: none;
}

.formss-heart:hover {
  transform: scale(1.04);
}

.formss-heart:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 6px;
}

.formss-wrap.is-open .formss-heart {
  animation: none;
  cursor: default;
  transform: none;
}

.formss-wrap.is-open .formss-heart__label {
  opacity: 0.35;
}

@keyframes formss-beat {
  0%, 100% { transform: scale(1); }
  10%, 30% { transform: scale(1.08); }
  20%, 40% { transform: scale(1); }
}

.toggle-formss {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.formss-wrap.is-open .toggle-formss {
  max-height: 1200px;
}

.formss-form .cell {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 80px;
  padding: 50px 0;
}

.formss-form .inputs {
  width: calc(50% - 40px);
}

.formss-field {
  display: block;
  width: 100%;
  padding: 20px 0;
}

.formss-field:first-child {
  padding-top: 0;
}

.formss-input {
  background-image: linear-gradient(#000, #000), linear-gradient(#000, #000);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: 100% 1px, 0 2px;
  border: none;
  padding: 12px 0;
  width: 100%;
  transition: background-size 0.25s;
  line-height: 1.65;
  height: 56px;
  outline: none;
}

.formss-input:focus {
  background-size: 100% 1px, 100% 2px;
}

.checkbox-select {
  width: calc(50% - 40px);
}

.formss-form strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.05em;
  font-weight: 600;
  margin-bottom: 5px;
}

.formss-form strong + .formss-chips {
  margin-bottom: 30px;
}

.formss-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 5px 0 0;
}

.formss-chip {
  position: relative;
  cursor: pointer;
}

.formss-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.formss-chip span {
  white-space: nowrap;
  height: 40px;
  overflow: hidden;
  padding: 0 15px;
  display: inline-flex;
  border-radius: 100px;
  background: #eee;
  align-items: center;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.05em;
  font-weight: 600;
  transition: all 0.15s;
}

.formss-chip input:checked ~ span {
  background: var(--brand);
  color: #fff;
}

.formss-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 180px;
  height: 130px;
  margin: 0 auto;
  border: none;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 232 199'%3E%3Cpath d='M115.353 78.843L56.1288 19.6478L1.58594 74.1637L115.214 187.735L229.691 73.3598L175.265 18.9609L115.353 78.843Z' fill='%23136ef5'/%3E%3C/svg%3E") no-repeat center center;
  background-size: contain;
  animation: formss-beat 2s infinite;
}

.formss-submit span {
  position: relative;
  z-index: 2;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.formss-submit:hover {
  animation: none;
}

.formss-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formss-feedback {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.formss-feedback.is-success {
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.formss-feedback.is-error {
  background: #fff1ee;
  border: 1px solid #ffd2c8;
  color: #9a3412;
}

.formss-form.is-submitting .formss-submit {
  opacity: 0.7;
  pointer-events: none;
}

.formss-page-flash {
  max-width: 920px;
  margin: 24px auto 0;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 15px;
}

.formss-page-flash--success {
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.formss-page-flash--error {
  background: #fff1ee;
  border: 1px solid #ffd2c8;
  color: #9a3412;
}

/* Service FAQ (dd.nyc style) */
.inner-wrapper .faq--service {
  margin: 0 calc(var(--pad-x) * -1);
}

.faq--service {
  border-top: 1px solid;
  display: grid;
  counter-reset: faq-index;
}

.faq--service .faq-item {
  border-bottom: 1px solid;
  padding: 40px var(--pad-x);
  transition: background-color 0.25s, padding 0.25s;
}

.faq--service .faq-header {
  align-items: baseline;
  display: grid;
  grid-gap: 40px;
  grid-template-columns: minmax(0, 625px) 1fr auto;
  user-select: none;
  cursor: pointer;
}

.faq--service .faq-header::before {
  content: counter(faq-index, decimal-leading-zero) ".";
  counter-increment: faq-index;
  font-size: 24px;
  line-height: 1;
}

.faq--service .faq-header-title {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.faq--service .faq-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 30px;
  transition: color 0.25s;
  color: inherit;
}

.faq--service .faq-content {
  padding: 30px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 625px) 1fr;
  grid-gap: 40px;
  overflow: hidden;
  transition: all 0.25s;
}

.faq--service .faq-content-media {
  position: relative;
  padding-left: 100px;
}

.faq--service .faq-content-media img {
  width: 100%;
  height: auto;
  display: block;
}

.faq--service .faq-content-text {
  max-width: 500px;
  grid-column: 2 / 3;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.faq--service .faq-content-text p {
  margin: 0 0 1em;
}

.faq--service .faq-item.active {
  background-color: #eee;
  padding: 60px var(--pad-x);
}

.faq--service .faq-item.active .faq-header-icon {
  color: var(--brand);
}

.faq--service .faq-item:not(.active) .faq-content {
  padding: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

/* Awards accordion (dd.nyc) */
.section--recognition {
  padding-bottom: 150px;
}

.awards-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

.award {
  border-bottom: 1px solid;
  max-width: 660px;
  width: 100%;
  position: relative;
}

.award::after {
  content: "";
  position: absolute;
  bottom: -2px;
  height: 3px;
  background-color: #000;
  width: 100%;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease-in-out;
}

.award.active::after,
.award:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.award-header {
  display: flex;
  align-items: baseline;
  padding: 12px 0;
  cursor: pointer;
}

.award-caption {
  flex: auto;
  margin-right: 40px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.award-type {
  flex: none;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: #9a9a9a;
}

.award-content-wrapper {
  display: none;
  overflow: hidden;
}

.award.active .award-content-wrapper {
  display: block;
}

.award-content {
  display: flex;
  gap: 40px;
}

.award-text {
  flex: auto;
  font-size: 15px;
  max-width: 404px;
  letter-spacing: -0.02em;
  color: #575757;
  padding: 20px 0 40px;
}

.award-text p {
  margin: 0;
}

.award-image {
  flex: none;
  max-width: 92px;
  padding: 20px 0 40px;
}

.award-image img {
  width: 100%;
  height: auto;
}

/* Infobox grid (dd.nyc branding expertise) */
.infobox-grid {
  display: grid;
  gap: 30px 0;
  counter-reset: infobox-index;
}

.infobox-row {
  display: grid;
  gap: 0 120px;
}

.infobox-cell {
  width: 440px;
  max-width: 100%;
}

.infobox {
  display: flex;
  flex-direction: column;
  position: relative;
}

.infobox-title {
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.infobox-description {
  margin-top: 60px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.infobox-description p {
  margin: 0;
}

.infobox-action {
  margin-top: 60px;
  font-size: 22px;
}

.infobox-grid__3 .infobox-row {
  grid-template-columns: repeat(4, 1fr);
}

.infobox-grid__3 .infobox-row:nth-child(1) .infobox-cell {}
.infobox-grid__3 .infobox-row:nth-child(2) .infobox-cell { grid-column-start: 2; }
.infobox-grid__3 .infobox-row:nth-child(3) .infobox-cell { grid-column-start: 3; }
.infobox-grid__3 .infobox-row:nth-child(4) .infobox-cell { grid-column-start: 4; }

@media (max-width: 1319px) {
  .keygrid {
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }

  .intro-start-image {
    min-height: 320px;
  }

  .panes {
    grid-template-columns: repeat(2, 1fr);
    margin: 60px 0;
  }

  .nlist {
    margin-left: 0;
  }

  .nlist-item {
    padding-left: 0;
  }

  .nlist-item::before {
    transform: none;
    margin-bottom: 20px;
  }

  .faq--service .faq-header {
    grid-template-columns: 1fr auto;
  }

  .faq--service .faq-header::before {
    grid-column: 1 / -1;
    margin-bottom: 12px;
  }

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

  .faq--service .faq-content-media {
    padding-left: 0;
  }

  .faq--service .faq-content-text {
    grid-column: 1;
  }

  .infobox-grid__3 .infobox-row {
    grid-template-columns: auto;
  }

  .infobox-grid__3 .infobox-row .infobox-cell {
    width: auto;
  }

  .infobox-grid__3 .infobox-row:nth-child(n) .infobox-cell {
    grid-column-start: 1;
  }

  .infobox-description {
    margin-top: 40px;
    font-size: 16px;
    max-width: 350px;
  }

  .infobox-action {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  #contact.section {
    margin-top: 100px;
  }

  .formss-form .cell {
    flex-direction: column;
    gap: 30px;
    padding: 40px 0;
  }

  .formss-form .inputs,
  .checkbox-select {
    width: 100%;
  }

  .formss-heart,
  .formss-submit {
    width: 168px;
    height: 122px;
  }

  .formss-heart__label {
    font-size: 14px;
  }

  .panes {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pane {
    padding: 30px 24px;
  }

  .nlist-caption {
    margin-bottom: 30px;
  }

  .nlist-tab {
    margin-right: 20px;
    font-size: 14px;
  }

  .nlist-content,
  .nlist-pane {
    font-size: 18px;
  }

  .faq--service .faq-item,
  .faq--service .faq-item.active {
    padding: 30px 20px;
  }
}

/* Agency & Carriere pages (dd.nyc) */
.page-agency .header-heart,
.page-carriere .header-heart {
  display: none;
}

.agency-typewriter-wrap {
  display: inline;
}

.agency-typewriter,
.agency-typewriter-cursor {
  display: inline;
}

.agency-typewriter-cursor::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 0.85em;
  margin-left: 2px;
  vertical-align: -0.05em;
  background: currentColor;
  animation: agency-cursor-blink 0.8s step-end infinite;
}

@keyframes agency-cursor-blink {
  50% { opacity: 0; }
}

.logotype {
  display: flex;
  align-items: center;
  margin-left: 282px;
  padding: 77px 0 0;
}

.logotype span {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0 40px;
}

.logotype span:first-child {
  margin: 0;
}

.logotype span img {
  width: 100%;
  height: auto;
  border: none;
  vertical-align: bottom;
}

.keynumbers {
  display: grid;
  grid-gap: 150px;
  grid-template-columns: repeat(3, 1fr);
  margin: 120px 0;
}

.keynumbers:first-child {
  margin-top: 0;
}

.keynumbers:last-child {
  margin-bottom: 0;
}

.keynumber {
  display: flex;
  flex-direction: column;
}

.keynumber-caption {
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
  border-bottom: 1px solid;
  overflow: hidden;
}

.keynumber-caption > span {
  display: block;
  padding-bottom: 40px;
}

.keynumber-value {
  font-size: clamp(72px, 8vw, 130px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 600;
  overflow: hidden;
}

.keynumber-value > span {
  display: block;
  padding-top: 30px;
  line-height: 2em;
  white-space: nowrap;
}

.keynumber-description {
  margin-top: 60px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.keynumber-description p {
  margin: 0;
}

.chevron::before {
  content: "";
  width: 0.55em;
  height: 0.8em;
  display: inline-block;
  vertical-align: middle;
  background-color: var(--brand);
  -webkit-mask: var(--icon-chevron-right) center / contain no-repeat;
  mask: var(--icon-chevron-right) center / contain no-repeat;
}

.infobox-index {
  counter-increment: infobox-index;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--gray-100);
  display: inline-flex;
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.025em;
  align-items: center;
  justify-content: center;
  margin-bottom: -25px;
}

.infobox-index:empty::before {
  content: counter(infobox-index, decimal-leading-zero);
}

.infobox-index ~ * {
  margin-left: 96px;
}

.infobox-grid__4 {
  grid-gap: 80px 0;
  margin: 0 auto;
  max-width: 1200px;
}

.infobox-grid__4 .infobox-row:nth-child(even) .infobox-cell {
  margin-left: auto;
}

.infobox-grid__4 .infobox-cell {
  width: 640px;
  max-width: 100%;
}

@media (max-width: 1600px) {
  .logotype span {
    width: 200px;
    height: 84px;
  }
}

@media (max-width: 1400px) {
  .logotype span {
    width: 180px;
    height: 76px;
  }

  .infobox-grid__4 {
    max-width: 900px;
  }

  .infobox-grid__4 .infobox-cell {
    width: 540px;
  }

  .infobox-index {
    font-size: 22px;
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 1024px) {
  .logotype {
    margin-left: 0;
    padding-top: 40px;
    flex-wrap: wrap;
    gap: 20px;
  }

  .logotype span {
    margin: 0;
    width: calc(50% - 10px);
    height: auto;
  }

  .keynumbers {
    grid-template-columns: 1fr;
    grid-gap: 80px;
    margin: 80px 0;
  }

  .infobox-grid__4 {
    margin: 0;
  }

  .infobox-grid__4 .infobox-row:nth-child(even) .infobox-cell {
    margin-left: 0;
  }

  .infobox-grid__4 .infobox-cell {
    width: 100%;
  }

  .infobox-grid__4 .infobox-title {
    font-size: 28px;
    font-weight: 500;
  }

  .infobox-index {
    margin-bottom: 20px;
    margin-left: 0;
    transform: none;
    width: 32px;
    height: 32px;
    font-size: 14px;
    font-weight: 400;
  }

  .infobox-index ~ * {
    margin-left: 0;
  }

  .infobox-description {
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* Notizie page (dd.nyc /news/) */
.page-notizie .main {
  padding-top: calc(var(--nav-h) + clamp(48px, 6vw, 100px));
}

.section--notizie {
  margin-top: 0 !important;
}

.section--loadmore {
  margin-top: 100px;
}

.projects {
  display: flex;
  flex-wrap: wrap;
  margin: -36px -8px;
}

.project {
  flex: none;
  width: 55%;
  padding: 36px 8px;
}

.project.is-notizie-hidden {
  display: none;
}

.project .preview-media {
  display: flex;
  position: relative;
  margin-bottom: 20px;
}

.project .preview-media::before {
  content: "";
  flex: none;
  width: 0;
  padding-top: 65%;
}

.project .preview-media img.cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.project:nth-child(4n + 2),
.project:nth-child(4n + 3) {
  width: 45%;
  margin-top: 6.5%;
}

.project:nth-child(4n + 2) .preview-media,
.project:nth-child(4n + 3) .preview-media {
  margin-top: 5%;
}

.project:nth-child(4n + 2) .preview-media::before,
.project:nth-child(4n + 3) .preview-media::before {
  padding-top: 60%;
}

.a-preview {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.heartbox {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
  min-height: 130px;
  cursor: pointer;
}

.heartbox_icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 180px;
  height: 180px;
  margin: -90px 0 0 -90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heartbox_icon .heart {
  width: 100%;
  height: 100%;
  color: var(--brand);
  animation: heartbeat 2s infinite;
}

.heartbox_icon .heart .icon {
  width: 100%;
  height: 100%;
}

.heartbox:hover .heartbox_icon .heart {
  animation-play-state: paused;
}

.heartbox_text {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.05em;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

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

.heartbox_text a:hover {
  color: var(--brand);
}

@media (max-width: 1024px) {
  .page-notizie .main {
    padding-top: calc(var(--nav-h) + 40px);
  }

  .projects {
    margin: -20px 0;
  }

  .project {
    width: 100%;
    padding: 20px 0;
  }

  .project .preview-media {
    width: auto;
    margin: 0 -20px 20px;
  }

  .project:nth-child(4n + 2),
  .project:nth-child(4n + 3) {
    width: 100%;
    margin-top: 0;
  }

  .project:nth-child(4n + 2) .preview-media,
  .project:nth-child(4n + 3) .preview-media {
    margin-top: 0;
  }

  .project:nth-child(4n + 2) .preview-media::before,
  .project:nth-child(4n + 3) .preview-media::before {
    padding-top: 65%;
  }

  .heartbox {
    min-height: 100px;
  }

  .heartbox_icon {
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
  }

  .heartbox_text {
    font-size: 30px;
  }
}

/* Carriere page (dd.nyc /agency/careers/) */
.textbox-content.normaltext {
  max-width: 900px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.textbox-content.normaltext h2 {
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 1em;
}

.textbox-content.normaltext p {
  margin: 0 0 1.25em;
}

.textbox-content.normaltext p:last-child {
  margin-bottom: 0;
}

.textbox-content.normaltext a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.textbox-content.normaltext a:hover {
  color: var(--brand);
}

.infobox-grid__2 .infobox-row {
  grid-template-columns: 1fr 1fr;
  margin-left: 180px;
  position: relative;
  margin-top: -40px;
  margin-bottom: -40px;
}

.infobox-grid__2 .infobox-cell {
  max-width: 440px;
  width: auto;
  margin: 40px 0;
}

@media (max-width: 1024px) {
  .infobox-grid__2 .infobox-row {
    grid-template-columns: 1fr;
    grid-gap: 70px 0;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
  }

  .infobox-grid__2 .infobox-cell {
    max-width: none;
    margin: 0;
  }
}

/* Contatti page (dd.nyc /contact/) */
.section--contatti {
  margin-top: 0 !important;
}

.formss--contact .formss-wrap.is-open .toggle-formss {
  max-height: 1600px;
}

.formss--contact .formss-heart {
  margin-top: 0;
}

/* Homepage formss (dd.nyc Get in Touch) */
.section--formss-home {
  margin: 0;
}

.formss--home {
  padding: clamp(40px, 6vw, 80px) 0 0;
}

.formss--home .formss-wrap.is-open .toggle-formss {
  max-height: 1800px;
}

.formss-tagline {
  margin: clamp(24px, 4vw, 40px) auto 0;
  max-width: 52ch;
  text-align: center;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--gray-500);
}

.emailbox {
  margin-top: clamp(48px, 8vw, 80px);
  margin-bottom: clamp(48px, 8vw, 72px);
  font-size: clamp(48px, 10vw, 160px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  display: flex;
  overflow: hidden;
}

.emailbox-content {
  padding-right: 0.25em;
  transition: color 0.15s;
  white-space: nowrap;
}

.emailbox-content a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.emailbox-content a:hover {
  color: var(--brand);
}

.emailbox:hover .runner-start,
.emailbox:hover .runner-end {
  animation-play-state: paused;
}

.contacts-location {
  margin-bottom: clamp(80px, 10vw, 140px);
}

.contacts-location__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}

.contacts-location__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 40px) 0;
}

.contacts-location__eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.contacts-location__title {
  margin: 0 0 clamp(28px, 4vw, 40px);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.contacts-location__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

.contacts-location__item {
  display: grid;
  gap: 6px;
}

.contacts-location__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.contacts-location__value {
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.45;
  letter-spacing: -0.03em;
  font-style: normal;
}

.contacts-location__link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.contacts-location__link:hover {
  color: var(--brand);
}

.contacts-location__directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(28px, 4vw, 40px);
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  align-self: flex-start;
  transition: background-color 0.15s, transform 0.15s;
}

.contacts-location__directions:hover {
  background: var(--brand);
}

.contacts-location__directions .icon {
  flex: none;
  width: 16px;
  height: 16px;
}

.contacts-location__map {
  min-height: 0;
}

.contacts-location__map-frame {
  position: relative;
  height: 100%;
  min-height: clamp(280px, 42vw, 480px);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: var(--shadow-md);
}

.contacts-location__map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: inherit;
  pointer-events: none;
}

.contacts-location__map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

.selectbox {
  position: relative;
  display: flex;
  align-items: center;
  background-image: linear-gradient(#000, #000);
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  cursor: pointer;
  margin-top: 40px;
}

.selectbox-input {
  border: none;
  background: transparent;
  padding: 12px 0;
  width: 100%;
  text-overflow: ellipsis;
  line-height: 1.65;
  height: 56px;
  pointer-events: none;
  outline: none;
  font: inherit;
  color: inherit;
}

.selectbox-input::placeholder {
  color: var(--gray-400);
}

.selectbox-suffix {
  flex: none;
  margin-left: 20px;
  transition: transform 0.15s;
}

.selectbox.active .selectbox-suffix {
  transform: scaleY(-1);
}

.select {
  position: absolute;
  z-index: 10;
  background-color: #fff;
  width: 100%;
  left: 0;
  top: 100%;
  visibility: hidden;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.15s;
  box-shadow: var(--shadow-md);
}

.selectbox.active .select {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.select-option {
  min-height: 56px;
  border-bottom: 1px solid var(--gray-400);
  letter-spacing: -0.05em;
  color: var(--gray-400);
  transition: color 0.15s;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.select-option:hover,
.select-option.active {
  color: #000;
}

@media (max-width: 1024px) {
  .page-contatti .main {
    margin-top: 52px;
  }

  .emailbox {
    margin-top: 48px;
    margin-bottom: 40px;
  }

  .contacts-location__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contacts-location__info {
    padding: 0;
  }

  .contacts-location__map-frame {
    min-height: 320px;
    margin: 0 calc(-1 * var(--pad-x));
    border-radius: 0;
    box-shadow: none;
  }

  .contacts-location__map-frame::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .formss--contact .formss-form .cell {
    flex-wrap: wrap;
    gap: 30px;
  }

  .formss--contact .formss-form .inputs,
  .formss--contact .checkbox-select {
    width: 100%;
  }
}

/* Portfolio page (dd.nyc /featured-work/) */
.page-portfolio .main,
.page-portfolio-single .main,
.page-recensioni .main,
.page-faq .main,
.section--portfolio,
.section--notizie,
.section--privacy,
.section--legal {
  margin-top: 0 !important;
  padding-top: 0;
}

.page-portfolio-single .main {
  padding-bottom: clamp(100px, 12vw, 200px);
}

.projects-nav {
  list-style: none;
  margin: 100px 0;
  padding: 0;
  display: inline-flex;
  min-width: calc(55% - 8px);
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 0;
}

.projects-nav_item {
  display: flex;
  color: #cbcbcb;
  flex: none;
  margin-right: 40px;
  transition: all 0.15s;
}

.projects-nav_item:last-child {
  margin-right: 0;
}

.projects-nav_item a {
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s;
}

.projects-nav_item.active {
  pointer-events: none;
  color: #000;
}

.projects-nav_item.active a,
.projects-nav_item:hover a {
  transform: translateX(-5px);
}

.projects-nav_item.active,
.projects-nav_item:hover {
  color: #000;
}

.project.is-portfolio-hidden {
  display: none;
}

/* Portfolio single (dd.nyc /work/) */
.project-hero,
.project-hero.section:first-child {
  margin-top: 0 !important;
  padding-top: calc(var(--nav-h) + clamp(32px, 5vw, 72px));
  padding-bottom: clamp(48px, 6vw, 96px);
}

.project-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.project-hero__media {
  position: relative;
}

.project-hero__image {
  min-height: clamp(280px, 42vw, 560px);
  border-radius: 4px;
}

.project-hero__image picture,
.project-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-hero__image picture {
  min-height: inherit;
}

.project-hero__content {
  max-width: 560px;
  padding-top: clamp(8px, 2vw, 24px);
}

.project-hero__content .breadcrumbs {
  margin-bottom: 20px;
}

.project-hero__back {
  margin-bottom: 16px;
}

.project-hero__content .section-eyebrow {
  margin-bottom: 12px;
}

.project-hero__content .section-eyebrow::before {
  margin-left: 0;
  width: 48px;
}

.project-hero__title {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.project-hero__description {
  margin-top: clamp(16px, 2vw, 24px);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: #333;
  max-width: 52ch;
}

.project-hero__description.textbox-content {
  display: block;
}

.project-hero__description p {
  margin: 0 0 1em;
}

.project-hero__description p:last-child {
  margin-bottom: 0;
}

.project-hero__scope {
  margin-top: clamp(24px, 3vw, 32px);
}

.project-hero__content .article-single__service {
  margin-top: clamp(24px, 3vw, 32px);
}

.project-hero__scope-label {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}

.project-hero__scope .tags {
  gap: 8px;
}

.page-portfolio-single .section:first-child .keygrid-wrapper {
  padding-top: 200px;
}

.tagslist {
  padding: 40px 0 0;
}

.tagslist b {
  display: block;
  padding: 0 0 6px;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.tagslist ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tagslist li {
  display: block;
  color: #7b7b7b;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* Testimonials (dd.nyc /dd-nyc-client-testimonials/) */
.page-testimonials .inner-wrapper {
  padding: 0 0 clamp(100px, 12vw, 200px);
}

.page-testimonials h1 {
  padding: 0 0 73px;
  color: #000;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.05em;
  margin: 0;
}

.list-testimonials .item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 114px 0 0;
}

.list-testimonials .item:first-child {
  margin-top: 0;
}

.list-testimonials .item:nth-child(2n+2) {
  flex-direction: row-reverse;
}

.list-testimonials .left {
  width: 43.3908045977011%;
  position: relative;
  overflow: hidden;
}

.list-testimonials .left-link {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0;
}

.list-testimonials .right {
  width: calc(100% - 43.3908045977011% - 4.482759%);
}

.list-testimonials .thumb {
  width: 100%;
  padding-bottom: 61.58940397350993%;
  position: relative;
  margin: 0 0 23px;
  overflow: hidden;
}

.list-testimonials .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.25s ease-in-out;
}

.list-testimonials .left:hover .thumb img {
  transform: scale(1.05);
}

.list-testimonials .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #000;
  opacity: 0;
  transition: all 0.25s;
}

.list-testimonials .left:hover .thumb::after {
  opacity: 0.4;
}

.list-testimonials .thumb .hovers {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  z-index: 2;
  pointer-events: none;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  opacity: 0;
  transition: all 0.15s;
}

.list-testimonials .left:hover .thumb .hovers {
  opacity: 1;
}

.list-testimonials .thumb .hovers::after {
  content: "";
  width: 0.85em;
  height: 0.85em;
  padding-left: 0.15em;
  display: inline-block;
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: var(--icon-arrow-right) center / contain no-repeat;
  mask: var(--icon-arrow-right) center / contain no-repeat;
  transition: all 0.15s;
}

.list-testimonials .left:hover .thumb .hovers::after {
  transition-delay: 0.1s;
  transform: translateX(0.25em);
}

.list-testimonials .number {
  display: flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #000;
  justify-content: center;
  align-items: center;
  color: #eee;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.list-testimonials .project-name,
.list-testimonials .item h2 {
  padding: 10px 0 0;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.035em;
  text-align: left;
  margin: 0;
}

.list-testimonials .project-name a,
.list-testimonials .item h2 a {
  color: inherit;
  text-decoration: none;
  position: relative;
}

.list-testimonials .item h2 a::before {
  content: "";
  position: absolute;
  left: -1000px;
  right: -1000px;
  top: -1000px;
  bottom: -1000px;
  opacity: 0;
  z-index: 3;
}

.list-testimonials .left ul {
  display: flex;
  position: relative;
  margin: -5px;
  flex-wrap: wrap;
  padding: 10px 0 0;
  z-index: 5;
  list-style: none;
}

.list-testimonials .left ul li {
  display: block;
  margin: 5px;
}

.list-testimonials .left ul li span {
  display: none;
}

.list-testimonials .left ul li a {
  display: block;
  padding: 6px 12px;
  border-radius: 34.5px;
  background: #eee;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.05em;
  transition: all 0.5s;
  text-decoration: none;
}

.list-testimonials .left ul li a:hover {
  background: var(--brand);
  color: #fff;
}

.list-testimonials .review {
  color: #000;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.4px;
  text-align: left;
  padding: 0 0 75px;
}

.list-testimonials .rating-author {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.list-testimonials .rating span {
  display: none;
}

.list-testimonials .rating img {
  width: 100%;
  height: auto;
  border: none;
  vertical-align: bottom;
  max-width: 113px;
}

.list-testimonials .rating p {
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.03em;
  padding: 4px 0 0;
  margin: 0;
  white-space: nowrap;
}

.list-testimonials .author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.list-testimonials .conAvatar {
  width: 84px;
  height: 84px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  flex: none;
}

.list-testimonials .conAvatar img,
.list-testimonials .avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.list-testimonials .author h3 {
  display: block;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.03em;
  text-align: left;
  margin: 0 0 0 30px;
}

.list-testimonials .author h3 b {
  display: block;
  font-weight: 600;
}

/* Article single (dd.nyc /news/{slug}/) */
.page-notizie-single .main,
.single-post .main {
  padding-top: calc(var(--nav-h) + clamp(48px, 6vw, 100px));
}

.news-feature {
  margin-top: 0;
}

.news-feature__container {
  max-width: 100%;
}

.news-feature__back {
  display: inline-flex;
  margin-bottom: 28px;
}

.news-feature__meta {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: rgb(0 0 0 / 50%);
}

.news-feature__title {
  margin: 0;
  font-size: clamp(36px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 700;
  max-width: min(90%, 1100px);
}

.news-feature__body {
  margin-top: clamp(32px, 4vw, 60px);
  max-width: min(50%, 640px);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #333;
}

.news-feature__body p {
  margin: 0;
}

.case-wov {
  margin: clamp(48px, 8vw, 80px) 0;
}

.case-wov__hero {
  overflow: hidden;
  background: #000;
}

.case-wov__hero-img {
  display: block;
  width: 100%;
  max-height: min(75vh, 820px);
  object-fit: cover;
}

.case-wov__content {
  max-width: 800px;
  margin: clamp(56px, 8vw, 140px) auto 0;
  padding: 0 var(--pad-x);
}

.case-wov__paragraph {
  display: block;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: #333;
}

.case-wov__paragraph p {
  margin: 0 0 1.25em;
}

.case-wov__paragraph p:last-child {
  margin-bottom: 0;
}

.case-wov__paragraph h2 {
  margin: 1.6em 0 0.75em;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.case-wov__paragraph h3 {
  margin: 1.4em 0 0.65em;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.case-wov__paragraph strong,
.case-wov__paragraph b {
  font-weight: 700;
  color: #000;
}

.case-wov__paragraph a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.case-wov__paragraph a.redlink {
  text-decoration: none;
}

.case-wov__paragraph a:hover {
  color: var(--brand);
}

.case-wov__paragraph ul,
.case-wov__paragraph ol {
  margin: 1em 0;
  padding-left: 1.25em;
}

.case-wov__paragraph li + li {
  margin-top: 0.35em;
}

.section--article-meta {
  margin-top: 0;
}

.article-single__footer {
  display: grid;
  gap: 32px;
}

.article-single__footer .tagslist {
  padding-top: 0;
}

.article-single__footer .tagslist ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.article-single__footer .tagslist li {
  color: inherit;
}

.article-single__footer .tagslist a {
  color: #7b7b7b;
  text-decoration: none;
}

.article-single__footer .tagslist a:hover {
  color: var(--brand);
}

.article-single__service {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 20px 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.02);
}

.article-single__service-label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.breadcrumbs {
  margin: 0 0 28px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.4;
  color: var(--gray-500);
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(0, 0, 0, 0.25);
}

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

.breadcrumbs__item a:hover {
  color: var(--brandcolor, #e30613);
}

.breadcrumbs__item span {
  color: var(--gray-900, #111);
}

.section--breadcrumbs {
  padding-top: 24px;
  padding-bottom: 0;
}

.section--privacy .textbox-content.normaltext,
.section--legal .textbox-content.normaltext {
  max-width: 900px;
}

/* ─── Legal pages ─── */
.legal-intro {
  margin-bottom: 2em;
  color: var(--gray-500);
}

.legal-section {
  margin-top: 2.5em;
  padding-top: 0.5em;
}

.legal-section h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 0 0 0.75em;
  letter-spacing: -0.03em;
}

.legal-section__body p,
.legal-section__body li {
  margin: 0 0 0.85em;
}

.legal-section__body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1em 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--gray-50);
  font-weight: 700;
}

.legal-table code {
  font-size: 0.92em;
  background: var(--gray-100);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

/* ─── Form privacy consent ─── */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gray-500);
  cursor: pointer;
}

.form-consent input {
  margin-top: 3px;
  flex: none;
  accent-color: var(--brand);
}

.form-consent a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.formss-form .form-consent {
  margin-top: 20px;
  max-width: 520px;
}

/* ─── Footer legal links ─── */
.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em 0.5em;
  font-size: 13px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-legal__sep {
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal__copy {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ─── Cookie banner & modal ─── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 9999;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

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

.cookie-banner__panel {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-banner__main {
  padding: 24px 28px;
}

.cookie-banner__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}

.cookie-banner__title {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.cookie-banner__text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gray-500);
}

.cookie-banner__text a {
  color: var(--brand);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.cookie-banner__btn--primary {
  background: var(--brand);
  color: var(--white);
}

.cookie-banner__btn--primary:hover {
  background: var(--brand-dark);
}

.cookie-banner__btn--ghost {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--black);
}

.cookie-banner__btn--ghost:hover {
  border-color: var(--black);
}

.cookie-banner__btn--link {
  background: transparent;
  color: var(--gray-500);
  padding-inline: 8px;
}

.cookie-banner__btn--link:hover {
  color: var(--brand);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.cookie-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.cookie-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 0;
}

.cookie-modal__header h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.cookie-modal__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--gray-100);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.cookie-modal__body {
  padding: 16px 24px;
}

.cookie-modal__intro {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--gray-500);
}

.cookie-pref {
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-pref:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-pref__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.cookie-pref p {
  margin: 0;
  font-size: 13px;
  color: var(--gray-500);
}

.cookie-pref__badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand);
}

.cookie-toggle {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 26px;
  flex: none;
}

.cookie-toggle input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
  margin: 0;
}

.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--gray-200);
  border-radius: 999px;
  transition: background 0.2s;
}

.cookie-toggle__slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.2s;
  box-shadow: var(--shadow-sm);
}

.cookie-toggle input:checked + .cookie-toggle__slider {
  background: var(--brand);
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(18px);
}

.cookie-modal__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px 24px;
}

.cookie-settings-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.2s, background 0.2s;
}

.cookie-settings-fab:hover {
  background: var(--brand);
  transform: scale(1.05);
}

@media (max-width: 639px) {
  .cookie-banner__main {
    padding: 20px;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-banner__btn {
    width: 100%;
  }

  .footer-legal {
    display: block;
    margin-bottom: 8px;
  }

  .footer-legal__sep {
    display: none;
  }

  .footer-legal a {
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 4px;
  }
}

@media (max-width: 1379px) {
  .list-testimonials .item {
    flex-wrap: wrap;
    margin-top: 80px;
  }

  .list-testimonials .item:nth-child(2n+2) {
    flex-direction: row;
  }

  .list-testimonials .left {
    width: 100%;
    padding: 0 0 37px;
  }

  .list-testimonials .right {
    width: 100%;
    position: relative;
    padding: 65px 0 0;
  }

  .list-testimonials .rating-author .rating {
    position: absolute;
    top: 0;
    left: 0;
  }

  .list-testimonials .review {
    padding: 0 0 50px;
  }

  .page-testimonials h1 {
    padding: 0 0 24px;
  }
}

@media (max-width: 1024px) {
  .page-portfolio .main,
  .page-portfolio-single .main,
  .page-recensioni .main,
  .page-faq .main,
  .page-settori .main,
  .page-privacy .main,
  .page-legal .main,
  .page-notizie-single .main,
  .single-post .main {
    padding-top: calc(var(--nav-h) + 40px);
  }

  .news-feature__title {
    max-width: none;
    font-size: clamp(32px, 9vw, 42px);
  }

  .news-feature__body {
    max-width: none;
    margin-top: 24px;
  }

  .news-feature,
  .case-wov__hero {
    margin-bottom: 56px;
  }

  .case-wov {
    margin-bottom: 56px;
  }

  .case-wov__content {
    padding: 0 20px;
  }

  .project-hero {
    padding-top: calc(var(--nav-h) + 24px);
  }

  .project-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .project-hero__content {
    max-width: none;
    padding-top: 0;
  }

  .project-hero__image {
    min-height: 240px;
  }

  .page-portfolio-single .section:first-child .keygrid-wrapper {
    padding-top: 120px;
  }

  .projects-nav {
    margin: 60px 0 40px;
    min-width: 100%;
  }

  .projects-nav_item {
    margin-right: 24px;
  }
}
