/* ==========================================================================
   Home page — visual redesign (index.html only)
   Scoped under .home-page on <main>
   ========================================================================== */

.home-page {
  --home-gold: #C8A872;
}

/* --- Hero: typographic layout + watermark --- */
.home-page .hero {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: clip;
  background-color: var(--navy);
  padding: calc(var(--header-height) + 48px) clamp(24px, 4vw, 40px) 0;
}

.home-page .hero__bg {
  display: none;
}

/* Ken Burns: hero background zoom-out on load, plays once. The image lives on
   its own layer (not directly on .hero) so scaling it never affects the
   hero's text content/layout. */
.home-page .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/thirdPartBG.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  transition: transform 4s ease-out;
  pointer-events: none;
}

.home-page .hero.is-entered::before {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero::before {
    transform: scale(1);
    transition: none;
  }
}

.home-page .hero__intro {
  position: relative;
  width: 100%;
  overflow: visible;
}

.home-page .hero__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(720px, 92vw);
  max-width: 130%;
  margin: 0;
  pointer-events: none;
  overflow: visible;
  transform: translate(-50%, -50%);
}

.home-page .hero__watermark-image {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(0.98);
  object-fit: contain;
  object-position: center center;
}

.home-page .hero__content {
  position: relative;
  z-index: 2;
  order: 1;
  flex: 0 0 auto;
  width: 100%;
  max-width: min(45rem, 100%);
  align-items: center;
  text-align: center;
  padding: clamp(32px, 6vw, 64px) 0 clamp(24px, 4vw, 40px);
  animation: none;
  overflow: visible;
}

.home-page .hero__tagline,
.home-page .hero__intro,
.home-page .hero__cta {
  position: relative;
  z-index: 1;
}

.home-page .hero__headline,
.home-page .hero__divider,
.home-page .hero__subheadline {
  position: relative;
  z-index: 1;
}

.home-page .hero__tagline,
.home-page .hero__intro {
  width: 100%;
}

/* Hero typography */
.home-page .hero__tagline {
  font-family: var(--font-display);
  color: #C8A872;
}

.home-page .hero__headline--triple {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  line-height: 1.22;
  gap: 0.14em;
}

.home-page .hero__headline-main {
  color: #fff;
}

.home-page .hero__headline-accent {
  color: #C8A872;
}

.home-page .hero__subheadline {
  font-family: var(--font-sans);
  color: #fff;
}

.home-page .hero__headline-line {
  display: block;
  white-space: nowrap;
}

.home-page .hero__cta {
  width: auto;
  max-width: none;
  align-self: center;
  flex-shrink: 0;
}

.home-page .hero__divider {
  margin-inline: auto;
}

.home-page .hero__subheadline {
  margin-inline: auto;
  max-width: 38ch;
}

.home-page .hero__bottom {
  order: 2;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  padding: clamp(12px, 2.5vw, 20px) 0 clamp(16px, 3vw, 24px);
}

.home-page .hero-trust-band {
  width: 100%;
  max-width: min(360px, 100%);
  margin-inline: auto;
  min-height: 0;
}

.home-page .hero-trust-band__content {
  width: 100%;
  flex: none;
}

.home-page .hero__trust-title {
  font-size: clamp(0.5625rem, 0.95vw, 0.6875rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: clamp(8px, 1.5vw, 12px);
  text-align: center;
  color: #C8A872;
}

/* Trust countries carousel */
.home-page .hero-trust-carousel {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

.home-page .hero-trust-carousel__stage {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  width: 100%;
}

.home-page .hero-trust-carousel__nav {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(200, 168, 114, 0.42);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  animation: hero-trust-nav-breathe 3.6s ease-in-out infinite;
}

.home-page .hero-trust-carousel__nav--prev {
  grid-column: 1;
}

.home-page .hero-trust-carousel__nav--next {
  grid-column: 3;
}

.home-page .hero-trust-carousel__nav:hover,
.home-page .hero-trust-carousel__nav:focus-visible {
  color: rgba(200, 168, 114, 0.72);
}

.home-page .hero-trust-carousel__nav:focus {
  outline: none;
}

.home-page .hero-trust-carousel__nav:focus-visible {
  outline: 1px solid rgba(200, 168, 114, 0.55);
  outline-offset: 2px;
}

.home-page .hero-trust-carousel__chevron {
  display: block;
  width: 11px;
  height: 18px;
}

@keyframes hero-trust-nav-breathe {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-trust-carousel__nav {
    animation: none;
    opacity: 0.65;
  }
}

.home-page .hero-trust-carousel__viewport {
  grid-column: 2;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-padding-inline: 0;
  padding-inline: 0;
  width: 100%;
  max-width: 100%;
  touch-action: pan-x pan-y;
}

.home-page .hero-trust-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.home-page .hero-trust-carousel__viewport:focus {
  outline: none;
}

.home-page .hero-trust-carousel__viewport:focus-visible {
  outline: 1px solid rgba(200, 168, 114, 0.45);
  outline-offset: 4px;
}

.home-page .hero-trust-carousel__track {
  display: flex;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  width: max-content;
}

.home-page .hero-trust-carousel__slide {
  flex: 0 0 auto;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
  box-sizing: border-box;
  padding-inline: 8px;
}

.home-page .hero__country-name {
  font-size: clamp(0.5rem, 0.85vw, 0.625rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  line-height: 1.2;
  min-height: calc(1em * 1.2);
  margin: 0 0 6px;
  padding: 0;
  flex-shrink: 0;
}

.home-page .hero__country-art {
  display: block;
  width: clamp(56px, 14vw, 72px);
  /* Fixed portrait slot so landscape HU sits centred without shifting label/dots */
  height: calc(clamp(56px, 14vw, 72px) * 1.5);
  margin: 0;
  padding: 0;
  opacity: 1;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: screen;
  filter: sepia(1) saturate(2.4) hue-rotate(358deg) brightness(1.08);
}

.home-page .hero-trust-carousel__slide.hero__country {
  gap: 0;
}

.home-page .hero-trust-carousel__slide.hero__country--hu .hero__country-art {
  margin-top: 0;
}

.home-page .hero-trust-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: clamp(10px, 2vw, 14px);
}

.home-page .hero-trust-carousel__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.home-page .hero-trust-carousel__dot::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(200, 168, 114, 0.32);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.home-page .hero-trust-carousel__dot.is-active::before {
  background: #C8A872;
  transform: scale(1.15);
}

.home-page .hero-trust-carousel__dot:focus {
  outline: none;
}

.home-page .hero-trust-carousel__dot:focus-visible {
  outline: 1px solid #C8A872;
  outline-offset: 2px;
}

.home-page .hero-section-divider--trust-band {
  display: none;
}

@media (min-width: 769px) {
  .home-page .hero-trust-band {
    max-width: min(340px, 100%);
  }
}

/* Hero entrance */
.home-page .home-hero__enter {
  opacity: 0;
  transform: translateY(18px);
}

.home-page .hero__content.is-entered .home-hero__enter {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.home-page .hero__content.is-entered .hero__tagline.home-hero__enter { transition-delay: 0.1s; }
.home-page .hero__content.is-entered .hero__headline.home-hero__enter { transition-delay: 0.28s; }
.home-page .hero__content.is-entered .hero__divider.home-hero__enter { transition-delay: 0.28s; }
.home-page .hero__content.is-entered .hero__subheadline.home-hero__enter { transition-delay: 0.46s; }
.home-page .hero__content.is-entered .hero__cta.home-hero__enter { transition-delay: 0.64s; }

.home-page .hero__content.is-entered .hero__watermark-image {
  opacity: 0.055;
  transform: scale(1);
  transition: opacity 1.2s ease 0.15s, transform 1.2s ease 0.15s;
}

.home-page .hero__content.is-entered + .hero__bottom .home-hero__enter {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease 0.28s, transform 0.55s ease 0.28s;
}

/* --- Unified CTA hover-fill --- */
.home-page .home-cta--fill {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-page .hero__cta:hover {
  background-color: transparent;
  color: var(--gold);
}

.home-page .home-cta--fill:hover,
.home-page .home-cta--fill:focus-visible {
  background-color: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.home-page .service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-page .service-card__cta .hero__cta-arrow {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.home-page .service-card__cta:hover,
.home-page .service-card__cta:focus-visible {
  background-color: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.home-page .services__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-inline: auto;
}

.home-page #services .services__cta {
  font-size: 0.8125rem;
  padding: 15px 30px;
}

.home-page #services .services__cta:hover,
.home-page #services .services__cta:focus-visible {
  color: #fff;
}

.home-page #team .team-learned > .service-card__cta:hover,
.home-page #team .team-learned > .service-card__cta:focus-visible {
  color: #fff;
}

/* --- Shared cream band wrapper ---
   Desktop: sections paint learnedBG with background-attachment: fixed (seamless).
   Mobile: each section paints its own cover (natural marble scale); a short cream
   gradient softens the crop jump at the familiar→services boundary. */
.home-page .home-cream-band {
  position: relative;
  background-color: var(--cream);
}

/* --- Sound familiar: numbered 2×2 grid on learnedBG --- */
.home-page #familiar.home-familiar {
  position: relative;
  background-color: var(--cream);
  background-image: url('assets/learnedBG.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  color: var(--navy);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.home-page #familiar.home-familiar .container {
  position: relative;
  z-index: 1;
  max-width: min(52rem, 94vw);
}

.home-page #familiar.home-familiar .familiar__heading {
  font-family: var(--font-display);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  font-size: clamp(1.43rem, 2.75vw, 1.92rem);
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
}

.home-page #familiar .home-familiar__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 12.5rem);
  margin: clamp(1.125rem, 2.5vw, 1.5rem) auto clamp(2rem, 4vw, 2.75rem);
}

.home-page #familiar .home-familiar__divider-line {
  flex: 1;
  height: 1px;
  background: rgba(var(--gold-rgb), 0.5);
}

