:root {
  --ink: #111827;
  --muted: #667085;
  --line: #d8dee7;
  --paper: #f7f8fa;
  --white: #ffffff;
  --teal: #0f7a83;
  --teal-dark: #075a62;
  --green: #9fc537;
  --rose: #b74b4f;
  --shadow: 0 24px 70px rgba(17, 24, 39, .12);
  --radius: 8px;
  --max: 1180px;
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body-font-size: 16px;
  --h1-max-size: 76px;
  --h1-mobile-size: 44px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: var(--body-font-size);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

.text-green {
  color: var(--green);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(216, 222, 231, .8);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 170px;
}

.brand img {
  width: 98px;
  height: auto;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 23px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #263241;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  padding: 28px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.nav-panel {
  display: contents;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 16px;
}

.nav-toggle-icon span {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}

.nav-toggle-icon span:nth-child(1) { top: 0; }
.nav-toggle-icon span:nth-child(2) { top: 7px; }
.nav-toggle-icon span:nth-child(3) { top: 14px; }

.nav-toggle.is-open .nav-toggle-icon span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-icon span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.button:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button.secondary:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--green);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  font-size: clamp(var(--h1-mobile-size), 5.8vw, var(--h1-max-size));
  font-weight: 900;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h2 {
  max-width: 780px;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
}

h3 {
  font-size: 23px;
  font-weight: 900;
}

p { margin: 0; }

p strong,
p b,
figcaption strong,
figcaption b {
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  background: #111827 url("poster.jpg") center / cover;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: var(--white);
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 16, 23, .88) 0%, rgba(11, 16, 23, .68) 42%, rgba(11, 16, 23, .28) 100%),
    linear-gradient(180deg, rgba(11, 16, 23, .42) 0%, rgba(11, 16, 23, .18) 52%, rgba(11, 16, 23, .7) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 78px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 74px 0 58px;
}

.hero-content {
  max-width: 820px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, .82);
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 18px 44px rgba(0, 0, 0, .36);
}

.hero-copy {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero .button.secondary {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border-color: rgba(255, 255, 255, .34);
  backdrop-filter: blur(12px);
}

.hero .button.secondary:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.hero .visual-system {
  display: none;
}

.visual-system {
  position: relative;
  min-height: 620px;
  padding: 34px;
  background: #17212b;
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-system::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, .08), rgba(17, 24, 39, .72)),
    url("https://www.bmv-italia.com/images/thumb/thumb_1623417286.jpg") center / cover;
  opacity: .58;
}

.visual-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  height: 100%;
}

.brand-tile {
  min-height: 156px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
}

.brand-tile.large {
  grid-column: 1 / -1;
  min-height: 230px;
  justify-content: space-between;
  background: rgba(15, 122, 131, .72);
}

.brand-tile img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
}

.brand-tile h3 { font-size: 18px; }

.brand-tile p {
  margin-top: 8px;
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
}

.page-hero {
  padding: 82px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(300px, .42fr);
  gap: 42px;
  align-items: end;
}

.page-hero p:not(.eyebrow),
.lead {
  color: #344054;
  font-size: 19px;
}

.section {
  padding: 92px 0;
  background: var(--paper);
}

.section.white { background: var(--white); }

.section.dark {
  background: var(--ink);
  color: var(--white);
}