.home-page #familiar .home-familiar__divider-diamond {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.home-page #familiar .home-familiar__board {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
}

.home-page #familiar .home-familiar__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2.5rem, 5vw, 4rem);
  row-gap: clamp(2rem, 4vw, 2.75rem);
  z-index: 1;
}

/* Vertical spine between columns */
.home-page #familiar .home-familiar__spine {
  position: absolute;
  top: 0.35rem;
  bottom: 0.35rem;
  left: 50%;
  width: 0;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

.home-page #familiar .home-familiar__spine-line {
  position: absolute;
  inset: 0;
  width: 1px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(var(--gold-rgb), 0.55);
}

.home-page #familiar .home-familiar__spine-diamond {
  position: absolute;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg);
}

.home-page #familiar .home-familiar__spine-diamond--top {
  top: 0;
}

.home-page #familiar .home-familiar__spine-diamond--mid {
  top: 50%;
  margin-top: -3px;
}

.home-page #familiar .home-familiar__spine-diamond--bot {
  bottom: 0;
}

.home-page #familiar .home-familiar__item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  min-width: 0;
}

/* Left column right-aligned toward spine; right column left-aligned */
.home-page #familiar .home-familiar__item:nth-child(odd) {
  text-align: right;
  align-items: flex-end;
  padding-right: clamp(0.5rem, 1.5vw, 1rem);
}

.home-page #familiar .home-familiar__item:nth-child(even) {
  text-align: left;
  align-items: flex-start;
  padding-left: clamp(0.5rem, 1.5vw, 1rem);
}

.home-page #familiar .home-familiar__num {
  display: block;
  font-family: var(--font-display); /* Cinzel */
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 0.15rem;
}

.home-page #familiar .home-familiar__lead {
  margin: 0;
  font-family: var(--font-display); /* Cinzel */
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--gold);
  max-width: 22ch;
}

.home-page #familiar .home-familiar__body {
  margin: 0;
  font-family: var(--font-sans); /* Montserrat */
  font-size: clamp(0.75rem, 1.05vw, 0.8125rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--navy);
  max-width: 28ch;
}

.home-page #familiar.home-familiar .familiar__intro {
  max-width: 40rem;
  margin: clamp(2.25rem, 4.5vw, 3rem) auto 0;
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 1.15vw, 0.875rem);
  line-height: 1.7;
  color: var(--navy);
  text-align: center;
}

/* --- Services: light band + cards --- */
.home-page #services.services {
  position: relative;
  /* Same marble as #familiar; fixed attachment keeps the seam soft on desktop */
  background-color: var(--cream);
  background-image: url('assets/learnedBG.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  color: var(--navy);
  /* Tighter gap below Sound familiar diamond divider; section nudged up ~0.25cm */
  padding-top: calc(16px - 0.25cm);
  /* ~1.5cm less whitespace below cards / section CTA */
  padding-bottom: calc(120px - 1.5cm);
}

.home-page #services.services::before {
  content: none;
}

.home-page #services .container {
  position: relative;
  z-index: 1;
}

.home-page #services .services__heading {
  font-family: var(--font-display); /* Cinzel */
  font-size: clamp(1.43rem, 2.75vw, 1.92rem);
  font-weight: 400;
  color: var(--navy);
}

.home-page #services .services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--shell-default);
  margin: 0 auto;
}

.home-page .home-services-carousel {
  width: 100%;
  max-width: 100%;
}

.home-page .home-services-carousel__viewport {
  width: 100%;
  max-width: 100%;
}

.home-page .home-services-carousel__dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: clamp(14px, 3vw, 18px);
}

.home-page .home-services-carousel__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.home-page .home-services-carousel__dot::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(200, 168, 114, 0.32);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.home-page .home-services-carousel__dot.is-active::before {
  background: #C8A872;
  transform: scale(1.15);
}

.home-page .home-services-carousel__dot:focus {
  outline: none;
}

.home-page .home-services-carousel__dot:focus-visible {
  outline: 1px solid #C8A872;
  outline-offset: 2px;
}

@media (min-width: 769px) {
  .home-page .home-services-carousel__viewport {
    overflow: visible;
  }
}

/* --- Service cards: premium hover --- */
.home-page .service-card {
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.home-page .service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--gold-rgb), 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.home-page .service-card__media {
  overflow: hidden;
}

.home-page .service-card__image {
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s ease;
}

.home-page #services .service-card__image[src*="account_audit_card"] {
  object-position: 67% center;
}

.home-page #services .service-card__image[src*="ppc_mentoring_card"] {
  object-position: 70% center;
}

.home-page #services .service-card__image[src*="consultancy_card"] {
  object-position: 65% center;
}

.home-page .service-card:hover .service-card__image {
  transform: scale(1.045);
}

.home-page #services .service-card {
  background: transparent;
}

.home-page #services .service-card__body {
  background-color: var(--navy);
  background-image: url('assets/thirdPartBG.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-page #services .service-card__desc {
  color: rgba(var(--cream-rgb), 0.92);
  font-size: clamp(0.8125rem, 1.15vw, 0.875rem);
  line-height: 1.65;
}

.home-page #services .service-card__title {
  margin: 0 0 clamp(0.65rem, 1.5vw, 0.85rem);
  font-family: var(--font-display); /* Cinzel */
  font-size: clamp(1.1875rem, 1.85vw, 1.4375rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--gold);
  text-align: center;
}

.home-page #services .service-card__title[hidden],
.home-page #services .service-card__title:empty {
  display: none;
  margin: 0;
}

/* --- Asymmetric text sections --- */
.home-page .home-asymmetric {
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
  column-gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
  text-align: left;
}

.home-page .home-asymmetric__heading-col {
  min-width: 0;
}

.home-page .home-asymmetric__content-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-page .home-asymmetric--ad-mgmt .ad-mgmt__title {
  margin: 0;
  text-align: left;
}

.home-page .home-asymmetric--ad-mgmt .ad-mgmt__intro {
  margin: 0;
  max-width: none;
  text-align: left;
}

.home-page .home-asymmetric--ad-mgmt .ad-mgmt__intro p {
  text-align: left;
}

.home-page .home-asymmetric--ad-mgmt + .ad-mgmt__pillars {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

/* Looking for — near-full compass2; navy veil keeps pattern clear of copy */
.home-page #ad-management.ad-mgmt {
  overflow-x: clip;
  background-color: var(--navy);
  background-image: url('assets/compass2.webp');
  background-repeat: no-repeat;
  /* Near-full coverage (just under stretch-to-fill); compass stays left/lower */
  background-position: left bottom;
  background-size: auto calc(90% + 189px);
  /* +152px total vs original height; content kept higher via bottom-weighted padding */
  padding-top: 8.5rem;
  padding-bottom: 12.25rem;
}

/*
 * Navy veil over the content band so the (large) pattern never sits behind text.
 * Bottom-left compass / Darlana branding stay visible outside the veil.
 */
.home-page #ad-management.ad-mgmt::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 72% 58% at 52% 34%,
      var(--navy) 0%,
      rgba(17, 34, 58, 0.94) 32%,
      rgba(17, 34, 58, 0.55) 52%,
      transparent 74%
    ),
    linear-gradient(
      to bottom,
      var(--navy) 0%,
      rgba(17, 34, 58, 0.75) 10%,
      transparent 32%
    ),
    linear-gradient(
      to top,
      transparent 0%,
      transparent 12%,
      rgba(17, 34, 58, 0.25) 55%,
      rgba(17, 34, 58, 0.65) 82%,
      var(--navy) 100%
    );
  opacity: 1;
}

/*
 * Right-edge fill only — where compass2 does not reach.
 * Soft horizontal mask keeps the image itself untouched; vertical gradient
 * matches the art's top→bottom tone (#11213A → #000916).
 */
.home-page #ad-management.ad-mgmt::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, #11213A 0%, #000916 100%);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    transparent 42%,
    rgba(0, 0, 0, 0.2) 52%,
    rgba(0, 0, 0, 0.65) 62%,
    #000 74%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    transparent 42%,
    rgba(0, 0, 0, 0.2) 52%,
    rgba(0, 0, 0, 0.65) 62%,
    #000 74%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.home-page #ad-management .ad-mgmt__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: min(56rem, 94vw);
  margin-inline: auto;
  padding-inline: clamp(0.875rem, 3vw, 1.25rem);
  text-align: left;
  /* Shift whole content group ~76px right (desktop); internals unchanged */
  transform: translateX(76px);
}

.home-page #ad-management .home-asymmetric--ad-mgmt {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 55%);
  column-gap: clamp(1.5rem, 3.5vw, 2.5rem);
  row-gap: 0;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

.home-page #ad-management .home-asymmetric--ad-mgmt .home-asymmetric__heading-col {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.home-page #ad-management .home-asymmetric--ad-mgmt .home-asymmetric__content-col {
  min-width: 0;
  border-left: 1px solid var(--gold);
  padding-left: clamp(1.25rem, 3vw, 2rem);
}

.home-page #ad-management .home-asymmetric--ad-mgmt .ad-mgmt__title {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-display); /* Cinzel */
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: left;
  text-transform: none;
  color: #fff;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.home-page #ad-management .home-asymmetric--ad-mgmt .ad-mgmt__subtitle {
  margin: clamp(0.65rem, 1.5vw, 0.85rem) 0 0;
  width: 100%;
  font-family: var(--font-display); /* Cinzel */
  font-size: clamp(0.75rem, 1.35vw, 0.9375rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-align: left;
  color: var(--gold);
}

.home-page #ad-management .ad-mgmt__intro {
  margin: 0 0 clamp(1.15rem, 2.5vw, 1.5rem);
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-page #ad-management .ad-mgmt__intro p {
  margin: 0;
  font-family: var(--font-sans); /* Montserrat */
  font-size: clamp(0.8125rem, 1.15vw, 0.875rem);
  font-weight: 400;
  line-height: 1.75;
  color: #fff;
  text-align: left;
}

.home-page #ad-management .home-asymmetric__content-col > .service-card__cta {
  align-self: flex-start;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

html[lang="hu"] .home-page #ad-management .home-asymmetric--ad-mgmt .ad-mgmt__title br {
  display: block;
}

html[lang="hu"] .home-page #ad-management .home-asymmetric--ad-mgmt .ad-mgmt__title-line {
  display: block;
  white-space: nowrap;
}

html[lang="hu"] .home-page #ad-management .ad-mgmt__intro {
  gap: clamp(1.5rem, 3vw, 1.875rem);
  margin-bottom: clamp(0.75rem, 2vw, 1.15rem);
}

html[lang="hu"] .home-page #ad-management .home-asymmetric__content-col > .service-card__cta {
  margin-top: 0;
}

.home-page #ad-management .ad-mgmt__pillars {
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.home-page #ad-management .ad-mgmt__divider {
  display: none;
}

/* What we've learned — match PPC Mentoring "Built around you" lead style */
.home-page #team.team-section {
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  color: var(--navy);
  /* +10px top vs prior clamp floor for title breathing room */
  padding: calc(clamp(2.5rem, 5vw, 3.5rem) + 10px) 0 clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.home-page #team.team-section::before {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('assets/learnedBG.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-page #team .team-section__inner {
  position: relative;
  z-index: 1;
  max-width: min(50rem, 94vw);
  margin-inline: auto;
}

.home-page #team .team-learned {
  max-width: 50rem;
  margin-inline: auto;
  text-align: center;
}

.home-page #team .team-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.43rem, 2.75vw, 1.92rem);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--navy);
}

.home-page #team .team-learned__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 12.5rem);
  margin: clamp(1.125rem, 2.5vw, 1.5rem) auto;
}

.home-page #team .team-learned__divider-line {
  flex: 1;
  height: 1px;
  background: rgba(var(--gold-rgb), 0.5);
}

.home-page #team .team-learned__divider-diamond {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.home-page #team .team-section__intro,
.home-page #team .team-section__closing {
  margin: 0;
  max-width: none;
  margin-inline: auto;
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 1.15vw, 0.875rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--navy);
  text-align: center;
}

.home-page #team .team-section__intro {
  margin-bottom: 0;
}

.home-page #team .team-section__closing {
  margin-top: 0;
  margin-bottom: 0;
}