.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(280px, .42fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head p,
.muted {
  color: var(--muted);
  font-size: 17px;
}

.section.dark .section-head p,
.section.dark .muted {
  color: rgba(255, 255, 255, .72);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cards.three { grid-template-columns: repeat(3, 1fr); }

.card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.card-media {
  height: 154px;
  background: #e9edf2;
  overflow: hidden;
}

.card-media.tall { height: 230px; }

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

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

.card-body {
  flex: 1;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.text-link {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.company-profile-grid {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 7vw, 82px);
  align-items: start;
}

.company-founders {
  margin: 0;
}

.company-founders img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
}

.company-founders figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.company-profile-copy h2 {
  max-width: 720px;
  font-size: clamp(34px, 4vw, 52px);
}

.company-pillars {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.company-pillar {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.company-pillar h3 {
  color: var(--teal-dark);
  font-size: 21px;
}

.company-pillar p {
  max-width: 680px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 17px;
}

.company-history {
  overflow: hidden;
}

.company-timeline-head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.company-timeline-head h2 {
  margin-top: 8px;
}

.company-timeline {
  width: min(100%, 980px);
  margin: 62px auto 0;
  position: relative;
  display: grid;
}

.company-timeline::before {
  content: "";
  position: absolute;
  top: 44px;
  bottom: 44px;
  left: 50%;
  border-left: 2px dashed #98a2b3;
  transform: translateX(-1px);
}

.company-milestone {
  --milestone-color: var(--teal);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  min-height: 190px;
  align-items: center;
}

.company-milestone:nth-child(2) { --milestone-color: var(--green); }
.company-milestone:nth-child(3) { --milestone-color: var(--rose); }
.company-milestone:nth-child(4) { --milestone-color: var(--ink); }
.company-milestone:nth-child(5) { --milestone-color: #668d18; }
.company-milestone:nth-child(6) { --milestone-color: var(--teal-dark); }

.company-milestone-content {
  grid-column: 3;
  grid-row: 1;
  position: relative;
  padding-left: 46px;
}

.company-milestone:nth-child(even) .company-milestone-content {
  grid-column: 1;
  padding-right: 46px;
  padding-left: 0;
  text-align: right;
}

.company-milestone-content::before {
  content: "";
  width: 58px;
  position: absolute;
  top: 50%;
  left: -14px;
  border-top: 2px dotted var(--milestone-color);
}

.company-milestone:nth-child(even) .company-milestone-content::before {
  right: -14px;
  left: auto;
}

.company-milestone-content h3 {
  color: var(--milestone-color);
  font-size: 26px;
}

.company-milestone-content p {
  max-width: 390px;
  margin-top: 8px;
  color: var(--muted);
}

.company-milestone:nth-child(even) .company-milestone-content p {
  margin-left: auto;
}

.company-milestone-node {
  width: 96px;
  height: 96px;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  position: relative;
  z-index: 1;
  padding: 7px;
  border: 2px solid var(--milestone-color);
  border-radius: 50%;
  background: var(--paper);
}

.company-milestone-node span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--milestone-color);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.company-milestone:nth-child(2) .company-milestone-node span,
.company-milestone:nth-child(5) .company-milestone-node span {
  color: var(--ink);
}

.company-milestone:not(:last-child) .company-milestone-node::after {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  bottom: -34px;
  left: 50%;
  border-right: 2px solid #667085;
  border-bottom: 2px solid #667085;
  transform: translateX(-50%) rotate(45deg);
}

.consulting-layout {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(380px, 1.22fr);
  border: 1px solid var(--line);
  background: var(--white);
}

.consulting-brand {
  min-height: 460px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(17, 24, 39, .9), rgba(15, 122, 131, .78)),
    var(--consulting-image) center / cover;
  color: var(--white);
}

.consulting-brand .eyebrow {
  color: rgba(255, 255, 255, .76);
}

.consulting-brand h3 {
  font-size: clamp(34px, 4vw, 52px);
  color: var(--white);
}

.consulting-brand p:not(.eyebrow) {
  max-width: 520px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
}

.consulting-services {
  display: grid;
  align-content: center;
  padding: 18px 38px;
}

.consulting-service {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.consulting-service:last-child {
  border-bottom: 0;
}

.consulting-service span {
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
}

.consulting-service h3 {
  font-size: 25px;
}

.consulting-service p {
  margin-top: 8px;
  color: var(--muted);
}

.number-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.number-item {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
}

.number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-weight: 900;
}

.number-item p {
  color: #344054;
  font-size: 15px;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(280px, .28fr);
  gap: 48px;
}

.article {
  display: grid;
  gap: 24px;
}

.article p,
.article li {
  color: #344054;
  font-size: 18px;
}

.article ul {
  margin: 0;
  padding-left: 20px;
}

.single-news-hero {
  padding: 72px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.single-news-hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
}

.single-news-hero.no-image .single-news-hero-grid {
  grid-template-columns: minmax(0, 850px);
}

.single-news-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9edf2;
}

.single-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-news-heading h1 {
  font-size: clamp(42px, 5vw, 70px);
}

.single-article-wrap {
  max-width: 900px;
}

.single-article {
  gap: 26px;
}

.single-article h2 {
  margin-top: 20px;
  font-size: clamp(27px, 3vw, 38px);
  text-transform: none;
  letter-spacing: 0;
}

.single-article img {
  max-width: 100%;
  height: auto;
}

.aside-box {
  position: sticky;
  top: 104px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.aside-box p {
  margin-top: 12px;
  color: var(--muted);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-carousel-viewport {
  overflow: hidden;
}

.news-carousel-track {
  display: flex;
  transition: transform .55s ease;
  will-change: transform;
}

.news-carousel-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.carousel-control {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.news-card {
  min-height: 260px;
  position: relative;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.news-card::before {
  content: "";
  display: block;
  min-height: 170px;
  background: var(--news-image) center / cover;
}

.news-card > div,
.news-card > .text-link {
  padding: 0 24px;
}

.news-card > div {
  padding-top: 22px;
}

.news-card > .text-link {
  padding-bottom: 24px;
}

.news-card:nth-child(1) { --news-image: url("news/franchising-unione.jpg"); }
.news-card:nth-child(2) { --news-image: url("news/fee-ingresso.jpg"); }
.news-card:nth-child(3) { --news-image: url("news/rizzotti-design.jpg"); }
.news-card:nth-child(4) { --news-image: url("news/pizzus.jpg"); }
.news-card:nth-child(5) { --news-image: url("news/crowdfunding-franchising.jpg"); }
.news-card:nth-child(6) { --news-image: url("news/logistica.jpg"); }
.news-card:nth-child(7) { --news-image: url("news/manuale-operativo.jpg"); }
.news-card:nth-child(8) { --news-image: url("news/franchisor.jpg"); }
.news-card:nth-child(9) { --news-image: url("news/apetitus.jpg"); }

.news-card.featured {
  grid-column: span 2;
  min-height: 360px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, .06), rgba(17, 24, 39, .9)),
    url("news/franchising-unione.jpg") center / cover;
  color: var(--white);
  border-color: transparent;
}

.news-card.featured::before {
  content: none;
}

.news-card.featured > div,
.news-card.featured > .text-link {
  padding-right: 24px;
  padding-left: 24px;
}

.news-card.featured > div {
  padding-top: 24px;
}

.news-card p {
  margin-top: 12px;
  color: var(--muted);
}

.news-card.featured p { color: rgba(255, 255, 255, .78); }

.wp-news-card::before {
  content: none;
}

.news-card-media {
  height: 170px;
  overflow: hidden;
  background: #e9edf2;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero {
  padding: 72px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 56px;
  align-items: center;
}

.detail-hero-copy > p:not(.eyebrow) {
  max-width: 670px;
  margin-top: 22px;
  color: #344054;
  font-size: 19px;
}

.detail-hero-copy .button {
  margin-top: 30px;
}

.detail-hero-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #e9edf2;
}

.detail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-intro {
  display: grid;
  grid-template-columns: minmax(160px, .35fr) minmax(0, 1fr);
  gap: 18px 48px;
  align-items: start;
}

.editorial-intro h2 {
  max-width: 760px;
}

.editorial-intro > p:last-child {
  grid-column: 2;
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.brand-stories {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.brand-story {
  min-height: 440px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
}

.brand-story:nth-child(even) .brand-story-media {
  order: 2;
}

.brand-story-media {
  min-height: 440px;
  overflow: hidden;
  background: #e9edf2;
}

.brand-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-story-content {
  padding: clamp(32px, 5vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.brand-category {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
}

.brand-story-content h2 {
  font-size: clamp(32px, 4vw, 50px);
}

.brand-story-content > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.brand-story-content .actions {
  margin-top: 28px;
}

.fau-intro {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: end;
}

.fau-intro > p {
  color: var(--muted);
  font-size: 19px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.process-step {
  min-height: 330px;
  padding: 38px;
  background: var(--white);
}

.process-step span {
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
}

.process-step h3 {
  margin-top: 70px;
  font-size: 30px;
}

.process-step p {
  margin-top: 16px;
  color: var(--muted);
}

.client-section {
  overflow: hidden;
}

.client-section-heading {
  text-align: center;
}

.client-section-heading .section-head {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  margin-bottom: 0;
}

.client-section-heading .section-head > div {
  width: min(760px, 100%);
}

.client-logo-marquees {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.client-logo-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.client-logo-track {
  display: flex;
  width: max-content;
  animation: client-logos-left 34s linear infinite;
  will-change: transform;
}

.client-logo-marquee-right .client-logo-track {
  animation-direction: reverse;
}

.client-logo-marquee:hover .client-logo-track,
.client-logo-marquee:focus-within .client-logo-track {
  animation-play-state: paused;
}

.client-logo-group {
  display: flex;
  flex: none;
  gap: clamp(20px, 3vw, 52px);
  padding-right: clamp(20px, 3vw, 52px);
}

.client-logo {
  width: clamp(170px, 18vw, 250px);
  height: 112px;
  padding: 18px 24px;
  display: grid;
  flex: none;
  place-items: center;
}

.client-logo img {
  width: 100%;
  max-width: 190px;
  max-height: 72px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .68;
  transition: filter .2s ease, opacity .2s ease;
}

.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes client-logos-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .client-logo-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .client-logo-track {
    animation: none;
    transform: none;
  }

  .client-logo-group[aria-hidden="true"] {
    display: none;
  }
}

.contact-form-block {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: 48px;
  align-items: start;
}

.contact-form-intro > p:last-child {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.contact {
  background: var(--ink);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact p { color: rgba(255, 255, 255, .72); }

.contact .contact-form-block {
  display: block;
}

.contact .contact-form-intro {
  margin-bottom: 22px;
}

.contact .contact-form-intro h2 {
  color: var(--white);
}

.contact-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  color: rgba(255, 255, 255, .86);
}

.form-shell {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

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

.form-shell .button {
  margin-top: 20px;
}

.bmv-turnstile {
  min-height: 65px;
  margin: 20px 0;
}

.form-alert {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--rose);
  background: #fff1f1;
  color: #7f1d1d;
  font-size: 14px;
  font-weight: 700;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfd;
  color: var(--ink);
  font: inherit;
}

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

.full { grid-column: 1 / -1; }

.form-consents {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.checkbox-field input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  padding: 0;
}

.checkbox-field a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.thank-you-section {
  min-height: 68vh;
  padding: 110px 0;
  display: grid;
  align-items: center;
  background: var(--paper);
}

.thank-you-inner {
  max-width: 760px;
  text-align: center;
}

.thank-you-inner > p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 20px;
}

.thank-you-inner .actions {
  justify-content: center;
  margin-top: 30px;
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin-top: 42px;
  font-size: 28px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-top: 14px;
  color: #344054;
}

footer {
  background: #0b1017;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
}

.funding-disclaimer {
  padding: 26px 0;
  background: #101720;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.funding-disclaimer .section-inner {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  align-items: center;
}

.funding-disclaimer picture {
  display: block;
}

.funding-disclaimer img {
  display: block;
  width: 170px;
  height: auto;
  background: var(--white);
  border-radius: var(--radius);
}

.funding-disclaimer p {
  color: rgba(255, 255, 255, .78);
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

@media (max-width: 980px) {
  .hero-video {
    display: none;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .nav {
    position: relative;
    min-height: 70px;
    padding: 10px 0;
  }

  .brand img {
    width: 88px;
  }

  .nav-toggle {
    display: grid;
    flex: none;
    place-items: center;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    width: 100%;
    max-height: calc(100vh - 92px);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow);
  }

  .nav.nav-ready .nav-panel {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .nav.nav-ready .nav-panel.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    white-space: normal;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav-panel > .button {
    width: 100%;
  }

  .hero-inner,
  .page-hero .section-inner,
  .section-head,
  .company-profile-grid,
  .content,
  .contact-layout,
  .detail-hero-grid,
  .contact-form-block,
  .fau-intro,
  .single-news-hero-grid {
    grid-template-columns: 1fr;
  }

  .company-founders {
    width: min(100%, 680px);
  }

  .hero-inner {
    min-height: calc(100vh - 129px);
    max-height: none;
    padding: 62px 0 54px;
  }

  .visual-system { min-height: 520px; }

  .cards,
  .cards.three,
  .number-list,
  .news-grid,
  .news-carousel-slide {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-card.featured { grid-column: span 2; }

  .aside-box {
    position: static;
  }
}

@media (max-width: 620px) {
  .nav,
  .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, var(--max));
  }

  h1 { font-size: var(--h1-mobile-size); }

  .hero {
    min-height: calc(100vh - 143px);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(11, 16, 23, .82) 0%, rgba(11, 16, 23, .58) 48%, rgba(11, 16, 23, .84) 100%);
  }

  .hero-inner {
    min-height: calc(100vh - 143px);
    padding: 54px 0 42px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .cards,
  .cards.three,
  .consulting-layout,
  .number-list,
  .news-grid,
  .news-carousel-slide,
  .process-grid,
  .form-grid,
  .footer-inner,
  .funding-disclaimer .section-inner {
    grid-template-columns: 1fr;
  }

  .editorial-intro,
  .brand-story {
    grid-template-columns: 1fr;
  }

  .editorial-intro > p:last-child {
    grid-column: auto;
  }

  .brand-story:nth-child(even) .brand-story-media {
    order: 0;
  }

  .brand-story-media {
    min-height: 280px;
  }

  .section { padding: 68px 0; }

  .page-hero { padding: 64px 0; }

  .visual-system {
    padding: 18px;
    min-height: 560px;
  }

  .visual-grid { grid-template-columns: 1fr; }

  .brand-tile.large { grid-column: auto; }

  .company-timeline-head {
    margin: 0;
    text-align: left;
  }

  .company-timeline {
    margin-top: 42px;
  }

  .company-timeline::before {
    top: 34px;
    bottom: 34px;
    left: 34px;
  }

  .company-milestone {
    grid-template-columns: 68px minmax(0, 1fr);
    min-height: 0;
    padding-bottom: 46px;
    align-items: start;
  }

  .company-milestone:last-child {
    padding-bottom: 0;
  }

  .company-milestone-content,
  .company-milestone:nth-child(even) .company-milestone-content {
    grid-column: 2;
    grid-row: 1;
    padding: 7px 0 0 24px;
    text-align: left;
  }

  .company-milestone-content::before,
  .company-milestone:nth-child(even) .company-milestone-content::before {
    width: 26px;
    top: 34px;
    right: auto;
    left: -10px;
  }

  .company-milestone:nth-child(even) .company-milestone-content p {
    margin-left: 0;
  }

  .company-milestone-node {
    width: 68px;
    height: 68px;
    grid-column: 1;
    padding: 5px;
  }

  .company-milestone-node span {
    font-size: 14px;
  }

  .company-milestone:not(:last-child) .company-milestone-node::after {
    bottom: -27px;
  }

  .news-card.featured { grid-column: auto; }

  .funding-disclaimer picture,
  .funding-disclaimer img {
    width: 100%;
    max-width: 260px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