.home-page #team .team-section__highlights {
  display: none;
}

.home-page #team .team-section__highlights:not([hidden]) {
  margin-top: clamp(1rem, 2vw, 1.25rem);
}

.home-page #team .team-section__sep {
  color: rgba(var(--gold-rgb), 0.55);
  font-weight: 300;
}

.home-page #team .team-learned > .service-card__cta {
  display: inline-flex;
  align-self: center;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.home-page #team .team-learned > .team-section__closing + .service-card__cta {
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

/* When highlights are visible, keep spacing like mentoring prose stack */
.home-page #team .team-section__highlights:not([hidden]) + .team-section__closing {
  margin-top: clamp(1rem, 2vw, 1.25rem);
}

/* --- Promises: numbered horizontal process (homepage) --- */
.home-page #promises.promises--agency {
  background-color: var(--navy);
  /* Shift graphic right; navy veil covers top-left engraved artifact only */
  background-image:
    linear-gradient(
      to bottom right,
      var(--navy) 0%,
      var(--navy) 8%,
      rgba(17, 34, 58, 0.92) 18%,
      rgba(17, 34, 58, 0.45) 32%,
      transparent 52%
    ),
    url('assets/blueBG.webp');
  background-repeat: no-repeat;
  background-position: left top, calc(50% + 2.75rem) center;
  background-size: auto, cover;
}

/* ::before kept as an empty layer so service-page display:none rules still
   have a valid target. Painting removed: the section already has blueBG +
   veil on the element itself; without the old logo mask this pseudo was a
   hard-edged 520px rectangle (base .promises::before width/height still apply). */
.home-page #promises.promises--agency::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: none;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.home-page #promises.promises--agency::after {
  top: -10rem;
  right: -12rem;
  width: min(28rem, 55vw);
  height: min(28rem, 55vw);
  opacity: 0.06;
  z-index: 0;
}

.home-page #promises.promises--agency .promises__inner::after {
  bottom: -12rem;
  right: -8%;
  width: min(22rem, 42vw);
  height: min(22rem, 42vw);
  opacity: 0.05;
  z-index: 0;
}

.home-page #promises.promises--agency .promises__inner {
  z-index: 2;
}

/* Title + step headings: Cinzel, gold, normal weight */
.home-page #promises .promises__title,
.home-page #promises .promises__step-title {
  font-family: var(--font-display); /* Cinzel */
  font-weight: 400;
  color: var(--gold);
}

.home-page #promises .promises__title {
  font-size: clamp(1.43rem, 2.75vw, 1.92rem);
  letter-spacing: 0.04em;
}

/* All other text: Montserrat, white (numbers: Cinzel — set on .promises__step-num) */
.home-page #promises .promises__subtitle,
.home-page #promises .promises__step-desc,
.home-page #promises .promises__pillar-title,
.home-page #promises .promises__pillar-desc {
  font-family: var(--font-sans); /* Montserrat */
  color: #fff;
}

.home-page #promises .promises__subtitle {
  font-size: clamp(0.8125rem, 1.15vw, 0.875rem);
  line-height: 1.65;
}

.home-page #promises .promises__intro {
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem);
  max-width: 42rem;
  font-family: var(--font-sans); /* Montserrat */
  font-size: clamp(0.8125rem, 1.15vw, 0.875rem);
  font-weight: 400;
  line-height: 1.65;
  color: #fff;
  text-align: center;
}

.home-page #promises .promises__intro[hidden],
.home-page #promises .promises__intro:empty {
  display: none;
  margin: 0;
}

.home-page #promises .promises__process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 3vw, 2.5rem);
  row-gap: 0;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding-top: 0;
  text-align: center;
}

/*
  Connecting line — match PPC Mentoring “How it works” treatment
  (2px gold track at muted opacity + solid gold overlay), kept horizontal.
*/
.home-page #promises .promises__process::before,
.home-page #promises .promises__process::after {
  content: '';
  position: absolute;
  /* Align to center of marker dots (number size + gap + half of 8px dot) */
  top: calc(clamp(1.875rem, 2.7vw, 2.25rem) + 0.55rem + 4px);
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 0;
  z-index: 0;
  pointer-events: none;
}

.home-page #promises .promises__process::before {
  border-top: 2px solid rgba(var(--gold-rgb), 0.22);
}

.home-page #promises .promises__process::after {
  border-top: 2px solid var(--gold);
}

.home-page #promises .promises__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

/* Numbers: Cinzel, gold, normal weight */
.home-page #promises .promises__step-num {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 0 clamp(1.15rem, 2.5vw, 1.75rem);
  padding: 0 0.75rem;
  font-family: var(--font-display); /* Cinzel */
  font-size: clamp(1.875rem, 2.7vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--gold);
  text-shadow: none;
  background-color: transparent;
}

/* Marker on the line — gold accent matching mentoring timeline gold */
.home-page #promises .promises__step-num::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--navy);
}

.home-page #promises .promises__step-title {
  margin: 0 0 clamp(0.75rem, 1.5vw, 1rem);
  max-width: 18ch;
  font-size: clamp(0.9375rem, 1.35vw, 1.0625rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: none;
}

.home-page #promises .promises__step-rule {
  display: block;
  width: min(3.5rem, 40%);
  height: 1px;
  margin: 0 0 clamp(0.75rem, 1.5vw, 1rem);
  background: rgba(var(--gold-rgb), 0.65);
}

.home-page #promises .promises__step-desc {
  margin: 0;
  max-width: 28ch;
  font-size: clamp(0.8125rem, 1.15vw, 0.875rem);
  font-weight: 400;
  line-height: 1.65;
  color: #fff;
}

.home-page #promises .promises__extras {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.home-page #promises .promises__extras .promises__pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-page #promises .promises__extras .promises__pillar-title {
  margin: 0 0 0.65rem;
  font-size: clamp(0.9375rem, 1.35vw, 1.0625rem);
  font-weight: 400;
  color: #fff;
  text-transform: none;
  letter-spacing: 0.02em;
}

.home-page #promises .promises__extras .promises__pillar-desc {
  margin: 0;
  font-size: clamp(0.8125rem, 1.15vw, 0.875rem);
  line-height: 1.65;
  color: #fff;
}

/* Hide legacy icon styles if any remain */
.home-page #promises .promises__pillar-icon {
  display: none;
}

/* --- Final CTA --- */
.home-page #get-in-touch.content-block--end {
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image: none;
  color: var(--navy);
}

.home-page #get-in-touch.content-block--end::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('assets/learnedBG.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 1;
}

.home-page #get-in-touch .content-block__inner {
  position: relative;
  z-index: 1;
  max-width: 45rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-page #get-in-touch .content-block__title {
  font-family: var(--font-display); /* Cinzel */
  font-size: clamp(1.43rem, 2.75vw, 1.92rem);
  font-weight: 400;
  color: var(--navy);
}

.home-page #get-in-touch .content-block__body {
  width: 100%;
}

.home-page #get-in-touch .content-block__body p {
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 1.15vw, 0.875rem);
  line-height: 1.65;
  color: var(--navy);
}

.home-page #get-in-touch .home-final-cta {
  display: inline-flex;
  margin-top: 8px;
}

.home-page #get-in-touch .home-final-cta:hover,
.home-page #get-in-touch .home-final-cta:focus-visible {
  color: #fff;
}

/* --- Scroll-triggered fade-up --- */
.home-page .home-reveal__item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.home-page .home-animate-section.is-visible .home-reveal__item {
  opacity: 1;
  transform: translateY(0);
}

.home-page .home-animate-section.is-visible .home-reveal__item:nth-child(1) { transition-delay: 0ms; }
.home-page .home-animate-section.is-visible .home-reveal__item:nth-child(2) { transition-delay: 100ms; }
.home-page .home-animate-section.is-visible .home-reveal__item:nth-child(3) { transition-delay: 200ms; }
.home-page .home-animate-section.is-visible .home-reveal__item:nth-child(4) { transition-delay: 300ms; }
.home-page .home-animate-section.is-visible .home-reveal__item:nth-child(5) { transition-delay: 400ms; }
.home-page .home-animate-section.is-visible .home-reveal__item:nth-child(6) { transition-delay: 500ms; }
.home-page .home-animate-section.is-visible .home-reveal__item:nth-child(7) { transition-delay: 600ms; }
.home-page .home-animate-section.is-visible .home-reveal__item:nth-child(8) { transition-delay: 700ms; }

.home-page #familiar .home-familiar__grid .home-reveal__item:nth-child(1) { transition-delay: 80ms; }
.home-page #familiar .home-familiar__grid .home-reveal__item:nth-child(2) { transition-delay: 160ms; }
.home-page #familiar .home-familiar__grid .home-reveal__item:nth-child(3) { transition-delay: 240ms; }
.home-page #familiar .home-familiar__grid .home-reveal__item:nth-child(4) { transition-delay: 320ms; }
.home-page #familiar.home-familiar .familiar__intro.home-reveal__item { transition-delay: 420ms; }

.home-page .services__grid .home-reveal__item:nth-child(1) { transition-delay: 80ms; }
.home-page .services__grid .home-reveal__item:nth-child(2) { transition-delay: 180ms; }
.home-page .services__grid .home-reveal__item:nth-child(3) { transition-delay: 280ms; }

.home-page .home-asymmetric__content-col .home-reveal__item:nth-child(1) { transition-delay: 120ms; }
.home-page .home-asymmetric__content-col .home-reveal__item:nth-child(2) { transition-delay: 220ms; }
.home-page .home-asymmetric__content-col .home-reveal__item:nth-child(3) { transition-delay: 320ms; }
.home-page .home-asymmetric__content-col .home-reveal__item:nth-child(4) { transition-delay: 420ms; }

.home-page #promises .promises__process .home-reveal__item:nth-child(1) { transition-delay: 0ms; }
.home-page #promises .promises__process .home-reveal__item:nth-child(2) { transition-delay: 120ms; }
.home-page #promises .promises__process .home-reveal__item:nth-child(3) { transition-delay: 240ms; }
.home-page #promises .promises__extras .home-reveal__item:nth-child(1) { transition-delay: 100ms; }
.home-page #promises .promises__extras .home-reveal__item:nth-child(2) { transition-delay: 200ms; }
.home-page #promises .promises__extras .home-reveal__item:nth-child(3) { transition-delay: 300ms; }

@media (min-width: 769px) {
  /* First sentence of each body paragraph — Cinzel gold, same size as body (desktop only) */
  .home-page #team .team-section__lead {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--gold);
    font-size: inherit;
  }

  html[lang="hu"] .home-page #team .team-section__lead {
    font-weight: 700;
  }

  .home-page #team .team-section__inner {
    padding-left: clamp(0.625rem, 1.75vw, 1rem);
    padding-right: clamp(1.25rem, 3.5vw, 2rem);
  }

  .home-page #ad-management .ad-mgmt__inner {
    max-width: min(56rem, 94vw);
    margin-inline: auto;
    padding-left: clamp(0.625rem, 1.75vw, 1rem);
    padding-right: clamp(1.25rem, 3.5vw, 2rem);
  }

  .home-page #ad-management .home-asymmetric--ad-mgmt {
    grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
    column-gap: clamp(1.25rem, 2.5vw, 1.75rem);
  }

  /* HU title lines need ~18.5rem; widen left column so each line stays unbroken */
  html[lang="hu"] .home-page #ad-management .home-asymmetric--ad-mgmt {
    grid-template-columns: minmax(18.5rem, 38%) minmax(0, 1fr);
  }

  .home-page #ad-management .home-asymmetric--ad-mgmt .ad-mgmt__title {
    font-size: clamp(1.625rem, 2.6vw, 2.35rem);
  }

  .home-page #ad-management .ad-mgmt__intro p {
    line-height: 1.8;
  }

  /* Full left-side navy veil — smooth blend into visible background (desktop only) */
  .home-page #promises.promises--agency {
    background-image:
      linear-gradient(
        to right,
        var(--navy) 0%,
        var(--navy) 14%,
        rgba(17, 34, 58, 0.94) 20%,
        rgba(17, 34, 58, 0.55) 26%,
        transparent 34%
      ),
      url('assets/blueBG.webp');
  }
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .home-page {
    overflow-x: clip;
  }

  .home-page .hero {
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    /*
     * Cause: styles.css sets .hero { min-height: auto; overflow: visible } on mobile.
     * Our prior min-height: 100dvh won on specificity, but without a hard height/max-height
     * and with overflow-y: visible, the section could not lock to the visible viewport
     * (esp. when 100dvh maps to the large viewport while mobile chrome is showing).
     * --header-height (72px) matches the rendered navbar; reserved via padding-top.
     */
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    padding:
      calc(var(--header-height) + clamp(12px, 3vw, 20px))
      clamp(20px, 6vw, 32px)
      clamp(12px, 3vw, 24px);
  }

  .home-page .hero__content {
    --hero-mobile-scale: 0.875;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding:
      calc(clamp(16px, 4vw, 28px) * var(--hero-mobile-scale))
      clamp(16px, 5vw, 28px)
      calc(20px * var(--hero-mobile-scale));
  }

  .home-page .hero__tagline {
    width: 100%;
    text-align: center;
    align-self: center;
    font-size: calc(0.6875rem * var(--hero-mobile-scale));
    margin-bottom: calc(24px * var(--hero-mobile-scale));
  }

  .home-page .hero__intro {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: visible;
    margin-bottom: calc(36px * var(--hero-mobile-scale));
  }

  .home-page .hero__headline--triple,
  .home-page .hero__headline {
    align-items: center;
    text-align: center;
    align-self: center;
    width: 100%;
    font-size: clamp(
      calc(1.75rem * var(--hero-mobile-scale)),
      calc(7.2vw * var(--hero-mobile-scale)),
      calc(2.35rem * var(--hero-mobile-scale))
    );
    line-height: 1.18;
  }

  .home-page .hero__cta {
    align-self: center;
    width: auto;
    max-width: max-content;
    font-size: calc(0.625rem * var(--hero-mobile-scale));
    padding:
      calc(11px * var(--hero-mobile-scale))
      calc(20px * var(--hero-mobile-scale));
    min-height: calc(40px * var(--hero-mobile-scale));
    gap: calc(8px * var(--hero-mobile-scale));
  }

  .home-page .hero__cta-arrow {
    width: calc(14px * var(--hero-mobile-scale));
    height: calc(14px * var(--hero-mobile-scale));
  }

  .home-page .hero__divider {
    margin-inline: auto;
    width: min(100%, calc(300px * var(--hero-mobile-scale)));
    margin-block: calc(28px * var(--hero-mobile-scale));
  }

  .home-page .hero__divider::after {
    width: calc(7px * var(--hero-mobile-scale));
    height: calc(7px * var(--hero-mobile-scale));
  }

  .home-page .hero__subheadline {
    margin-inline: auto;
    text-align: center;
    font-size: clamp(
      calc(0.95rem * var(--hero-mobile-scale)),
      calc(2.8vw * var(--hero-mobile-scale)),
      calc(1.125rem * var(--hero-mobile-scale))
    );
  }

  .home-page .hero__watermark {
    top: 50%;
    left: 50%;
    width: min(720px, 92vw);
    max-width: 130%;
    transform: translate(-50%, -50%);
  }

  .home-page .hero__content.is-entered .hero__watermark-image {
    opacity: 0.055;
  }

  .home-page .hero__trust-line {
    margin-bottom: clamp(28px, 7vw, 40px);
  }

  /* Trust countries carousel — mobile only */
  .home-page .hero__bottom {
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    flex: 0 0 auto;
    padding: 0;
  }

  .home-page .hero-trust-band {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .home-page .hero-trust-band__content {
    flex: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .home-page .hero__trust-title {
    width: 100%;
    text-align: center;
    margin-inline: auto;
  }

  .home-page .hero-trust-carousel {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
  }

  .home-page .hero-trust-carousel__viewport {
    width: 100%;
    max-width: 100%;
  }

  .home-page .hero-trust-carousel__slide.hero__country {
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
    align-items: center;
    text-align: center;
    padding-inline: 0;
  }

  .home-page .hero-trust-carousel .hero__country-name {
    width: 100%;
    text-align: center;
    margin: 0 0 6px;
  }

  .home-page .hero-trust-carousel .hero__country-art {
    width: clamp(56px, 14vw, 72px);
    height: calc(clamp(56px, 14vw, 72px) * 1.5);
    margin: 0;
    object-fit: contain;
    object-position: center center;
    filter: none;
    opacity: 1;
  }

  .home-page .hero-trust-carousel__slide.hero__country--hu .hero__country-art {
    margin-top: 0;
  }

  .home-page .hero-trust-carousel__dots {
    justify-content: center;
    width: 100%;
  }

  .home-page .home-asymmetric {
    grid-template-columns: 1fr;
    row-gap: clamp(1.5rem, 5vw, 2rem);
  }

  .home-page #ad-management.ad-mgmt {
    /* +76px top vs prior 116: +38 for translate compensate +38 extra air above heading */
    padding-top: 192px;
    padding-bottom: 164px;
    background-color: var(--navy);
    background-position: left bottom;
    /* 2× previous mobile compass scale; aspect ratio preserved via auto width */
    background-size: auto clamp(28rem, 104vw, 37rem);
    background-repeat: no-repeat;
  }

  .home-page #ad-management.ad-mgmt::before {
    /*
     * Top mask to section edge + copy veil.
     * !important beats styles.css #ad-management::before { background-size: cover !important }
     * which was wiping the navy top edge on mobile.
     */
    background:
      linear-gradient(
        to bottom,
        var(--navy) 0%,
        var(--navy) 34%,
        rgba(17, 34, 58, 0.98) 44%,
        rgba(17, 34, 58, 0.82) 52%,
        rgba(17, 34, 58, 0.35) 62%,
        transparent 72%
      ),
      radial-gradient(
        ellipse 130% 62% at 50% 0%,
        var(--navy) 0%,
        rgba(17, 34, 58, 0.9) 42%,
        rgba(17, 34, 58, 0.45) 58%,
        transparent 78%
      ) !important;
    background-size: 100% 100% !important;
    background-position: 0 0 !important;
    background-repeat: no-repeat !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .home-page #ad-management.ad-mgmt::after {
    /* Right-edge fill — fully clear of lower compass/"Darlana" band */
    background: linear-gradient(to bottom, #11213A 0%, #000916 100%);
    -webkit-mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        transparent 36%,
        rgba(0, 0, 0, 0.2) 52%,
        rgba(0, 0, 0, 0.7) 68%,
        #000 82%
      ),
      linear-gradient(
        to bottom,
        #000 0%,
        #000 38%,
        rgba(0, 0, 0, 0.25) 48%,
        transparent 58%
      );
    mask-image:
      linear-gradient(
        to right,
        transparent 0%,
        transparent 36%,
        rgba(0, 0, 0, 0.2) 52%,
        rgba(0, 0, 0, 0.7) 68%,
        #000 82%
      ),
      linear-gradient(
        to bottom,
        #000 0%,
        #000 38%,
        rgba(0, 0, 0, 0.25) 48%,
        transparent 58%
      );
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }

  .home-page #ad-management .ad-mgmt__inner {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 1.5rem);
    /* Whole text block up ~1cm more vs prior -48px — larger gap above bottom compass */
    transform: translate(clamp(0.75rem, 4vw, 1.5rem), -86px);
  }

  .home-page #ad-management .home-asymmetric--ad-mgmt {
    grid-template-columns: 1fr;
    row-gap: clamp(2rem, 6vw, 2.75rem);
    column-gap: 0;
  }

  .home-page #ad-management .home-asymmetric--ad-mgmt .home-asymmetric__heading-col {
    align-items: flex-start;
    width: 100%;
  }

  /* Desktop-style gold vertical divider beside body text on mobile */
  .home-page #ad-management .home-asymmetric--ad-mgmt .home-asymmetric__content-col {
    border-left: 1px solid var(--gold);
    padding-left: clamp(1rem, 4vw, 1.25rem);
  }

  /*
   * Reset styles.css mobile title padding/centering so the gold subtitle
   * shares the exact same left edge as the title.
   */
  .home-page #ad-management .home-asymmetric--ad-mgmt .ad-mgmt__title {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
    text-align: left;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .home-page #ad-management .home-asymmetric--ad-mgmt .ad-mgmt__subtitle {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    text-align: left;
  }

  /* Match Different kind of agency body size */
  .home-page #ad-management .ad-mgmt__intro p {
    font-size: clamp(0.8125rem, 1.15vw, 0.875rem);
    line-height: 1.65;
  }

  /* Ad Management CTA — match compact mobile hero/CTA proportions */
  .home-page #ad-management .home-asymmetric__content-col > .service-card__cta {
    font-size: 0.625rem;
    padding: 10px 18px;
    min-height: 36px;
    gap: 8px;
    width: auto;
    max-width: max-content;
  }

  .home-page #team.team-section {
    padding: calc(clamp(2rem, 5vw, 2.75rem) + 28px) 0 clamp(2rem, 5vw, 2.75rem);
  }

  .home-page #team .team-learned {
    max-width: 100%;
  }

  .home-page #team .team-section__title {
    font-weight: 400;
    font-size: clamp(1.25rem, 5vw, 1.65rem);
  }

  /* Match desktop: first sentence Cinzel gold (markup already has .team-section__lead) */
  .home-page #team .team-section__lead {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--gold);
    font-size: inherit;
  }

  html[lang="hu"] .home-page #team .team-section__lead {
    font-weight: 700;
  }

  .home-page #familiar.home-familiar .familiar__heading,
  .home-page #services .services__heading,
  .home-page #promises .promises__title,
  .home-page #get-in-touch .content-block__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.25rem, 5vw, 1.65rem);
  }

  .home-page #services .services__heading {
    margin-bottom: clamp(1.75rem, 5vw, 2.5rem);
  }

  .home-page #promises .promises__subtitle {
    max-width: 100%;
    padding-inline: clamp(0.75rem, 3.5vw, 1rem);
  }

  .home-page #team .team-section__intro,
  .home-page #team .team-section__closing,
  .home-page #team .team-section__highlights {
    font-size: clamp(0.8125rem, 1.15vw, 0.875rem);
    line-height: 1.65;
  }

  .home-page #team .team-learned__divider {
    width: min(100%, 10rem);
    margin: clamp(1rem, 3vw, 1.25rem) auto;
  }

  .home-page #team .team-learned > .service-card__cta {
    min-height: 44px;
    touch-action: manipulation;
  }

  /* Ready to find — smaller CTA, keep 44px tap target */
  .home-page #get-in-touch .home-final-cta {
    font-size: 0.6875rem;
    padding: 12px 22px;
    min-height: 44px;
    gap: 8px;
    width: auto;
    max-width: max-content;
  }

  .home-page #get-in-touch .home-final-cta .hero__cta-arrow {
    width: 14px;
    height: 14px;
  }

  .home-page #get-in-touch.content-block--end {
    overflow-x: clip;
    padding: clamp(64px, 14vw, 80px) 0;
  }

  .home-page .home-cream-band {
    /* Mobile: texture lives on each section again (natural cover scale).
       Band stays cream-only — cover on the tall wrapper over-zooms marble. */
    background-image: none;
  }

  .home-page #familiar.home-familiar {
    padding: clamp(2.5rem, 7vw, 3.25rem) 0 clamp(2.25rem, 6vw, 3rem);
    overflow-x: clip;
    /* Inherit section marble from base; scroll is iOS-safe (overrides fixed) */
    background-attachment: scroll;
  }

  /* Soften familiar→services crop jump (per-section cover restarts the image) */
  .home-page #familiar.home-familiar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(2.25rem, 8vw, 3rem);
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(247, 245, 242, 0),
      var(--cream)
    );
  }

  .home-page #familiar.home-familiar .container {
    max-width: 100%;
    padding-inline: clamp(1rem, 4.5vw, 1.25rem);
  }

  .home-page #familiar .home-familiar__divider {
    width: min(100%, 10rem);
    margin: clamp(0.875rem, 3vw, 1.125rem) auto clamp(1.75rem, 5vw, 2.25rem);
  }

  .home-page #familiar.home-familiar .familiar__heading {
    font-size: clamp(1.25rem, 5.5vw, 1.65rem);
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 0;
    padding-inline: 0.25rem;
  }

  .home-page #familiar .home-familiar__board {
    max-width: 100%;
    overflow: visible;
  }

  /* Match Ad Management "Who we typically work with" mobile: 2-col + centre spine */
  .home-page #familiar .home-familiar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.25rem, 4.5vw, 1.75rem);
    row-gap: clamp(1.125rem, 3.5vw, 1.5rem);
    max-width: 100%;
  }

  .home-page #familiar .home-familiar__spine {
    display: block;
    top: -0.4rem;
    bottom: -1.25rem;
  }

  .home-page #familiar .home-familiar__item {
    gap: 0.25rem;
    width: auto;
    max-width: 90%;
  }

  .home-page #familiar .home-familiar__item:nth-child(odd) {
    justify-self: end;
    text-align: right;
    align-items: flex-end;
    padding-right: clamp(0.35rem, 1.2vw, 0.5rem);
    padding-left: 0;
  }

  .home-page #familiar .home-familiar__item:nth-child(even) {
    justify-self: start;
    text-align: left;
    align-items: flex-start;
    padding-left: clamp(0.35rem, 1.2vw, 0.5rem);
    padding-right: 0;
  }

  .home-page #familiar .home-familiar__num {
    /* 1.35rem × 1.2 (prior bump) × 0.95 (−5%) */
    font-size: 1.539rem;
    margin-bottom: 0.15rem;
  }

  .home-page #familiar .home-familiar__lead {
    /* 0.6875rem × 1.2 × 0.95 */
    font-size: 0.78375rem;
    letter-spacing: 0.05em;
    line-height: 1.4;
    max-width: 100%;
    padding-inline: 0;
  }

  .home-page #familiar .home-familiar__body {
    /* 0.625rem × 1.2 × 0.95 */
    font-size: 0.7125rem;
    line-height: 1.65;
    max-width: 100%;
    padding-inline: 0;
    margin-top: 0;
  }

  .home-page #familiar.home-familiar .familiar__intro {
    margin-top: clamp(2rem, 6vw, 2.5rem);
    font-size: clamp(0.8125rem, 3.4vw, 0.875rem);
    line-height: 1.75;
    max-width: min(100%, 36ch);
    padding: 0 0.25rem;
  }

  /* Services carousel — mobile only; tighter top gap below familiar */
  .home-page #services.services {
    overflow-x: clip;
    padding-top: calc(clamp(28px, 7vw, 40px) - 0.25cm);
    /* Equal to CTA margin-top so the button sits centered between dots and section bottom
       (padding avoids margin-collapse that would eat margin-bottom) */
    padding-bottom: clamp(1.5rem, 5vw, 2.25rem);
    background-attachment: scroll;
  }

  .home-page #services.services::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: clamp(2.25rem, 8vw, 3rem);
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
      to top,
      rgba(247, 245, 242, 0),
      var(--cream)
    );
  }

  .home-page .home-services-carousel {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
  }

  .home-page .home-services-carousel__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x pan-y;
    width: 100%;
    max-width: 100%;
  }

  .home-page .home-services-carousel__viewport::-webkit-scrollbar {
    display: none;
  }

  .home-page #services .services__grid {
    display: flex;
    grid-template-columns: unset;
    align-items: stretch;
    gap: 12px;
    width: max-content;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .home-page #services .home-services-carousel__slide {
    scroll-snap-align: center;
    scroll-snap-stop: always;
    flex: 0 0 auto;
    min-width: 0;
  }

  .home-page .home-services-carousel__dots {
    display: flex;
  }

  .home-page #services .service-card__body {
    align-items: center;
    text-align: center;
    padding: 24px 20px 28px;
  }

  .home-page #services .service-card__title {
    font-size: clamp(1.125rem, 4.5vw, 1.3125rem);
  }

  .home-page #services .service-card__desc {
    max-width: 36ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
    font-size: clamp(0.8125rem, 3.2vw, 0.875rem);
    line-height: 1.7;
  }

  .home-page #services .service-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 14px 24px;
    white-space: normal;
    text-align: center;
    touch-action: manipulation;
  }

  /* Section CTA — pulled up closer to pagination dots (beats styles.css
     #services .services__cta { margin: 36px auto 0 } via higher specificity) */
  .home-page #services .services__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: max-content;
    margin: clamp(0.5rem, 2vw, 0.75rem) auto 0;
    font-size: 0.6875rem;
    padding: 12px 22px;
    min-height: 44px;
    gap: 8px;
    white-space: normal;
    text-align: center;
    touch-action: manipulation;
  }

  .home-page #services .services__cta .hero__cta-arrow {
    width: 14px;
    height: 14px;
  }

  .home-page #promises .promises__process {
    grid-template-columns: 1fr;
    row-gap: clamp(2rem, 6vw, 2.75rem);
    padding-left: 0;
  }

  /* Vertical mentoring-style 2px line (muted track + gold fill) */
  .home-page #promises .promises__process::before,
  .home-page #promises .promises__process::after {
    top: 0.55rem;
    bottom: 0.55rem;
    left: 0.55rem;
    right: auto;
    width: 0;
    height: auto;
    border-top: none;
  }

  .home-page #promises .promises__process::before {
    border-left: 2px solid rgba(var(--gold-rgb), 0.22);
  }

  .home-page #promises .promises__process::after {
    border-left: 2px solid var(--gold);
  }

  .home-page #promises .promises__step {
    align-items: flex-start;
    text-align: left;
    padding-left: 1.85rem;
  }

  .home-page #promises .promises__step-num {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: transparent;
    font-size: clamp(2rem, 8.1vw, 2.25rem);
  }

  .home-page #promises .promises__step-num::after {
    position: absolute;
    top: 0.45em;
    left: -1.5rem;
    margin: 0;
    box-shadow: 0 0 0 3px var(--navy);
  }

  .home-page #promises .promises__step-title {
    max-width: none;
    text-align: left;
  }

  .home-page #promises .promises__step-rule {
    margin-left: 0;
    margin-right: auto;
  }

  .home-page #promises .promises__step-desc {
    max-width: none;
    text-align: left;
  }

  .home-page #promises .promises__extras {
    grid-template-columns: 1fr;
  }

  .home-page #promises.promises--agency {
    background-image:
      linear-gradient(
        to bottom right,
        var(--navy) 0%,
        var(--navy) 8%,
        rgba(17, 34, 58, 0.92) 18%,
        rgba(17, 34, 58, 0.45) 32%,
        transparent 52%
      ),
      url('assets/blueBG.webp');
    background-size: auto, cover;
    background-position: left top, calc(50% + 2.75rem) center;
    /* Less space above title on mobile */
    padding-top: clamp(72px, 17vw, 84px);
    padding-bottom: clamp(72px, 16vw, 88px);
  }

  .home-page #promises.promises--agency::after {
    top: -14rem;
    right: -16rem;
    opacity: 0.04;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-hero__enter,
  .home-page .home-reveal__item,
  .home-page .hero__watermark-image {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-page .hero__content.is-entered .hero__watermark-image {
    opacity: 0.055;
  }

  .home-page .service-card__image {
    transition: none;
  }
}

/* Wide screens — homepage hero content scale (100vh band; fill the screen) */
@media (min-width: 1600px) {
  /* Eyebrow — base is fixed 0.6875rem via main .hero__tagline; +25% */
  .home-page .hero__tagline {
    font-size: 0.859375rem;
  }

  /* Headline — raise clamp MAX only (+40%) */
  .home-page .hero__headline,
  .home-page .hero__headline--triple {
    font-size: clamp(1.55rem, 3vw, 3.5rem);
  }

  /* Subheadline — raise clamp MAX only (+25%); base is main .hero__subheadline */
  .home-page .hero__subheadline {
    font-size: clamp(0.9rem, 1.45vw, 1.3125rem);
  }

  /* CTA — font +20% only. Padding boost omitted: it overflows 1600×900. */
  .home-page .hero__cta {
    font-size: 0.825rem;
  }

  /* Trust label — raise clamp MAX only (+25%) */
  .home-page .hero__trust-title {
    font-size: clamp(0.5625rem, 0.95vw, 0.859375rem);
  }

  /* Country line art — CSS max was 72px; +40% → 6.3rem.
     Portrait assets (DK/SE ~1.5× tall) always need a height ceiling
     or the 100vh stack overflows on short and mid ultrawides. */
  .home-page .hero__country-art {
    width: 6.3rem;
    max-height: 5rem;
    object-fit: contain;
    object-position: center top;
  }

  .home-page .hero-trust-band {
    max-width: min(26rem, 100%);
  }

  /* Short ultrawide: trim content pad so the stack clears 900px-tall windows */
  .home-page .hero__content {
    padding-top: clamp(1.5rem, 4vw, 3rem);
  }
}

/* Tighter art ceiling on short ultrawides (900–1080 tall) */
@media (min-width: 1600px) and (max-height: 1100px) {
  .home-page .hero__country-art {
    max-height: 2.75rem;
  }
}

/* Vertical rhythm + CTA padding — only on tall viewports.
   At 1400–1440px tall (with root scaling to 22–24px) the +20% spacing
   overflows the 100vh hero, so it is gated above the verify heights. */
@media (min-width: 1600px) and (min-height: 1600px) {
  .home-page .hero {
    padding: calc(var(--header-height) + 3.6rem) clamp(24px, 4vw, 40px) 0;
  }

  .home-page .hero__content {
    padding: clamp(2rem, 6vw, 4.8rem) 0 clamp(1.5rem, 4vw, 3rem);
  }

  .home-page .hero__tagline {
    margin-bottom: 1.8rem;
  }

  .home-page .hero__divider {
    margin-block: 2.1rem;
  }

  .home-page .hero__intro {
    margin-bottom: 2.7rem;
  }

  .home-page .hero__cta {
    padding: 1.05rem 2.1rem;
    gap: 0.9rem;
  }

  .home-page .hero__bottom {
    padding: clamp(0.9rem, 2.5vw, 1.5rem) 0 clamp(1.2rem, 3vw, 1.8rem);
    padding-top: 2.1rem;
  }

  .home-page .hero__trust-line {
    margin-bottom: 1.8rem;
  }

  .home-page .hero__trust-title {
    margin-bottom: 0.9rem;
  }

  .home-page .hero-trust-carousel__dots {
    margin-top: clamp(0.75rem, 2vw, 1.05rem);
  }
}

/* Looking for — fade compass2 hard edges from 1600px up.
   The ::after mask is section-relative (% of section width). compass2’s right
   edge drifts left as the viewport grows (~73% @1600 → ~44% @3440) because
   background-size is height-driven. A fade that only reaches solid ~64% works
   at 1920 (edge ~62%) but leaves the cut exposed at 2560+ (edge ~44–51%, still
   mid-transparent). Solid navy must begin BEFORE the narrowest image edge. */
@media (min-width: 1600px) {
  .home-page #ad-management.ad-mgmt::before {
    background:
      radial-gradient(
        ellipse 72% 58% at 52% 34%,
        var(--navy) 0%,
        rgba(17, 34, 58, 0.94) 32%,
        rgba(17, 34, 58, 0.55) 52%,
        transparent 74%
      ),
      linear-gradient(
        to bottom,
        var(--navy) 0%,
        rgba(17, 34, 58, 0.92) 6%,
        rgba(17, 34, 58, 0.55) 16%,
        transparent 34%
      ),
      linear-gradient(
        to top,
        transparent 0%,
        transparent 12%,
        rgba(17, 34, 58, 0.25) 55%,
        rgba(17, 34, 58, 0.65) 82%,
        var(--navy) 100%
      );
  }

  .home-page #ad-management.ad-mgmt::after {
    /* Section-anchored overlay: transparent over lower-left compass, solid
       navy before the bitmap ends even at 3440 (~44% width). */
    background: linear-gradient(to bottom, #11213A 0%, #000916 100%);
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      transparent 18%,
      rgba(0, 0, 0, 0.12) 28%,
      rgba(0, 0, 0, 0.4) 34%,
      rgba(0, 0, 0, 0.85) 40%,
      #000 44%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      transparent 18%,
      rgba(0, 0, 0, 0.12) 28%,
      rgba(0, 0, 0, 0.4) 34%,
      rgba(0, 0, 0, 0.85) 40%,
      #000 44%
    );
  }
}

