@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --wdt-ink: #0a0a0a;
  --wdt-ink-soft: #151515;
  --wdt-navy: #1a1a1a;
  --wdt-orange: #ff6433;
  --wdt-aqua: #ff6433;
  --wdt-cloud: #f5f5f5;
  --wdt-muted: #aaaaaa;
  --wdt-line: rgba(255, 255, 255, 0.14);
  --wdt-radius: 1.25rem;
  --wdt-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wdt-font-heading: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --wdt-font-body: 'Lato', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--wdt-ink);
  font-family: var(--wdt-font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-heading {
  font-family: var(--wdt-font-heading);
  font-weight: 800;
}

::selection {
  color: var(--wdt-ink);
  background: var(--wdt-orange);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: clamp(0.9rem, 1.6vw, 1.4rem) clamp(1.25rem, 4vw, 4.5rem);
  transition: padding 250ms ease;
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled {
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

/* --- Pill: white brand plate fused to a dark actions plate --- */

.nav-pill {
  display: inline-flex;
  align-items: stretch;
  flex: 0 0 auto;
  min-width: min-content;
  max-width: 100%;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 20, 22, 0.62);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0.75rem 2.25rem rgba(0, 0, 0, 0.38);
  transition: background-color 250ms ease, border-color 250ms ease;
}

.site-header.is-scrolled .nav-pill {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(14, 14, 16, 0.88);
}

/* Entrance: the pill drops in once, just after load. */
@keyframes wdt-pill-in {
  from { opacity: 0; transform: translateY(-1.25rem); }
  to   { opacity: 1; transform: none; }
}

.nav-pill {
  animation: wdt-pill-in 750ms var(--wdt-ease) both;
}

.nav-pill:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 1rem 2.75rem rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 100, 51, 0.14),
    0 0 2.5rem rgba(255, 100, 51, 0.12);
}

.nav-pill__brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0.75rem clamp(1.25rem, 2.4vw, 2.25rem);
  background: #fff;
}

.nav-pill__brand img {
  display: block;
  width: clamp(6.5rem, 10vw, 9rem);
  height: auto;
  transition: transform 500ms var(--wdt-ease);
}

.nav-pill__brand:hover img {
  transform: scale(1.06);
}

.nav-pill__actions {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.9rem);
  padding: 0 clamp(1.25rem, 2.4vw, 2.25rem);
  color: #fff;
}

.nav-pill__link,
.nav-pill__toggle {
  color: #fff;
  font-family: var(--wdt-font-heading);
  font-size: clamp(0.85rem, 1.05vw, 1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 250ms ease;
}

/* Label rolls up, its duplicate rolls in from below. */
.nav-roll {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
}

.nav-roll > span,
.nav-roll::after {
  display: block;
  transition: transform 480ms var(--wdt-ease);
}

.nav-roll::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--wdt-orange);
  content: attr(data-text);
  transform: translateY(100%);
}

.nav-pill__link:hover .nav-roll > span,
.nav-pill__toggle:hover .nav-roll > span {
  transform: translateY(-100%);
}

.nav-pill__link:hover .nav-roll::after,
.nav-pill__toggle:hover .nav-roll::after {
  transform: translateY(0);
}

.nav-pill__divider {
  width: 1px;
  height: 1.35rem;
  background: rgba(255, 255, 255, 0.26);
}

.nav-pill__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-burger {
  display: inline-grid;
  gap: 0.26rem;
  width: 1.4rem;
}

.nav-burger i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 300ms var(--wdt-ease), opacity 200ms ease;
}

.nav-pill__toggle:hover .nav-burger i:nth-child(1) { transform: translateX(0.2rem); }
.nav-pill__toggle:hover .nav-burger i:nth-child(2) { transform: translateX(-0.16rem); }
.nav-pill__toggle:hover .nav-burger i:nth-child(3) { transform: translateX(0.28rem); }

.nav-pill__toggle[aria-expanded="true"] .nav-burger i:nth-child(1) {
  transform: translateY(0.35rem) rotate(45deg);
}

.nav-pill__toggle[aria-expanded="true"] .nav-burger i:nth-child(2) {
  opacity: 0;
}

.nav-pill__toggle[aria-expanded="true"] .nav-burger i:nth-child(3) {
  transform: translateY(-0.35rem) rotate(-45deg);
}

/* --- Fullscreen mega menu --- */

.mega-menu {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4.5rem, 9vh, 7rem) clamp(1.5rem, 6vw, 6rem) clamp(2.5rem, 6vh, 4.5rem);
  background: #131313;
  opacity: 0;
  transition: opacity 320ms ease;
}

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

.mega-menu.is-open {
  opacity: 1;
}

.mega-menu__close {
  position: absolute;
  top: clamp(1.5rem, 3vh, 2.5rem);
  right: clamp(1.5rem, 4vw, 3.5rem);
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  background: none;
  cursor: pointer;
  transition: color 250ms ease, transform 350ms var(--wdt-ease);
}

.mega-menu__close:hover {
  color: var(--wdt-orange);
  transform: rotate(90deg);
}

.mega-menu__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.mega-menu__primary {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-menu__primary li + li {
  margin-top: clamp(0.75rem, 2vh, 1.5rem);
}

.mega-menu__primary button {
  padding: 0;
  border: 0;
  color: #8f8f8f;
  font-family: var(--wdt-font-heading);
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: left;
  background: none;
  cursor: pointer;
  transition: color 250ms ease;
}

.mega-menu__primary button:hover,
.mega-menu__primary button.is-active {
  color: #fff;
}

.mega-menu__primary button.is-active {
  font-weight: 800;
}

.mega-menu__panel {
  display: none;
  margin: 0;
  padding: clamp(0.35rem, 1vh, 0.8rem) 0 0;
  list-style: none;
}

.mega-menu__panel.is-active {
  display: block;
}

.mega-menu__panel li + li {
  margin-top: clamp(0.5rem, 1.4vh, 1rem);
}

.mega-menu__panel a {
  color: #9a9a9a;
  font-size: clamp(1.05rem, 1.6vw, 1.5rem);
  text-decoration: none;
  transition: color 250ms ease, padding-left 350ms var(--wdt-ease);
}

.mega-menu__panel a:hover {
  color: #fff;
  padding-left: 0.4rem;
}

.mega-menu__secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem clamp(1.25rem, 3vw, 2.75rem);
  width: 100%;
  max-width: 1240px;
  margin: clamp(2.5rem, 7vh, 5rem) auto 0;
}

.mega-menu__secondary a {
  color: #9a9a9a;
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  text-decoration: none;
  transition: color 250ms ease;
}

.mega-menu__secondary a:hover {
  color: var(--wdt-orange);
}

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

.primary-navigation {
  margin-left: auto;
}

.preview-primary-navigation {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: clamp(1rem, 2vw, 2rem);
}

.preview-primary-navigation a {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-navigation a {
  position: relative;
  text-decoration: none;
}

.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--wdt-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms var(--wdt-ease);
}

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

.header-cta {
  margin-left: clamp(0.4rem, 1vw, 1.2rem);
}

.header-cta .wp-block-button__link {
  min-height: 2.45rem;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
}

.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 3.2rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  gap: 0.8rem;
}

.wp-block-button__link:hover {
  color: var(--wdt-ink);
  background: #ff8059;
  transform: translateY(-2px);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: transparent;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 100svh;
  margin: 0;
  padding-top: clamp(6.5rem, 11vh, 8.5rem);
  padding-bottom: 0;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 28%, rgba(255, 100, 51, 0.32), transparent 28%),
    radial-gradient(circle at 16% 82%, rgba(255, 255, 255, 0.06), transparent 23%),
    var(--wdt-ink);
}

.hero-video,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-reel {
  position: absolute;
  inset: 0;
  z-index: -5;
  width: 100%;
  max-width: none;
  margin: 0;
  pointer-events: none;
}

/* Two reels stacked; the active one is visible and the swap cross-fades. */
.hero-video {
  z-index: -5;
  opacity: 0;
  object-fit: cover;
  transition: opacity 900ms ease;
}

.hero-video.is-active {
  opacity: 1;
}

/* No darkening over the reel; the element stays for the layout only. */
.hero-video-overlay {
  z-index: -4;
  background: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  text-align: center;
}

.hero-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.24;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  animation: wdt-float 10s ease-in-out infinite alternate;
}

.hero-orb--one {
  top: 24%;
  right: 4%;
  width: clamp(12rem, 24vw, 26rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 100, 51, 0.82), rgba(0, 0, 0, 0.28) 62%);
  box-shadow: inset 1.5rem -1.5rem 5rem rgba(10, 10, 10, 0.6), 0 0 7rem rgba(255, 100, 51, 0.16);
}

.hero-orb--two {
  right: 27%;
  bottom: 6rem;
  width: clamp(4rem, 8vw, 8rem);
  aspect-ratio: 1;
  background: var(--wdt-aqua);
  box-shadow: 0 0 4rem rgba(255, 100, 51, 0.35);
  animation-delay: -4s;
}

@keyframes wdt-float {
  from { transform: translate3d(0, -10px, 0) rotate(-5deg); }
  to { transform: translate3d(-18px, 18px, 0) rotate(9deg); }
}

.eyebrow {
  display: flex;
  align-items: center;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  color: var(--wdt-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  gap: 0.75rem;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--wdt-aqua);
  box-shadow: 0 0 0 0.28rem rgba(255, 100, 51, 0.14);
}

.hero-title {
  max-width: 100%;
  margin: auto auto 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

/* Beats the WordPress preset font-size class, which ships !important. */
.hero-section .hero-title {
  font-size: clamp(2.35rem, min(8.2vw, 10.5vh), 7.5rem) !important;
}

/*
 * "Brand beyond boundaries." — theme.js splits the title into words and
 * letters. Hovering the title sends a soft band of light through the
 * letters, left to right; the letter under the cursor warms up and lifts
 * a hair. No bouncing, no rotation — just light and colour.
 */
.hero-title__word {
  display: inline-block;
  white-space: nowrap;
}

.hero-title__char {
  --wdt-char-glow: #ffc4a8;
  display: inline-block;
  transition: transform 320ms var(--wdt-ease), color 320ms ease, text-shadow 320ms ease;
}

.hero-title em .hero-title__char {
  --wdt-char-glow: #fff;
}

.hero-title:hover .hero-title__char {
  animation: wdt-title-sweep 1400ms ease-out 1;
  animation-delay: calc(var(--i, 0) * 26ms);
}

.hero-title .hero-title__char:hover {
  color: var(--wdt-orange);
  text-shadow: 0 0 1.4rem rgba(255, 100, 51, 0.35);
  transform: translateY(-0.04em);
  transition-duration: 180ms;
  animation: none;
}

.hero-title em .hero-title__char:hover {
  color: #fff;
  text-shadow: 0 0 1.4rem rgba(255, 255, 255, 0.35);
}

@keyframes wdt-title-sweep {
  0%   { color: inherit; text-shadow: none; }
  22%  { color: var(--wdt-char-glow); text-shadow: 0 0 1.2rem rgba(255, 255, 255, 0.28); }
  60%  { color: inherit; text-shadow: none; }
  100% { color: inherit; text-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title:hover .hero-title__char {
    animation: none;
  }

  .hero-title .hero-title__char:hover {
    transform: none;
  }
}
}

@media (min-width: 900px) {
  .hero-title {
    max-width: 18ch;
  }
}

em {
  color: var(--wdt-orange);
  font-family: var(--wdt-font-heading);
  font-style: normal;
  font-weight: 300;
}

.hero-bottom {
  max-width: 44rem;
  margin-top: clamp(1.5rem, 3.5vh, 2.75rem);
  margin-bottom: auto;
  margin-left: auto !important;
  margin-right: auto;
}

.hero-copy {
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  color: #d6d6d6;
}

.hero-bottom .wp-block-buttons {
  justify-content: center;
}

.hero-ticker {
  flex: 0 0 auto;
}

.hero-ticker {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 1px solid var(--wdt-line);
  border-bottom: 1px solid var(--wdt-line);
  overflow: hidden;
}

.hero-ticker__track {
  display: flex;
  width: max-content;
  padding: 1rem 0;
  color: #d0d0d0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: wdt-marquee 30s linear infinite;
}

/*
 * Two identical groups, each forced to at least one viewport wide. The track is
 * therefore exactly two equal halves, so translating -50% loops seamlessly and
 * the strip is always full regardless of screen width.
 */
.hero-ticker__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  min-width: 100vw;
  gap: 2rem;
  padding-right: 2rem;
}

.hero-ticker__group i {
  color: var(--wdt-orange);
  font-style: normal;
}

/* ---------------------------------------------------------------
   Client wall — logos normalised onto uniform tiles
   --------------------------------------------------------------- */

.clients-section {
  color: var(--wdt-ink);
  background: #fff;
}

.clients-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 4.5rem);
}

.clients-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.clients-title {
  margin: 0;
  font-family: var(--wdt-font-heading);
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.clients-intro {
  margin: 0;
  max-width: none;
  color: #5f5f5f;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.5;
}

/*
 * Two rows scrolling in opposite directions. Each row holds two identical
 * groups, each forced to at least a viewport wide, so translating -50% loops
 * seamlessly and the strip is never empty at any screen size.
 */
.client-marquee {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.client-row {
  overflow: hidden;
}

.client-row__track {
  display: flex;
  width: max-content;
  animation: wdt-marquee 46s linear infinite;
}

.client-row--reverse .client-row__track {
  animation-direction: reverse;
}

.client-row:hover .client-row__track,
.client-row:focus-within .client-row__track {
  animation-play-state: paused;
}

.client-row__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.75rem, 3.2vw, 3.25rem);
  padding-right: clamp(1.75rem, 3.2vw, 3.25rem);
}

.client-row--reverse .client-row__group {
  padding-left: clamp(2rem, 5vw, 5.5rem);
}

/* Tiles size to their logo — no fixed box, so no dead space between marks. */
.client-tile {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/*
 * Client artwork arrives on wildly different grounds — red squares, dark navy
 * bars, transparent PNGs. A white tile normalises them so the rows read as one
 * set rather than a scrapbook.
 */
.client-tile__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  transition: transform 350ms var(--wdt-ease);
}

.client-tile:hover .client-tile__frame {
  transform: translateY(-0.25rem) scale(1.04);
}

/* Common height caps the vertical rhythm; the width cap stops long
   wordmarks like Shrachi from dwarfing the compact marks. */
/*
 * Sized by shape, not one blanket rule. All logos are vertically centred, but a
 * single max-height makes tall narrow marks tower over wide wordmarks. Each
 * aspect band gets its own ceiling so the row reads level.
 */
.client-tile__frame img {
  display: block;
  width: auto;
  height: auto;
  max-height: clamp(4.5rem, 7.8vw, 7rem);
  max-width: clamp(16rem, 26vw, 25rem);
  object-fit: contain;
}

/* squarish and upright marks — reined in so they don't dominate */
.client-tile--tall img {
  max-height: clamp(3.9rem, 6.8vw, 6.1rem);
}

/* moderately wide lockups */
.client-tile--mid img {
  max-height: clamp(4.4rem, 7.5vw, 6.7rem);
  max-width: clamp(17rem, 27vw, 26rem);
}

/* wide wordmarks need width to gain any height at all */
.client-tile--wide img {
  max-height: clamp(5rem, 8.5vw, 7.5rem);
  max-width: clamp(21rem, 32vw, 31rem);
}

/* very long strips (Zpilot is ~12:1) get the most width we can spare */
.client-tile--strip img {
  max-height: clamp(2.5rem, 4.2vw, 3.75rem);
  max-width: clamp(23rem, 35vw, 34rem);
}

.client-tile__wordmark {
  color: #2a2a2a;
  font-family: var(--wdt-font-heading);
  font-size: clamp(0.8rem, 1vw, 0.98rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
}

/* Trademark note under the logo wall. */
.clients-disclaimer {
  max-width: 52rem;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  color: #7a7a7a;
  font-size: 0.8rem;
  line-height: 1.55;
}

.clients-disclaimer strong {
  color: #4a4a4a;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .client-row__track {
    animation: none;
  }

  .client-row {
    overflow-x: auto;
  }
}

.client-empty-note,
.testimonial-empty-note {
  padding: 1.25rem;
  border: 1px dashed var(--wdt-line);
  color: var(--wdt-muted);
  text-align: center;
}

.theme-preview .client-query,
.theme-preview .testimonial-query,
.theme-preview .award-query {
  display: none;
}

@keyframes wdt-marquee {
  to { transform: translateX(-50%); }
}

.section {
  margin: 0;
  padding-top: clamp(3.5rem, 6.5vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 6.5vw, 6.5rem);
}

.section-services {
  color: #fff;
  /* Upper half of the dots-and-rings backdrop that continues into the reel section below. */
  background:
    radial-gradient(70rem 40rem at 92% 100%, transparent, var(--wdt-ink) 72%),
    radial-gradient(circle at 96% calc(100% - 6rem), transparent 23rem, rgba(255, 100, 51, 0.22) 23rem, rgba(255, 100, 51, 0.22) calc(23rem + 1px), transparent calc(23rem + 2px)),
    radial-gradient(circle at 96% calc(100% - 6rem), transparent calc(23rem + 2px), rgba(255, 255, 255, 0.07) calc(23rem + 2px), rgba(255, 255, 255, 0.07) 30rem, transparent calc(30rem + 1px)),
    radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.5px) 0 100% / 1.6rem 1.6rem,
    var(--wdt-ink);
  overflow: hidden;
}

/* --- Heading row: title left, intro centre, arrows right --- */

.svc-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
}

.svc-title {
  margin: 0;
  font-family: var(--wdt-font-heading);
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.svc-intro {
  margin: 0;
  color: #9d9d9d;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.5;
}

.svc-nav {
  display: flex;
  gap: 0.75rem;
}

.svc-nav__btn {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  font-size: 1.15rem;
  background: none;
  cursor: pointer;
  transition: color 250ms ease, background-color 250ms ease, border-color 250ms ease, opacity 250ms ease;
}

.svc-nav__btn:hover:not(:disabled) {
  color: var(--wdt-ink);
  background: #fff;
  border-color: #fff;
}

.svc-nav__btn:disabled {
  opacity: 0.32;
  cursor: default;
}

/* --- Carousel track --- */

.svc-track {
  --svc-gap: clamp(0.85rem, 1.5vw, 1.25rem);
  display: flex;
  gap: var(--svc-gap);
  /* Vertical room so a card lifted on hover is not clipped by the scroller. */
  margin: -1rem 0;
  padding: 1rem clamp(1.25rem, 4vw, 4.5rem);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: clamp(1.25rem, 4vw, 4.5rem);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.svc-track::-webkit-scrollbar {
  display: none;
}

/* Percentage flex-basis resolves against the track's content box, so exactly
   three cards are in view at any viewport width. */
.svc-card {
  flex: 0 0 calc((100% - 2 * var(--svc-gap)) / 3);
  scroll-snap-align: start;
}

@media (max-width: 900px) {
  .svc-card {
    flex-basis: calc((100% - var(--svc-gap)) / 2);
  }
}

@media (max-width: 680px) {
  .svc-card {
    flex-basis: 82%;
  }
}

.svc-card a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: clamp(24rem, 38vw, 34rem);
  padding: clamp(1.35rem, 2vw, 1.9rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--wdt-radius);
  color: #fff;
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  transition: transform 450ms var(--wdt-ease), border-color 300ms ease;
}

.svc-card a:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-0.5rem);
}

.svc-card__art {
  position: absolute;
  z-index: -1;
  inset: 0;
  transition: transform 700ms var(--wdt-ease);
}

.svc-card a:hover .svc-card__art {
  transform: scale(1.06);
}

.svc-card__kicker {
  position: absolute;
  top: clamp(1.35rem, 2vw, 1.9rem);
  left: clamp(1.35rem, 2vw, 1.9rem);
  font-family: var(--wdt-font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.svc-card__arrow {
  position: absolute;
  top: clamp(1.2rem, 2vw, 1.75rem);
  right: clamp(1.2rem, 2vw, 1.75rem);
  color: var(--wdt-orange);
  font-size: 1.3rem;
  transition: transform 400ms var(--wdt-ease);
}

.svc-card a:hover .svc-card__arrow {
  transform: translate(0.25rem, -0.25rem);
}

.svc-card__body {
  display: block;
}

.svc-card__title {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--wdt-font-heading);
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.svc-card__copy {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
}

/*
 * Card artwork: a still from the work behind each service (--svc-img, set
 * inline by the pattern), darkened toward the foot so the title stays
 * readable. Four rotating tints keep the row from looking uniform; cards
 * without a still fall back to the plain gradients.
 */
.svc-card__art {
  background-color: #141416;
  background-image:
    linear-gradient(180deg, rgba(10, 10, 10, 0.22) 0%, rgba(10, 10, 10, 0.1) 38%, rgba(10, 10, 10, 0.82) 74%, rgba(10, 10, 10, 0.95) 100%),
    var(--svc-img, linear-gradient(150deg, #232326, #0e0e10));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.85);
}

.svc-card a:hover .svc-card__art {
  filter: saturate(1);
}

/* 01, 05 — the orange lead card keeps its colour, blended into the still. */
.svc-card[data-variant="0"] .svc-card__art {
  background-image:
    linear-gradient(180deg, rgba(20, 8, 4, 0.05) 0%, rgba(20, 8, 4, 0.12) 40%, rgba(20, 8, 4, 0.72) 76%, rgba(20, 8, 4, 0.9) 100%),
    linear-gradient(160deg, rgba(255, 100, 51, 0.88), rgba(196, 68, 31, 0.92)),
    var(--svc-img, linear-gradient(160deg, var(--wdt-orange), #c4441f));
  background-blend-mode: normal, multiply, normal;
}

/* 02, 06 — warm glow low-left. */
.svc-card[data-variant="1"] .svc-card__art {
  background-image:
    radial-gradient(circle at 20% 84%, rgba(255, 100, 51, 0.32), transparent 52%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.12) 38%, rgba(10, 10, 10, 0.84) 74%, rgba(10, 10, 10, 0.96) 100%),
    var(--svc-img, linear-gradient(150deg, #232326, #0e0e10));
}

/* 03, 07 — diagonal orange streak. */
.svc-card[data-variant="2"] .svc-card__art {
  background-image:
    linear-gradient(122deg, transparent 40%, rgba(255, 100, 51, 0.26) 58%, transparent 76%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.12) 38%, rgba(10, 10, 10, 0.84) 74%, rgba(10, 10, 10, 0.96) 100%),
    var(--svc-img, linear-gradient(200deg, #1c1c1f, #0b0b0c));
}

/* 04, 08 — soft ember low-right. */
.svc-card[data-variant="3"] .svc-card__art {
  background-image:
    radial-gradient(circle at 78% 78%, rgba(255, 138, 99, 0.28), transparent 50%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.25) 0%, rgba(10, 10, 10, 0.12) 38%, rgba(10, 10, 10, 0.84) 74%, rgba(10, 10, 10, 0.96) 100%),
    var(--svc-img, linear-gradient(140deg, #1a1a1d, #101012));
}

@media (max-width: 900px) {
  .svc-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .svc-nav {
    justify-content: flex-start;
  }
}


.service-card {
  position: relative;
  display: flex;
  min-height: 25rem;
  padding: clamp(1.5rem, 2.3vw, 2.25rem);
  border: 1px solid rgba(10, 10, 10, 0.14);
  border-radius: var(--wdt-radius);
  flex-direction: column;
  overflow: hidden;
  transition: color 350ms var(--wdt-ease), background-color 350ms var(--wdt-ease), transform 350ms var(--wdt-ease);
}

.service-card::before {
  position: absolute;
  top: -3rem;
  right: -3rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.08;
}

.service-card:hover,
.service-card--featured {
  color: #fff;
  background: var(--wdt-navy);
  transform: translateY(-0.7rem);
}

.service-card--featured {
  background: linear-gradient(155deg, #292929, var(--wdt-navy));
}

.service-number {
  margin: 0 0 auto;
  color: var(--wdt-orange);
  font-weight: 700;
}

.service-card h3 {
  margin-bottom: 0.8rem;
}

.service-card p:not(.service-number, .card-arrow) {
  color: inherit;
  opacity: 0.72;
}

.card-arrow {
  margin: 2rem 0 0;
  font-size: 1.7rem;
}

.section-work {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  min-height: 100svh;
  padding-top: clamp(5.5rem, 9vh, 7rem);
  padding-bottom: clamp(1rem, 2vh, 2rem);
  /* Layers, top to bottom: fade over the dots, two hairline rings, dot grid, ink. */
  background:
    radial-gradient(70rem 40rem at 92% 0%, transparent, var(--wdt-ink) 72%),
    radial-gradient(circle at 96% -6rem, transparent 23rem, rgba(255, 100, 51, 0.22) 23rem, rgba(255, 100, 51, 0.22) calc(23rem + 1px), transparent calc(23rem + 2px)),
    radial-gradient(circle at 96% -6rem, transparent calc(23rem + 2px), rgba(255, 255, 255, 0.07) calc(23rem + 2px), rgba(255, 255, 255, 0.07) 30rem, transparent calc(30rem + 1px)),
    radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.5px) 0 0 / 1.6rem 1.6rem,
    var(--wdt-ink);
  position: relative;
  overflow: hidden;
}

.owner-section {
  color: var(--wdt-ink);
  background: var(--wdt-cloud);
}

.wp-block-columns.owner-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.owner-layout > .wp-block-column {
  flex-basis: auto;
}

.owner-profile {
  padding: 0;
  border: 0;
  background: none;
}

.owner-profile {
  position: sticky;
  top: 8rem;
}

.owner-portrait {
  margin: 0 0 1rem;
  border-radius: var(--wdt-radius);
  overflow: hidden;
}

.owner-portrait img {
  transition: transform 700ms var(--wdt-ease);
}

.owner-profile:hover .owner-portrait img {
  transform: scale(1.04);
}

/* Square keeps the portrait from towering over the story column. */
.owner-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.owner-profile h3 {
  margin: 0;
}

.owner-role {
  margin-top: 0.3rem;
  color: #6b6b6b;
  font-size: 0.95rem;
}

.owner-profile h3 + .owner-role {
  padding-bottom: 0.25rem;
}

.owner-story {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.owner-story > h2 {
  margin: 0 0 clamp(0.9rem, 1.6vw, 1.4rem);
}

.owner-story > .has-large-font-size {
  max-width: 34rem;
  margin: 0 0 clamp(1.25rem, 2.5vw, 2rem);
  color: #4a4a4a;
}

.achievement-list {
  margin-top: 0;
  border-top: 1px solid rgba(10, 10, 10, 0.14);
}

.achievement-row {
  transition: padding-left 0.4s var(--wdt-ease), background-color 0.3s ease;
}

.achievement-row {
  position: relative;
  cursor: default;
}

.achievement-row::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  content: "";
  background: var(--wdt-orange);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 400ms var(--wdt-ease);
}

.achievement-row::after {
  color: var(--wdt-orange);
  content: "\2197";
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-0.4rem);
  transition: opacity 300ms ease, transform 400ms var(--wdt-ease);
}

.achievement-row:hover::before {
  transform: scaleY(1);
}

.achievement-row:hover::after {
  opacity: 1;
  transform: none;
}

.achievement-row:hover {
  padding-left: 0.9rem;
  background: rgba(10, 10, 10, 0.03);
}

.achievement-row {
  grid-template-columns: minmax(6rem, 0.3fr) minmax(12rem, 1fr) auto !important;
  padding: clamp(0.95rem, 1.6vw, 1.2rem) 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.14);
  align-items: baseline;
}

.achievement-row > * {
  margin: 0;
}

.achievement-index {
  color: var(--wdt-orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.achievement-row h3 {
  max-width: 36rem;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* ---------------------------------------------------------------
   Selected work — directed films, played inline from Vimeo
   --------------------------------------------------------------- */

.work-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 4.5rem);
}

.work-title {
  margin: 0;
  font-family: var(--wdt-font-heading);
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.work-intro {
  margin: 0;
  color: #9d9d9d;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.5;
}

/* ---------------------------------------------------------------
   Film reel — sprocketed strip that runs as the page scrolls
   --------------------------------------------------------------- */

.reel {
  margin-top: clamp(0.75rem, 2vh, 1.75rem);
}

/* --- the frame at the head of the reel --- */

.reel-now {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: center;
  margin: 0 0 clamp(1rem, 2.5vh, 2rem);
}

.reel-now__btn {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.4rem;
  overflow: hidden;
  background: #0f0f10;
  cursor: pointer;
}

.reel-now__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 56svh;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 700ms var(--wdt-ease), opacity 300ms ease;
}

.reel-now__btn:hover .reel-now__img,
.reel-now__btn:focus-visible .reel-now__img {
  transform: scale(1.03);
  opacity: 0.8;
}

.reel-now__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(3.5rem, 6vw, 5rem);
  height: clamp(3.5rem, 6vw, 5rem);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(6px);
  transform: translate(-50%, -50%);
  transition: background-color 300ms ease, transform 450ms var(--wdt-ease);
}

.reel-now__play::after {
  width: 0;
  height: 0;
  margin-left: 0.25rem;
  border-top: 0.62rem solid transparent;
  border-bottom: 0.62rem solid transparent;
  border-left: 1.05rem solid #fff;
  content: "";
}

.reel-now__btn:hover .reel-now__play,
.reel-now__btn:focus-visible .reel-now__play {
  background: var(--wdt-orange);
  transform: translate(-50%, -50%) scale(1.08);
}

.reel-now__btn:hover .reel-now__play::after {
  border-left-color: var(--wdt-ink);
}

/* ---------------------------------------------------------------
   Viewfinder overlay — corner brackets, focus reticle, REC and
   timecode, drawn entirely in CSS so it scales with the frame.
   --------------------------------------------------------------- */

.vf {
  position: absolute;
  inset: 0;
  pointer-events: none;
  font-family: var(--wdt-font-heading);
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

/* four L-shaped brackets, each two borders of a transparent box */
.vf__corner {
  position: absolute;
  width: clamp(1.5rem, 3.4vw, 2.6rem);
  height: clamp(1.5rem, 3.4vw, 2.6rem);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.vf__corner--tl { top: 4%; left: 2.4%; border-right: 0; border-bottom: 0; }
.vf__corner--tr { top: 4%; right: 2.4%; border-left: 0; border-bottom: 0; }
.vf__corner--bl { bottom: 4%; left: 2.4%; border-right: 0; border-top: 0; }
.vf__corner--br { bottom: 4%; right: 2.4%; border-left: 0; border-top: 0; }

/* centre focus box with a crosshair inside */
.vf__reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(2.6rem, 5.5vw, 4.2rem);
  height: clamp(2.6rem, 5.5vw, 4.2rem);
  transform: translate(-50%, -50%);
  background:
    linear-gradient(rgba(255, 255, 255, 0.9) 0 0) 0 0 / 30% 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.9) 0 0) 100% 0 / 30% 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.9) 0 0) 0 100% / 30% 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.9) 0 0) 100% 100% / 30% 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.9) 0 0) 0 0 / 2px 30% no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.9) 0 0) 0 100% / 2px 30% no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.9) 0 0) 100% 0 / 2px 30% no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.9) 0 0) 100% 100% / 2px 30% no-repeat;
}

.vf__reticle::before,
.vf__reticle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(255, 255, 255, 0.9);
  content: "";
}

.vf__reticle::before { width: 0.85rem; height: 2px; transform: translate(-50%, -50%); }
.vf__reticle::after  { width: 2px; height: 0.85rem; transform: translate(-50%, -50%); }

/* REC indicator */
.vf__rec {
  position: absolute;
  bottom: 8%;
  left: 6%;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: clamp(0.62rem, 1vw, 0.8rem);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.vf__rec i {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: #ff2e2e;
  box-shadow: 0 0 0.5rem rgba(255, 46, 46, 0.8);
  animation: wdt-rec 1.6s steps(1, end) infinite;
}

@keyframes wdt-rec {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0.15; }
}

.vf__time {
  position: absolute;
  right: 6%;
  bottom: 8%;
  font-size: clamp(0.62rem, 1vw, 0.8rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

/* battery, top right */
.vf__batt {
  position: absolute;
  top: 7.5%;
  right: 6%;
  width: clamp(1.4rem, 2.4vw, 1.9rem);
  height: clamp(0.7rem, 1.2vw, 0.95rem);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 2px;
}

.vf__batt::before {
  position: absolute;
  inset: 2px;
  background: rgba(255, 255, 255, 0.9);
  content: "";
}

.vf__batt::after {
  position: absolute;
  top: 50%;
  right: -5px;
  width: 3px;
  height: 45%;
  border-radius: 0 2px 2px 0;
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%);
  content: "";
}

@media (prefers-reduced-motion: reduce) {
  .vf__rec i { animation: none; }
}

.reel-now__meta {
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 1.4vh, 1rem);
  padding: 0;
}

.reel-now__meta .work-title {
  margin: 0;
  font-family: var(--wdt-font-heading);
  font-size: clamp(1.9rem, 3.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.reel-now__meta .work-intro {
  margin: 0;
  color: #9d9d9d;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  line-height: 1.5;
}

/* the film currently at the head of the reel, set apart from the section copy */
.reel-now__nowplaying {
  display: block;
  margin-top: clamp(0.4rem, 1.2vh, 1rem);
  padding-top: clamp(0.75rem, 1.8vh, 1.25rem);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.reel-now__kind {
  display: block;
  color: var(--wdt-orange);
  font-family: var(--wdt-font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.reel-now__title {
  display: block;
  margin-top: 0.4rem;
  color: #fff;
  font-family: var(--wdt-font-heading);
  font-size: clamp(1.15rem, 1.9vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.reel-now__time {
  display: block;
  margin-top: 0.4rem;
  color: #8d8d8d;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

/* --- the strip --- */

/* Controls sit above the strip so browsing is discoverable. */
.reel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.reel-controls__label {
  margin: 0;
  color: #6f6f6f;
  font-family: var(--wdt-font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reel-nav {
  display: flex;
  gap: 0.6rem;
}

.reel-nav__btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  background: none;
  cursor: pointer;
  transition: color 250ms ease, background-color 250ms ease, border-color 250ms ease, opacity 250ms ease;
}

.reel-nav__btn:hover:not(:disabled) {
  color: var(--wdt-ink);
  background: #fff;
  border-color: #fff;
}

.reel-nav__btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/*
 * The strip is a genuine scroller — trackpad, touch, drag and the arrow
 * buttons all move it, so people can pick a film rather than being carried
 * along by the page.
 */
.reel-strip {
  position: relative;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: #08080a;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.reel-strip::-webkit-scrollbar {
  display: none;
}

.reel-strip:focus-visible {
  outline: 2px solid var(--wdt-orange);
  outline-offset: -2px;
}

.reel-strip.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

/*
 * Sprocket rails. Repeating bars read as perforations at this scale and cost
 * nothing — no image, no request.
 */
.reel-strip__rail {
  position: sticky;
  z-index: 2;
  left: 0;
  width: 100%;
  height: 0.85rem;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.82) 0 0.62rem,
    transparent 0.62rem 1.55rem
  );
  background-size: 1.55rem 0.42rem;
  background-position: center;
  background-repeat: repeat-x;
  pointer-events: none;
}

.reel-strip__rail--top { top: 0.22rem; margin-bottom: -0.85rem; }
.reel-strip__rail--bottom { bottom: 0.22rem; margin-top: -0.85rem; }

.reel-strip__track {
  display: flex;
  gap: 0.5rem;
  width: max-content;
  padding: 0;
}

/* --- individual frames --- */

.reel-cell {
  position: relative;
  flex: 0 0 auto;
  width: clamp(9rem, 15vw, 14rem);
  padding: 0;
  border: 0;
  border-radius: 0.2rem;
  overflow: hidden;
  background: #141416;
  cursor: pointer;
  scroll-snap-align: center;
  /* set from script as each frame nears the centre of the strip */
  opacity: 0.42;
  transform: scale(0.86);
  transition: opacity 260ms ease, transform 380ms var(--wdt-ease);
}

.reel-cell img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.reel-cell.is-current {
  opacity: 1;
  transform: scale(1);
  outline: 2px solid var(--wdt-orange);
  outline-offset: -2px;
}

.reel-cell:hover,
.reel-cell:focus-visible {
  opacity: 1;
}

.reel-cell__time {
  position: absolute;
  right: 0.3rem;
  bottom: 0.3rem;
  padding: 0.08rem 0.32rem;
  border-radius: 0.18rem;
  color: #fff;
  font-family: var(--wdt-font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: rgba(10, 10, 10, 0.74);
}

@media (max-width: 900px) {
  .reel-now {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reel-strip__track {
    overflow-x: auto;
  }

  .reel-cell {
    opacity: 1;
    transform: none;
  }
}

/* --- Lightbox --- */

.film-lightbox {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 6, 7, 0.92);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 280ms ease;
}

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

.film-lightbox.is-open {
  opacity: 1;
}

.film-lightbox__frame {
  width: min(100%, 1100px);
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #000;
}

.film-lightbox__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.film-lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vh, 2rem);
  right: clamp(1rem, 4vw, 3rem);
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: 2.3rem;
  line-height: 1;
  background: none;
  cursor: pointer;
  transition: color 250ms ease, transform 350ms var(--wdt-ease);
}

.film-lightbox__close:hover {
  color: var(--wdt-orange);
  transform: rotate(90deg);
}

.awards-section {
  position: relative;
  color: var(--wdt-ink);
  overflow: hidden;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(10, 10, 10, 0.035) 48% 48.2%, transparent 48.2% 100%),
    linear-gradient(25deg, transparent 0 62%, rgba(255, 100, 51, 0.06) 62% 62.25%, transparent 62.25% 100%),
    #f5f5f5;
  background-size: 11rem 11rem, 15rem 15rem, auto;
}

.awards-section::before {
  position: absolute;
  top: -16rem;
  right: -9rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(255, 100, 51, 0.26);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.awards-heading {
  position: relative;
  z-index: 2;
  display: grid;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  grid-template-columns: minmax(15rem, 0.9fr) minmax(18rem, 1fr);
  column-gap: clamp(3rem, 10vw, 10rem);
  align-items: end;
}

.awards-heading .eyebrow {
  grid-column: 1 / -1;
  color: #686868;
}

.awards-heading h2 {
  margin: 0;
}

.awards-heading h2 em {
  color: var(--wdt-orange);
  font-style: normal;
}

.awards-heading > p:last-child {
  max-width: 37rem;
  margin-bottom: 0.35rem;
  color: #555555;
  font-weight: 300;
  line-height: 1.45;
}

.awards-preview-grid,
.award-query .wp-block-post-template {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2.1vw, 2rem);
  align-items: start;
}

.award-frame,
.award-card {
  box-sizing: border-box;
  min-width: 0;
  padding: 0.75rem 0.75rem 1.5rem;
  border: 0.42rem solid var(--wdt-ink);
  color: var(--wdt-ink);
  background: #fff;
  box-shadow: 0.75rem 0.75rem 0 rgba(255, 100, 51, 0.24);
  transition: transform 350ms var(--wdt-ease), box-shadow 350ms var(--wdt-ease);
}

.award-frame:nth-child(2),
.award-frame:nth-child(4),
.award-card:nth-child(2),
.award-card:nth-child(5),
.award-query .wp-block-post-template > li:nth-child(2),
.award-query .wp-block-post-template > li:nth-child(4) {
  margin-top: clamp(3rem, 7vw, 7rem);
}

.award-frame:nth-child(3),
.award-card:nth-child(3),
.award-query .wp-block-post-template > li:nth-child(3) {
  margin-top: clamp(1rem, 3.5vw, 3.5rem);
}

.award-frame:hover,
.award-card:hover {
  z-index: 3;
  box-shadow: 1rem 1rem 0 var(--wdt-orange);
  transform: translateY(-0.65rem) rotate(-0.5deg);
}

.award-art,
.award-image {
  position: relative;
  display: grid;
  min-height: clamp(10rem, 17vw, 14rem);
  margin: 0 0 1.35rem;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 15%, rgba(255, 100, 51, 0.75), transparent 25%),
    #0a0a0a;
  place-items: center;
}

.award-art::before,
.award-art::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  content: "";
  transform: rotate(45deg);
}

.award-art::before {
  width: 8rem;
  height: 8rem;
}

.award-art::after {
  width: 5.5rem;
  height: 5.5rem;
  border-color: var(--wdt-orange);
}

.award-art span {
  position: absolute;
  z-index: 2;
  top: 0.8rem;
  left: 0.8rem;
  color: var(--wdt-orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.award-art b {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 300;
  line-height: 1;
}

.award-frame h3,
.award-card .wp-block-post-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.12;
  text-align: center;
}

.award-frame p,
.award-card .wp-block-post-excerpt {
  margin: 0.75rem 0 0;
  color: #777777;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
}

.award-image {
  min-height: auto;
}

.award-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.empty-awards {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px dashed rgba(10, 10, 10, 0.28);
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.journey-section {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 2% 78%, rgba(255, 100, 51, 0.19), transparent 28%),
    radial-gradient(circle at 95% 24%, rgba(255, 100, 51, 0.08), transparent 23%),
    #0a0a0a;
}

.journey-section::after {
  position: absolute;
  right: -12rem;
  bottom: -18rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(255, 100, 51, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.journey-heading {
  position: relative;
  z-index: 3;
}

.journey-heading .eyebrow {
  color: var(--wdt-muted);
}

.journey-heading h2 {
  max-width: 12ch;
  margin: 0;
}

.journey-heading em {
  color: var(--wdt-orange);
  font-style: normal;
}

.journey-canvas {
  position: relative;
  display: grid;
  min-height: clamp(33rem, 47vw, 41rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
}

/*
 * Growth artwork behind the three steps. Its low-left to high-right sweep
 * mirrors the cards' own rise. object-fit: contain preserves the source 2:1
 * ratio, and the PNG's alpha fade blends straight into the dark section.
 */
.journey-arrow {
  position: absolute;
  z-index: 0;
  right: -7%;
  bottom: -14%;
  width: 82%;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 1.5rem 3rem rgba(0, 0, 0, 0.55));
}

/* Dashed arcs linking one stage to the next. */
.journey-links {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.journey-links path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.38);
  stroke-width: 1.5;
  stroke-dasharray: 7 11;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.journey-step {
  position: relative;
  z-index: 2;
  max-width: 20rem;
  margin: 0;
  padding: 0;
}

.journey-step--insights {
  margin-top: 17rem;
  justify-self: start;
}

.journey-step--ideas {
  margin-top: 9rem;
  justify-self: center;
}

.journey-step--impact {
  margin-top: 1rem;
  justify-self: end;
}

.journey-step > * {
  margin-right: 0;
  margin-left: 0;
}

.journey-step h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.journey-step > p:last-child {
  margin-bottom: 0;
  color: #bdbdbd;
  line-height: 1.55;
}

.journey-kicker {
  margin-top: 0;
  margin-bottom: 0.1rem;
  color: #8a8a8a;
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-icon {
  position: relative;
  width: 7.5rem;
  height: 7.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.journey-icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 0.95rem;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.82);
  transform: rotate(calc(var(--dot) * 30deg)) translateY(-3.35rem);
  transform-origin: 50% 0;
}

.journey-icon i:nth-of-type(1) { --dot: 0; }
.journey-icon i:nth-of-type(2) { --dot: 1; }
.journey-icon i:nth-of-type(3) { --dot: 2; }
.journey-icon i:nth-of-type(4) { --dot: 3; }
.journey-icon i:nth-of-type(5) { --dot: 4; }
.journey-icon i:nth-of-type(6) { --dot: 5; }
.journey-icon i:nth-of-type(7) { --dot: 6; }
.journey-icon i:nth-of-type(8) { --dot: 7; }
.journey-icon i:nth-of-type(9) { --dot: 8; }
.journey-icon i:nth-of-type(10) { --dot: 9; }
.journey-icon i:nth-of-type(11) { --dot: 10; }
.journey-icon i:nth-of-type(12) { --dot: 11; }

.process-list {
  border-top: 1px solid rgba(10, 10, 10, 0.3);
}

.process-row {
  grid-template-columns: minmax(4rem, 0.5fr) minmax(12rem, 1fr) minmax(16rem, 1.5fr) !important;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.3);
  align-items: baseline;
  transition: padding 300ms var(--wdt-ease), background-color 300ms ease;
}

.process-row:hover {
  padding-right: 1.25rem;
  padding-left: 1.25rem;
  background: rgba(255, 255, 255, 0.16);
}

.process-row > * {
  margin: 0;
}

.process-index {
  font-size: 0.75rem;
  font-weight: 800;
}

.process-row > p:last-child {
  max-width: 38rem;
}

.section-testimonial {
  background: #111111;
}

.testimonial-heading {
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.testimonial-heading .eyebrow {
  margin-bottom: 1.5rem;
}

.testimonial-heading h2 {
  margin: 0;
}

.testimonial-count {
  color: var(--wdt-muted);
  text-align: right;
}

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

.testimonial-card {
  position: relative;
  display: flex;
  min-height: 25rem;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--wdt-radius);
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
}

.testimonial-card--featured {
  color: var(--wdt-ink);
  background: var(--wdt-orange);
}

.testimonial-quote-mark {
  margin: 0;
  color: var(--wdt-aqua);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.7;
}

.testimonial-card--featured .testimonial-quote-mark {
  color: var(--wdt-navy);
}

.testimonial-card blockquote,
.testimonial-card .wp-block-post-content {
  margin: auto 0 3rem;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.testimonial-card strong,
.testimonial-card small {
  display: block;
}

.testimonial-card small,
.testimonial-role {
  margin-top: 0.35rem;
  color: inherit;
  font-size: 0.82rem;
  opacity: 0.62;
}

.testimonial-card .wp-block-post-title {
  margin: 0;
}

.quote-card {
  position: relative;
  padding: clamp(2rem, 7vw, 7rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--wdt-radius) * 1.5);
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 100, 51, 0.25), transparent 30%),
    linear-gradient(145deg, #242424, #111111);
}

.quote-mark {
  position: absolute;
  top: 0;
  right: 5%;
  margin: 0;
  color: rgba(255, 255, 255, 0.07);
  font-family: Georgia, serif;
  font-size: clamp(12rem, 26vw, 28rem);
  line-height: 1;
}

.hero-quote {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0;
  border: 0;
}

.hero-quote p {
  font-size: clamp(2rem, 4.8vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.hero-quote cite {
  display: block;
  margin-top: 2rem;
  color: #c2c2c2;
  font-style: normal;
}

.quote-result {
  position: relative;
  z-index: 1;
  align-items: center;
  max-width: 31rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.quote-result h3,
.quote-result p {
  margin: 0;
}

.quote-result h3 {
  color: var(--wdt-aqua);
}

.cta-section {
  position: relative;
  color: var(--wdt-ink);
  overflow: hidden;
  background: var(--wdt-orange);
}

.cta-section::before {
  position: absolute;
  top: -28vw;
  right: -16vw;
  width: 58vw;
  height: 58vw;
  border: 1px solid rgba(10, 10, 10, 0.24);
  border-radius: 50%;
  content: "";
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-section .eyebrow {
  color: rgba(10, 10, 10, 0.65);
}

.cta-section em {
  color: var(--wdt-navy);
}

.cta-section h2 {
  margin: 0;
}

.cta-bottom {
  align-items: end;
  margin-top: clamp(3rem, 8vw, 7rem);
}

.cta-bottom > p {
  max-width: 28rem;
}

.cta-button .wp-block-button__link {
  color: #fff;
  background: var(--wdt-ink);
}

.cta-button .wp-block-button__link:hover {
  background: var(--wdt-navy);
}

/* ---------------------------------------------------------------
   Site footer
   --------------------------------------------------------------- */

.site-footer {
  position: relative;
  margin: 0;
  padding-top: clamp(4.5rem, 9vw, 8rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  padding-left: clamp(1.25rem, 4vw, 4.5rem);
  padding-right: clamp(1.25rem, 4vw, 4.5rem);
  color: #fff;
  background: var(--wdt-ink);
  border-top: 1px solid var(--wdt-line);
  overflow: hidden;
}

.site-footer::before {
  position: absolute;
  top: -18rem;
  left: 50%;
  width: min(70rem, 120vw);
  height: 34rem;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 100, 51, 0.16), transparent 68%);
  pointer-events: none;
  content: "";
}

.footer-contact-panel,
.footer-contact-inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

/* --- Let's talk ------------------------------------------------ */

.footer-talk-row {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: nowrap;
}

.footer-talk-row h2 {
  margin: 0;
  font-family: var(--wdt-font-heading);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.footer-talk-arrow {
  margin: 0;
  flex: 0 0 auto;
}

.footer-talk-arrow a {
  display: grid;
  place-items: center;
  width: clamp(3.75rem, 7vw, 6rem);
  height: clamp(3.75rem, 7vw, 6rem);
  border: 1px solid var(--wdt-orange);
  border-radius: 50%;
  color: var(--wdt-orange);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1;
  text-decoration: none;
  transition: transform 0.45s var(--wdt-ease), background-color 0.35s ease, color 0.35s ease;
}

.footer-talk-arrow a:hover,
.footer-talk-arrow a:focus-visible {
  color: var(--wdt-ink);
  background: var(--wdt-orange);
  transform: translateX(0.35rem) rotate(-45deg);
}

/* --- Social row ------------------------------------------------ */

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-socials p {
  margin: 0;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--wdt-line);
  border-radius: 50%;
  color: #fff;
  font-family: var(--wdt-font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: lowercase;
  transition: transform 0.4s var(--wdt-ease), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.footer-socials a svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  transition: transform 0.4s var(--wdt-ease);
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: var(--wdt-ink);
  background: var(--wdt-orange);
  border-color: var(--wdt-orange);
  transform: translateY(-0.25rem);
}

.footer-socials a:hover svg {
  transform: scale(1.1);
}

/* --- Contact + location grids ---------------------------------- */

.site-footer .wp-block-columns.footer-contact-grid,
.site-footer .wp-block-columns.footer-location-grid {
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 3rem);
  margin: 0;
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--wdt-line);
}

.site-footer .wp-block-columns.footer-contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer .wp-block-columns.footer-location-grid {
  grid-template-columns: minmax(0, 1fr);
}

.site-footer .wp-block-column {
  flex-basis: auto;
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  color: #808080;
  font-family: var(--wdt-font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-contact-item p {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.footer-contact-item a {
  color: #fff;
  text-decoration: none;
  background-image: linear-gradient(var(--wdt-orange), var(--wdt-orange));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.45s var(--wdt-ease), color 0.3s ease;
}

.footer-contact-item a:hover,
.footer-contact-item a:focus-visible {
  color: var(--wdt-orange);
  background-size: 100% 1px;
}

.footer-location h3 {
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
}

.footer-location h3 a {
  color: inherit;
  text-decoration: none;
}

.footer-location h3 span {
  display: inline-block;
  margin-left: 0.35rem;
  color: var(--wdt-orange);
  transition: transform 0.4s var(--wdt-ease);
}

.footer-location:hover h3 span {
  transform: translateX(0.35rem);
}

.footer-location p {
  max-width: 26rem;
  margin: 0;
  color: var(--wdt-muted);
  font-size: 0.975rem;
  line-height: 1.65;
}

.footer-location__map {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--wdt-orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 100, 51, 0.4);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.footer-location__map:hover,
.footer-location__map:focus-visible {
  color: #fff;
  border-color: #fff;
}

/* --- Legal row -------------------------------------------------- */

/* Footer navigation — the same routes as the fullscreen menu. */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--wdt-line);
}

.footer-nav__col h3 {
  margin: 0 0 1rem;
  color: #808080;
  font-family: var(--wdt-font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

.footer-nav__col li + li {
  margin-top: 0.6rem;
}

.footer-nav__col a {
  color: #cfcfcf;
  font-size: 0.95rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 250ms ease, padding-left 350ms var(--wdt-ease);
}

.footer-nav__col a:hover,
.footer-nav__col a:focus-visible {
  color: var(--wdt-orange);
  padding-left: 0.3rem;
}

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

@media (max-width: 520px) {
  .footer-nav {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--wdt-line);
  color: #777;
  font-size: 0.85rem;
}

.footer-legal p {
  margin: 0;
}

.footer-legal a {
  color: #777;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--wdt-orange);
}

/* --- "The WiDigiTale world" panel ------------------------------ */

@media (max-width: 900px) {
  .site-footer .wp-block-columns.footer-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  }

@media (max-width: 680px) {
  .footer-talk-row {
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }

  .site-footer .wp-block-columns.footer-contact-grid,
  .site-footer .wp-block-columns.footer-location-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-legal {
    gap: 0.5rem 1.25rem;
  }

  }

.archive-shell,
.entry-shell,
.error-shell {
  min-height: 70vh;
  padding-top: clamp(10rem, 17vw, 14rem);
  padding-bottom: 7rem;
}

.entry-card {
  padding: 1rem;
  border: 1px solid var(--wdt-line);
  border-radius: var(--wdt-radius);
  background: var(--wdt-ink-soft);
}

.entry-card .wp-block-post-featured-image {
  border-radius: calc(var(--wdt-radius) * 0.7);
  overflow: hidden;
}

.error-shell h1 {
  max-width: 9ch;
}

/* Sections fade up as they enter the viewport. Only when JS is running (the
   html.js class is set inline in <head>), so crawlers and no-JS visitors
   always get fully visible content. */
.js .wdt-reveal {
  opacity: 0;
  transform: translateY(2.2rem);
  transition: opacity 900ms var(--wdt-ease), transform 900ms var(--wdt-ease);
}

.js .wdt-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Light sections keep their background from the first paint and reveal only
   their content; fading the whole section let the dark body show through as a
   black band until the section scrolled into view. */
.js .hf-section.wdt-reveal,
.js .ppc-hl.wdt-reveal,
.js .clients-section.wdt-reveal,
.js .awards-section.wdt-reveal,
.js .bts-section.wdt-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.js .hf-section.wdt-reveal > *,
.js .ppc-hl.wdt-reveal > *,
.js .clients-section.wdt-reveal > *,
.js .awards-section.wdt-reveal > *,
.js .bts-section.wdt-reveal > * {
  opacity: 0;
  transform: translateY(2.2rem);
  transition: opacity 900ms var(--wdt-ease), transform 900ms var(--wdt-ease);
}

.js .hf-section.wdt-reveal.is-visible > *,
.js .ppc-hl.wdt-reveal.is-visible > *,
.js .clients-section.wdt-reveal.is-visible > *,
.js .awards-section.wdt-reveal.is-visible > *,
.js .bts-section.wdt-reveal.is-visible > * {
  opacity: 1;
  transform: none;
}

@media (max-width: 960px) {
  .header-cta {
    display: none;
  }

  .site-header {
    display: flex;
    justify-content: center;
    min-height: 4.8rem;
  }

  /* The reel no longer claims a full viewport on phones. */
  .section-work {
    min-height: 0;
    padding-top: clamp(3rem, 8vw, 4.5rem);
    padding-bottom: clamp(2rem, 6vw, 3rem);
  }

  .hero-section {
    min-height: auto;
  }

  .hero-orb--one {
    top: 31%;
    right: -9rem;
    opacity: 0.65;
  }

  .client-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .service-card {
    min-height: 20rem;
  }

  .process-row {
    grid-template-columns: 3rem 0.8fr 1.5fr !important;
  }

  .awards-preview-grid,
  .award-query .wp-block-post-template {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .award-frame:nth-child(n),
  .award-card:nth-child(n),
  .award-query .wp-block-post-template > li:nth-child(n) {
    margin-top: 0;
  }

  .award-frame:nth-child(2),
  .award-frame:nth-child(5),
  .award-card:nth-child(2),
  .award-card:nth-child(5),
  .award-query .wp-block-post-template > li:nth-child(2),
  .award-query .wp-block-post-template > li:nth-child(5) {
    margin-top: 3rem;
  }

  .journey-canvas {
    min-height: 44rem;
    gap: 1rem;
  }

  .journey-links {
    display: none;
  }

  .journey-step--insights {
    margin-top: 23rem;
  }

  .journey-step--ideas {
    margin-top: 13rem;
  }
}

@media (max-width: 680px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .nav-pill__brand img {
    width: 6.5rem;
  }

  .preview-primary-navigation {
    display: none;
  }

  .wp-block-navigation__responsive-container.is-menu-open {
    padding: 6rem 1.5rem 2rem;
    background: var(--wdt-ink);
  }

  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    align-items: flex-start;
    font-size: 2rem;
    gap: 1.2rem;
  }

  .hero-section {
    padding-top: 8rem;
  }

  .hero-bottom {
    gap: 2rem;
  }

  .hero-bottom .wp-block-buttons,
  .hero-bottom .wp-block-button,
  .hero-bottom .wp-block-button__link {
    width: 100%;
  }

  /* Breathing room between the buttons and the scrolling strip. */
  .hero-bottom {
    margin-bottom: 2.75rem;
  }

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

  .project-browser-frame {
    width: 82%;
  }

  .client-logo-grid > * {
    min-height: 6rem;
  }

  .owner-layout {
    display: block;
  }

  .owner-story {
    margin-top: 3rem;
  }

  .achievement-row {
    display: block !important;
  }

  .achievement-row h3 {
    margin-top: 0.75rem;
  }

  .awards-heading {
    display: block;
    margin-bottom: 3rem;
  }

  .awards-heading > p:last-child {
    margin-top: 1.5rem;
  }

  .awards-preview-grid,
  .award-query .wp-block-post-template {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .award-frame:nth-child(n),
  .award-card:nth-child(n),
  .award-query .wp-block-post-template > li:nth-child(n) {
    margin-top: 0;
  }

  .award-frame,
  .award-card {
    max-width: 21rem;
    padding: 0.65rem 0.65rem 1.35rem;
  }

  .award-frame:nth-child(even),
  .award-card:nth-child(even) {
    margin-left: auto;
  }

  .award-art {
    min-height: 17rem;
  }

  .testimonial-heading {
    display: block;
  }

  .testimonial-count {
    margin-top: 1.5rem;
    text-align: left;
  }

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

  .testimonial-card,
  .testimonial-card--featured {
    grid-column: span 1;
    min-height: 22rem;
  }

  .service-card,
  .service-card--featured {
    min-height: 18rem;
    transform: none;
  }

  .process-row {
    display: grid !important;
    grid-template-columns: 2.5rem 1fr !important;
  }

  .process-row > p:last-child {
    grid-column: 2;
  }

  .journey-canvas {
    display: block;
    min-height: auto;
    margin-top: 3rem;
    padding-left: 2.3rem;
  }

  .journey-canvas::before {
    position: absolute;
    top: 2.7rem;
    bottom: 2.7rem;
    left: 0.7rem;
    width: 0.34rem;
    border-radius: 99px;
    content: "";
    background: linear-gradient(to top, #b6381d, var(--wdt-orange));
  }

  .journey-arrow {
    display: none;
  }

  .journey-step,
  .journey-step--insights,
  .journey-step--ideas,
  .journey-step--impact {
    max-width: none;
    margin-top: 0;
    margin-bottom: 1.25rem;
    justify-self: auto;
  }

  .journey-step::before {
    position: absolute;
    top: 2.55rem;
    left: -2.15rem;
    width: 0.85rem;
    height: 0.85rem;
    border: 0.2rem solid var(--wdt-ink);
    border-radius: 50%;
    content: "";
    background: var(--wdt-orange);
  }

  .journey-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.75rem;
  }

  .journey-icon i {
    transform: rotate(calc(var(--dot) * 30deg)) translateY(-1.3rem);
  }

  .journey-canvas {
    margin-top: 1.5rem;
  }

  .journey-canvas::before {
    top: 1.6rem;
    bottom: 1.6rem;
  }

  .journey-step,
  .journey-step--insights,
  .journey-step--ideas,
  .journey-step--impact {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .journey-step::before {
    top: 1.1rem;
  }

  .journey-step .journey-kicker {
    margin: 0;
    font-size: 0.8rem;
  }

  .journey-step h3 {
    margin: 0 0 0.35rem;
    font-size: 1.6rem !important;
  }

  .journey-step p:not(.journey-kicker) {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .wdt-reveal {
    opacity: 1;
    transform: none;
  }

  .hero-video {
    display: none;
  }

  .js .hf-section.wdt-reveal > *,
  .js .ppc-hl.wdt-reveal > *,
  .js .clients-section.wdt-reveal > *,
  .js .awards-section.wdt-reveal > *,
  .js .bts-section.wdt-reveal > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------------
   "Everything brands love" — audience switcher + hover-linked
   capability lists beside a sticky visual panel.
   --------------------------------------------------------------- */

.hf-section {
  box-sizing: border-box;
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  color: var(--wdt-ink);
  background: #fff;
}

/* Beats the .alignwide 1240px cap, which combined with this element's own
   padding pushed the content 172px in from each edge. */
.hf-section .hf-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  padding-right: clamp(1.25rem, 4vw, 4.5rem);
  padding-left: clamp(1.25rem, 4vw, 4.5rem);
}

.hf-title {
  max-width: 18ch;
  margin: 0 0 clamp(2rem, 3.5vw, 3.25rem);
  font-family: var(--wdt-font-heading);
  font-size: clamp(2.65rem, 5.25vw, 5.15rem);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

/* --- Audience switcher --- */

.hf-switch {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}

.hf-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.04em 0.18em 0.08em;
  border: 1px solid rgba(10, 10, 10, 0.28);
  border-radius: 0.2rem;
  color: inherit;
  font: inherit;
  background: none;
  cursor: pointer;
  transition: border-color 250ms ease, background-color 250ms ease;
}

.hf-switch__btn:hover,
.hf-switch__btn[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.05);
}

.hf-switch__chev {
  width: 0.5em;
  height: 0.5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.16em) rotate(45deg);
  transition: transform 300ms var(--wdt-ease);
}

.hf-switch__btn[aria-expanded="true"] .hf-switch__chev {
  transform: translateY(0.06em) rotate(-135deg);
}

.hf-switch__menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 100%;
  margin: 0;
  padding: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.35rem;
  list-style: none;
  background: #171717;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.44);
}

.hf-switch__menu[hidden] {
  display: none;
}

.hf-switch__menu button {
  display: block;
  width: 100%;
  padding: 0.5rem 0.9rem;
  border: 0;
  border-radius: 0.2rem;
  color: #d7d7d7;
  font-family: var(--wdt-font-body);
  font-size: 1rem;
  text-align: left;
  white-space: nowrap;
  background: none;
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease;
}

.hf-switch__menu button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* --- One scrolling content column + one shared sticky visual --- */

.hf-stage {
  display: grid;
  grid-template-columns: minmax(22rem, 1fr) minmax(28rem, 1.28fr);
  column-gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}

.hf-content {
  min-width: 0;
}

.hf-group {
  display: grid;
  grid-template-columns: minmax(max-content, 0.8fr) minmax(18rem, 2fr);
  column-gap: clamp(2rem, 4vw, 4.5rem);
  align-content: start;
  align-items: start;
}

.hf-group + .hf-group {
  margin-top: clamp(3rem, 6vw, 5.5rem);
}

.hf-eyebrow {
  margin: 0;
  padding-top: 0.15rem;
  color: #6b6b6b;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.45;
}

.hf-intro {
  margin: 0 0 clamp(1.5rem, 2.5vw, 2.25rem);
  color: var(--wdt-ink);
  font-size: clamp(1.25rem, 1.65vw, 1.6rem);
  line-height: 1.35;
}

.hf-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hf-item {
  border-bottom: 1px solid rgba(10, 10, 10, 0.14);
}

.hf-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1rem, 1.7vw, 1.35rem) 0;
  color: #4a4a4a;
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.4;
  text-decoration: none;
  transition: color 250ms ease;
}

.hf-item i {
  flex: 0 0 auto;
  font-style: normal;
  transition: transform 400ms var(--wdt-ease);
}

.hf-item a:hover {
  color: var(--wdt-orange);
}

.hf-item.is-active {
  border-bottom-color: var(--wdt-orange);
}

.hf-item.is-active a {
  color: var(--wdt-orange);
}

.hf-item.is-active i,
.hf-item a:hover i {
  transform: translateX(0.4rem);
}

/* --- Sticky visual --- */

.hf-media {
  position: sticky;
  top: clamp(6rem, 11vh, 8rem);
  display: grid;
  /* Matches the source photography (3:2) so object-fit never crops it. */
  aspect-ratio: 3 / 2;
  margin: 0;
  border-radius: 0.45rem;
  overflow: hidden;
  background: #101012;
}

.hf-panel {
  grid-area: 1 / 1;
  min-width: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 420ms ease, transform 700ms var(--wdt-ease);
  pointer-events: none;
}

.hf-panel.is-active {
  opacity: 1;
  transform: none;
}

.hf-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--wdt-ease), filter 450ms ease;
}

.hf-panel.is-active img {
  transform: scale(1.025);
  filter: brightness(1.06);
}

@media (max-width: 900px) {
  .hf-section {
    padding-top: 6rem;
  }

  .hf-title {
    margin-bottom: 4rem;
  }

  .hf-stage {
    grid-template-columns: 1fr;
  }

  .hf-group {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.25fr);
    column-gap: 1.5rem;
    row-gap: 2rem;
    min-height: 0;
  }

  .hf-group + .hf-group {
    margin-top: 7rem;
  }

  .hf-media {
    position: static;
    grid-column: 1 / -1;
    order: -1;
    margin-bottom: 4rem;
  }

  .hf-intro {
    margin-bottom: 2rem;
  }
}

@media (max-width: 620px) {
  .hf-inner {
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }

  .hf-title {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
    line-height: 1.02;
  }

  .hf-switch {
    margin-top: 0.08em;
  }

  .hf-group {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
    min-height: 0;
  }

  .hf-group + .hf-group {
    margin-top: 6rem;
  }

  .hf-eyebrow {
    color: var(--wdt-orange);
  }

  .hf-media {
    margin-bottom: 0.65rem;
  }

  .hf-intro {
    font-size: 1.2rem;
  }
}

/* =====================================================================
   WordPress constrained-layout overrides.
   Groups declared layout:constrained get an injected rule on every direct
   child: max-width = contentSize (760px) and margin-left/right auto
   !important. These beat that rule where the design needs full width or
   left alignment. preview.php does not emulate the injected rule, so
   always confirm layout changes in a real WordPress install.
   ===================================================================== */

.hero-section > .hero-reel,
.hero-section > .hero-video,
.hero-section > .hero-video-overlay,
.hero-section > .hero-grid {
  max-width: none;
}

.hero-inner > .hero-ticker {
  max-width: none;
  margin-left: calc(50% - 50vw) !important;
  margin-right: 0 !important;
}

.journey-step > .journey-icon {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.awards-heading > h2,
.awards-heading > p {
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.footer-contact-panel > .footer-contact-inner {
  max-width: none;
}

.wp-block-buttons {
  gap: 0.75rem;
}

/* Root-level block gap otherwise shows a strip above the hero and footer. */
body .wp-site-blocks > * + * {
  margin-block-start: 0;
}

html {
  background: #0a0a0a;
}

/* Nav pill controls are buttons, not copy: never show a text selection. */
.nav-pill__link,
.nav-pill__toggle {
  -webkit-user-select: none;
  user-select: none;
}

/* Growth arrow: if the host's image optimiser flattens the PNG's alpha to
   black, screen blending drops that black back into the dark section. */
.journey-arrow {
  mix-blend-mode: screen;
}

/* Display sizes: identical to the local preview's helper rules. */
.has-display-font-size,
.has-x-large-font-size {
  line-height: 0.98;
  letter-spacing: -0.02em;
}

/* Guards against styles injected outside the theme (plugins, cached CSS
   from a previous theme). Harmless when nothing is injected. */
body {
  background: var(--wdt-ink) !important;
}

.site-header .nav-pill__toggle,
.site-header .nav-pill__toggle:hover,
.site-header .nav-pill__toggle:focus {
  background: transparent !important;
  box-shadow: none !important;
}

.wp-site-blocks > header.wp-block-template-part {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  backdrop-filter: none !important;
}

/* Every <button> in the theme, restated with priority. Something on the
   staging server paints bare <button> elements orange; these win over it. */
.svc-nav__btn,
.reel-nav__btn,
.mega-menu__close,
.film-lightbox__close,
.mega-menu__primary button {
  background: none !important;
}

.svc-nav__btn,
.reel-nav__btn {
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
}

.svc-nav__btn:hover:not(:disabled),
.reel-nav__btn:hover:not(:disabled) {
  color: var(--wdt-ink) !important;
  background: #fff !important;
  border-color: #fff !important;
}

.reel-now__btn {
  background: #0f0f10 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.reel-cell {
  background: #141416 !important;
  border: 0 !important;
}

.mega-menu__close,
.film-lightbox__close {
  border: 0 !important;
  color: #fff !important;
}

.mega-menu__primary button {
  border: 0 !important;
}

/* Buttons exactly as the local preview renders them: square, body font. */
.wp-block-button__link {
  border-radius: 0;
  font-family: var(--wdt-font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: normal;
}

/* Type scale pinned to the values the local preview renders. Written with
   priority so no server-side stylesheet can resize the copy. */
html {
  font-size: 100% !important;
}

body {
  font-size: 1rem !important;
  line-height: normal !important;
}

body .has-small-font-size   { font-size: 0.875rem !important; }
body .has-medium-font-size  { font-size: 1rem !important; }
body .has-large-font-size   { font-size: clamp(1.25rem, 1.6vw, 1.6rem) !important; }
body .has-x-large-font-size { font-size: clamp(1.75rem, 4.5vw, 4rem) !important; }
body .has-display-font-size { font-size: clamp(2.6rem, 9vw, 8.4rem) !important; }

body .has-x-large-font-size,
body .has-display-font-size {
  line-height: 0.98 !important;
  letter-spacing: -0.02em !important;
}

.hero-section .hero-copy {
  line-height: normal !important;
}

.site-footer .footer-contact-panel > .footer-contact-inner {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ==========================================================================
   Results: zero-to-hero client case study
   ========================================================================== */

.results-section {
  position: relative;
  color: #fff;
  background:
    radial-gradient(60rem 30rem at 85% 0%, rgba(255, 100, 51, 0.16), transparent 60%),
    linear-gradient(180deg, #0d0d0d 0%, var(--wdt-ink) 100%);
  overflow: hidden;
}

.results-section::before {
  position: absolute;
  inset: auto auto -22rem -14rem;
  width: 44rem;
  height: 44rem;
  border: 1px solid rgba(255, 100, 51, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.results-heading {
  position: relative;
  z-index: 2;
  display: grid;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  grid-template-columns: minmax(15rem, 0.9fr) minmax(18rem, 1fr);
  column-gap: clamp(3rem, 10vw, 10rem);
  align-items: end;
}

.results-heading .eyebrow {
  grid-column: 1 / -1;
}

.results-heading h2 {
  margin: 0;
}

.results-heading h2 em {
  color: var(--wdt-orange);
  font-style: normal;
}

.results-heading > p:last-child {
  max-width: 34rem;
  margin-bottom: 0.35rem;
  color: var(--wdt-muted);
  font-weight: 300;
  line-height: 1.45;
}

.results-case {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* --- Story column --- */

.results-client {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.results-client strong {
  display: block;
  font-family: var(--wdt-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.results-client small {
  display: block;
  color: var(--wdt-muted);
  font-size: 0.85rem;
}

.results-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  place-items: center;
  color: var(--wdt-ink);
  background: linear-gradient(135deg, #ffb59a, var(--wdt-orange));
  font-family: var(--wdt-font-heading);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.results-story .results-lead {
  max-width: 16ch;
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 3.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.results-lead .results-count {
  color: var(--wdt-orange);
}

.results-copy {
  max-width: 34rem;
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  color: #cfcfcf;
  font-weight: 300;
  line-height: 1.55;
}

.results-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--wdt-line);
  border-radius: var(--wdt-radius);
  background: var(--wdt-line);
  overflow: hidden;
}

.results-stats > div {
  padding: 1.1rem 1.25rem;
  background: #111111;
}

.results-stats dt {
  margin: 0 0 0.35rem;
  color: var(--wdt-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.results-stats dd {
  margin: 0;
  font-family: var(--wdt-font-heading);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.results-path {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0.9rem;
  list-style: none;
  counter-reset: none;
}

.results-path li {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding-left: 1rem;
  border-left: 2px solid rgba(255, 100, 51, 0.5);
}

.results-path b {
  font-family: var(--wdt-font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
}

.results-path span {
  color: #cfcfcf;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.45;
}

/* --- Proof column: insight cards --- */

.results-proof {
  display: grid;
  gap: 1.25rem;
}

.insight-card {
  margin: 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--wdt-radius);
  background: rgba(20, 20, 22, 0.78);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.insight-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
}

.insight-tabs {
  display: inline-flex;
  gap: 0.35rem;
}

.insight-tabs b,
.insight-tabs i {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-style: normal;
  font-weight: 700;
}

.insight-tabs b {
  color: #fff;
  background: rgba(255, 100, 51, 0.22);
}

.insight-tabs i {
  color: var(--wdt-muted);
  font-weight: 400;
}

.insight-range {
  color: var(--wdt-muted);
  white-space: nowrap;
}

.insight-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.insight-metrics small {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--wdt-muted);
  font-size: 0.76rem;
}

.insight-metrics strong {
  font-family: var(--wdt-font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.insight-chart {
  position: relative;
  padding: 0 0 1.4rem 2.2rem;
}

.insight-chart svg {
  display: block;
  width: 100%;
  height: clamp(9rem, 16vw, 12.5rem);
}

.insight-grid line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.insight-fill {
  fill: rgba(255, 100, 51, 0.12);
  opacity: 0;
  transition: opacity 600ms ease 900ms;
}

.insight-line,
.insight-typical {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1800ms var(--wdt-ease) 300ms;
}

.insight-line {
  stroke: var(--wdt-orange);
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}

.insight-typical {
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.results-section.is-visible .insight-line,
.results-section.is-visible .insight-typical {
  stroke-dashoffset: 0;
}

.results-section.is-visible .insight-fill {
  opacity: 1;
}

.insight-axis {
  position: absolute;
  display: flex;
  color: var(--wdt-muted);
  font-size: 0.7rem;
}

.insight-axis i {
  font-style: normal;
}

.insight-axis--y {
  top: 0;
  bottom: 1.4rem;
  left: 0;
  flex-direction: column;
  justify-content: space-between;
}

.insight-axis--x {
  right: 0;
  bottom: 0;
  left: 2.2rem;
  justify-content: space-between;
}

.insight-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0.5rem 0 0;
  color: var(--wdt-muted);
  font-size: 0.78rem;
}

.insight-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.insight-legend i {
  width: 1.1rem;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
}

.insight-legend i.is-post {
  background: var(--wdt-orange);
}

.insight-card--reel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: center;
}

.insight-reel strong {
  display: block;
  font-family: var(--wdt-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.insight-reel small {
  color: var(--wdt-muted);
  font-size: 0.8rem;
}

.insight-reel__badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  color: var(--wdt-orange);
  background: rgba(255, 100, 51, 0.14);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insight-reel__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}

.insight-reel__stats strong {
  display: block;
  font-family: var(--wdt-font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.insight-reel__stats small {
  color: var(--wdt-muted);
  font-size: 0.72rem;
}

.insight-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #cfcfcf;
  font-size: 0.85rem;
}

.insight-note b {
  margin-right: 0.35rem;
  color: #3ddc84;
}

.results-source {
  position: relative;
  z-index: 2;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  color: #6f6f6f;
  font-size: 0.8rem;
}

@media (max-width: 960px) {
  .results-heading,
  .results-case {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-heading {
    row-gap: 1.25rem;
  }

  .results-story .results-lead {
    max-width: 20ch;
  }

  .insight-card--reel {
    grid-template-columns: minmax(0, 1fr);
  }

  .insight-reel__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }
}

@media (max-width: 600px) {
  .results-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-path li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }

  .insight-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }
}

/* ==========================================================================
   Results teaser on the homepage: from 0 to 5.6M views
   ========================================================================== */

.results-gist {
  position: relative;
  padding-top: clamp(3.5rem, 6vw, 6rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
  color: #fff;
  background:
    radial-gradient(60rem 26rem at 88% 8%, rgba(255, 255, 255, 0.06), transparent 60%),
    var(--wdt-ink);
  overflow: hidden;
}

/* Fine dot grid, strongest at the top-right and fading toward the copy. */
.results-gist::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.5px);
  background-size: 1.6rem 1.6rem;
  -webkit-mask-image: radial-gradient(70rem 40rem at 90% 0%, #000, transparent 70%);
  mask-image: radial-gradient(70rem 40rem at 90% 0%, #000, transparent 70%);
  content: "";
  pointer-events: none;
}

/* Two faint rings, the same motif the other sections use. */
.results-gist::after {
  position: absolute;
  top: -18rem;
  right: -12rem;
  width: 46rem;
  height: 46rem;
  border: 1px solid rgba(255, 100, 51, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 7rem transparent, 0 0 0 7.06rem rgba(255, 255, 255, 0.07);
  content: "";
  pointer-events: none;
}

.results-gist__inner {
  position: relative;
  z-index: 1;
}

.results-gist__headline {
  max-width: 14ch;
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.results-gist__zero {
  color: #4a4a4a;
}

.results-gist__big {
  white-space: nowrap;
}

.results-gist__big .results-count {
  color: var(--wdt-orange);
}

/* Thin timeline: fills from Day 0 to Day 30 once the section is in view. */

.results-gist__bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  height: 3px;
  margin: 0 0 clamp(2.75rem, 4vw, 3.5rem);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.results-gist__bar i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #4a4a4a, var(--wdt-orange));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1800ms var(--wdt-ease) 300ms;
}

.results-gist.is-visible .results-gist__bar i {
  transform: scaleX(1);
}

.results-gist__bar span {
  position: relative;
  padding-top: 0.85rem;
  color: var(--wdt-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.results-gist__bar span:last-child {
  color: var(--wdt-orange);
}

/* Bottom row: copy, numbers, button */

.results-gist__row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.results-gist__copy {
  max-width: 30rem;
  margin: 0;
  color: #cfcfcf;
  font-weight: 300;
  line-height: 1.5;
}

.results-gist__chips {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.results-gist__chips li {
  color: var(--wdt-muted);
  font-size: 0.92rem;
}

.results-gist__chips b {
  display: inline-block;
  min-width: 3.6em;
  color: #fff;
  font-family: var(--wdt-font-heading);
  font-weight: 800;
}

.results-gist__cta {
  margin: 0;
}

.results-gist__cta-label {
  cursor: default;
}

@media (max-width: 960px) {
  /* Copy on its own line; the numbers and the button share the next one. */
  .results-gist__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
  }

  .results-gist__copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  /* Numbers on the left, a compact one-line button on the right. */
  .results-gist__row {
    gap: 0.75rem;
  }

  .results-gist__chips {
    gap: 0.35rem;
  }

  .results-gist__chips li {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .results-gist__chips b {
    min-width: 2.9em;
  }

  .results-gist__cta .wp-block-button__link {
    padding: 0.75rem 0.8rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

/* ==========================================================================
   Inner page hero (Our Work)
   ========================================================================== */

.page-hero {
  position: relative;
  color: #fff;
  padding-top: clamp(10rem, 17vw, 14rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(50rem 26rem at 80% 10%, rgba(255, 100, 51, 0.16), transparent 60%),
    var(--wdt-ink);
}

.page-hero__title {
  max-width: 12ch;
  margin: 0 0 1.25rem;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.page-hero__title em {
  color: var(--wdt-orange);
  font-style: normal;
}

.page-hero__copy {
  max-width: 36rem;
  margin: 0;
  color: var(--wdt-muted);
  font-weight: 300;
  line-height: 1.45;
}

/* Real screenshot frames inside the case study */

.insight-shot {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--wdt-radius);
  background: #141416;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.insight-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.insight-shot figcaption {
  padding: 0.75rem 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--wdt-muted);
  font-size: 0.78rem;
}

@media (max-width: 960px) {
  .results-gist__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   PPC and paid ads: built on the capabilities (hf) hover-panel layout
   ========================================================================== */

/* Dot grid and a faint ring fill the empty right side of the heading row.
   overflow: clip (not hidden) keeps the sticky panel inside working. */
.ppc-section {
  position: relative;
  overflow: clip;
}

.ppc-section::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(10, 10, 10, 0.2) 1px, transparent 1.5px);
  background-size: 1.5rem 1.5rem;
  -webkit-mask-image: radial-gradient(70rem 36rem at 92% 0%, #000, transparent 68%);
  mask-image: radial-gradient(70rem 36rem at 92% 0%, #000, transparent 68%);
  content: "";
  pointer-events: none;
}

/* Thin orange ring, the same one the awards section uses. */
.ppc-section::after {
  position: absolute;
  top: -16rem;
  right: -9rem;
  z-index: 0;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(255, 100, 51, 0.26);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.ppc-section .hf-inner {
  position: relative;
  z-index: 1;
}

.ppc-section .hf-title em {
  color: var(--wdt-orange);
  font-style: normal;
}

/* Let the rows column shrink so it never runs under the sticky panel. */
.ppc-section .hf-group {
  grid-template-columns: minmax(7rem, 0.55fr) minmax(0, 2fr);
}

/* Platform rows carry a small brand mark and a descriptor. */

.ppc-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.75rem;
}

.ppc-item__mark {
  display: inline-grid;
  width: 1.6rem;
  height: 1.6rem;
  place-items: center;
  font-style: normal;
  transform: none !important;
}

.ppc-item__mark svg {
  width: 1.3rem;
  height: 1.3rem;
}

.ppc-item small {
  flex-basis: 100%;
  padding-left: 2.35rem;
  color: #8a8a8a;
  font-size: 0.82rem;
}

/* Shared sticky panel: dark card, sized by its content rather than a ratio. */

.ppc-media,
.ppc-slide-card {
  aspect-ratio: auto;
  min-height: 30rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(40rem 20rem at 100% 0%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(160deg, #161618, #0a0a0a);
  box-shadow: 0 2.5rem 4rem rgba(0, 0, 0, 0.18);
}

/* Same dot grid and hairline rings as the results strip. */
.ppc-media::before,
.ppc-slide-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.5px);
  background-size: 1.6rem 1.6rem;
  -webkit-mask-image: radial-gradient(40rem 30rem at 95% 0%, #000, transparent 70%);
  mask-image: radial-gradient(40rem 30rem at 95% 0%, #000, transparent 70%);
  content: "";
  pointer-events: none;
}

.ppc-media::after,
.ppc-slide-card::after {
  position: absolute;
  top: -14rem;
  right: -10rem;
  z-index: 0;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(255, 100, 51, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem transparent, 0 0 0 5.06rem rgba(255, 255, 255, 0.07);
  content: "";
  pointer-events: none;
}

.ppc-panel {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  color: #fff;
}

.ppc-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.ppc-panel__mark {
  display: grid;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: #fff;
  place-items: center;
}

.ppc-panel__mark svg {
  width: 2.5rem;
  height: 2.5rem;
}

.ppc-panel__index {
  color: var(--wdt-muted);
  font-family: var(--wdt-font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.ppc-panel__index b {
  color: #fff;
}

.ppc-panel__tagline {
  max-width: 16ch;
  margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
  font-family: var(--wdt-font-heading);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.ppc-panel__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.ppc-panel__label {
  display: block;
  margin: 0 0 0.6rem;
  color: var(--wdt-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ppc-panel__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ppc-panel__pills li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.ppc-panel__list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ppc-panel__list li {
  position: relative;
  padding-left: 1.1rem;
  color: #e6e6e6;
  font-size: 0.92rem;
  font-weight: 300;
}

.ppc-panel__list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--wdt-orange);
  content: "";
}

/* Service panels: big number, title, description, platform marks. */

.ppc-panel__big {
  margin-bottom: 1.25rem;
  color: var(--wdt-orange);
  font-family: var(--wdt-font-heading);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}

.ppc-panel__desc {
  max-width: 32rem;
  margin: 0 0 clamp(2rem, 3.5vw, 3rem);
  color: #d0d0d0;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.65;
}

.ppc-panel__marks {
  display: flex;
  gap: 0.5rem;
}

.ppc-panel__marks span {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.6rem;
  background: #fff;
  place-items: center;
}

.ppc-panel__marks svg {
  width: 1.4rem;
  height: 1.4rem;
}

@media (max-width: 900px) {
  /* No hover on touch devices: the rows carry the information on their own. */
  .ppc-media {
    display: none;
  }
}

@media (max-width: 600px) {
  .ppc-panel__cols {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ==========================================================================
   Awards: continuous horizontal carousel (cards cloned once by theme.js)
   ========================================================================== */

.awards-section {
  overflow: hidden;
}

.award-row {
  position: relative;
  z-index: 2;
  margin: 0 calc(50% - 50vw);
  padding: 1.5rem 0 2rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.awards-preview-grid,
.award-query .wp-block-post-template {
  display: flex;
  width: max-content;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  padding: 0 clamp(0.75rem, 1.25vw, 1.25rem);
  align-items: stretch;
}

.award-row .awards-preview-grid,
.award-row .award-query .wp-block-post-template,
.award-row .wp-block-post-template {
  animation: wdt-marquee 60s linear infinite;
}

.award-row:hover > *,
.award-row:focus-within > * {
  animation-play-state: paused;
}

.award-row:not(.is-ready) {
  overflow-x: auto;
  -webkit-mask-image: none;
  mask-image: none;
}

.award-frame,
.award-card,
.award-query .wp-block-post-template > li {
  flex: 0 0 clamp(15rem, 20vw, 17.5rem);
  width: clamp(15rem, 20vw, 17.5rem);
  max-width: none;
}

.award-frame:nth-child(n),
.award-card:nth-child(n),
.award-query .wp-block-post-template > li:nth-child(n) {
  margin: 0;
}

.award-frame:nth-child(even),
.award-card:nth-child(even) {
  margin-left: 0;
}

.award-frame:hover,
.award-card:hover {
  transform: translateY(-0.4rem);
}

/* Alternate the cards up and down along the strip. */
.award-row .awards-preview-grid,
.award-row .wp-block-post-template {
  align-items: flex-start;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.award-row .award-frame:nth-child(even),
.award-row .award-card:nth-child(even),
.award-row .wp-block-post-template > li:nth-child(even) {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}

@media (max-width: 680px) {
  .award-frame,
  .award-card {
    padding: 0.65rem 0.65rem 1.25rem;
  }

  .award-art,
  .award-image {
    min-height: 12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .award-row > * {
    animation: none;
  }
}


/* ==========================================================================
   Testimonials: continuous horizontal carousel on phones and small tablets
   ========================================================================== */

.testimonial-row .wdt-clone {
  display: none;
}

@media (max-width: 960px) {
  .section-testimonial {
    overflow: hidden;
  }

  .testimonial-row {
    margin: 0 calc(50% - 50vw);
    padding: 0.5rem 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }

  .testimonial-row .wdt-clone {
    display: flex;
  }

  .testimonial-row .testimonial-grid,
  .testimonial-row .wp-block-post-template {
    display: flex;
    width: max-content;
    gap: 1rem;
    padding: 0 1rem;
    align-items: stretch;
  }

  .testimonial-row.is-ready > * {
    animation: wdt-marquee 48s linear infinite;
  }

  .testimonial-row:hover > *,
  .testimonial-row:focus-within > * {
    animation-play-state: paused;
  }

  .testimonial-row:not(.is-ready) {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .testimonial-row .testimonial-card,
  .testimonial-row .wp-block-post-template > li {
    flex: 0 0 min(20rem, 78vw);
    width: min(20rem, 78vw);
    min-height: 0;
    grid-column: auto;
  }

  .testimonial-row .testimonial-card blockquote {
    margin-top: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-row > * {
    animation: none;
  }
}

/* ==========================================================================
   Capabilities and PPC on small screens: swipeable slides with dots
   ========================================================================== */

.hf-group__photo,
.hf-group__panel,
.hf-dots {
  display: none;
}

@media (max-width: 900px) {
  .hf-section .hf-media,
  #ppc .hf-media {
    display: none;
  }

  /* One slide fills the screen; neighbours stay fully out of view. */
  .hf-section .hf-content {
    display: flex;
    gap: 0;
    margin: 0 calc(50% - 50vw);
    padding: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .hf-section .hf-content::-webkit-scrollbar {
    display: none;
  }

  .hf-section .hf-group,
  .hf-section .hf-group + .hf-group {
    display: block;
    box-sizing: border-box;
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
    padding: 0 clamp(1.25rem, 4vw, 4.5rem);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .hf-section .hf-group__photo {
    display: block;
    aspect-ratio: 3 / 2;
    margin: 0 0 1.25rem;
    border-radius: 0.45rem;
    overflow: hidden;
    background: #101012;
  }

  .hf-section .hf-group__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* PPC slides carry a static copy of the group's first dark card. */
  .hf-section .hf-group__panel {
    display: block;
    position: relative;
    margin: 0 0 1.25rem;
    overflow: hidden;
  }

  .hf-section .hf-group__panel .ppc-panel {
    position: relative;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .hf-section .hf-eyebrow {
    margin-bottom: 0.5rem;
  }

  .hf-section .hf-intro {
    margin-bottom: 1rem;
  }

  .hf-section .hf-item a {
    padding: 0.75rem 0;
    font-size: 0.98rem;
  }

  .hf-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }

  .hf-dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.2);
    cursor: pointer;
    transition: width 250ms var(--wdt-ease), background 250ms ease;
  }

  .hf-dot.is-active {
    width: 1.6rem;
    background: var(--wdt-orange);
  }
}


/* Clients heading on phones: title stacks above the intro and stays the larger element. */
@media (max-width: 680px) {
  .clients-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
  }

  .clients-title {
    font-size: 2.4rem;
  }

  .clients-intro {
    max-width: 30rem;
    font-size: 0.98rem;
  }
}

/* ---------------------------------------------------------------
   Behind the scenes — video left; heading, story and controls right.
   Media and copy live in two strips that theme.js slides together.
   ================================================================= */

.bts-section {
  position: relative;
  color: var(--wdt-ink);
  background: #fff;
  overflow: hidden;
}

/* Ghosted "BTS" behind the section: faint fill, soft shadow, never interactive. */
.bts-watermark {
  position: absolute;
  top: 50%;
  right: clamp(-1rem, -1vw, 0rem);
  z-index: 0;
  transform: translateY(-50%);
  color: rgba(10, 10, 10, 0.035);
  font-family: var(--wdt-font-heading);
  font-size: clamp(9rem, 30vw, 34rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.8;
  text-shadow: 0 1.5rem 3rem rgba(10, 10, 10, 0.08);
  pointer-events: none;
  user-select: none;
}

.bts-inner {
  position: relative;
  z-index: 1;
}

.bts-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 4.5rem);
}

.bts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 4.5rem);
  align-items: stretch;
}

.bts-title {
  margin: 0 0 clamp(1.5rem, 2.5vw, 2.5rem);
  padding-bottom: clamp(1.25rem, 2vw, 2rem);
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
  font-family: var(--wdt-font-heading);
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

/* Strips: items sit side by side and translate; no native scroller, so the
   page's vertical scroll is never caught. */
.bts-track {
  display: flex;
  overflow: hidden;
  outline: none;
  touch-action: pan-y;
}

.bts-track--copy:focus-visible {
  box-shadow: 0 0 0 2px var(--wdt-orange);
  border-radius: 0.5rem;
}

.bts-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: transform 750ms var(--wdt-ease);
  will-change: transform;
}

/* --- media strip ---
   The media column is at least 16:9 and stretches to the height of the text
   column beside it, so the film and the story always share the same height. */
.bts-media {
  position: relative;
  min-width: 0;
  align-self: stretch;
}

/* 16:9 minimum height from the column's own width (padding resolves against
   width), so the box can grow taller but never wider than its column. */
.bts-media::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

.bts-track--media {
  position: absolute;
  inset: 0;
}

.bts-player {
  position: relative;
  height: 100%;
  margin: 0;
  border-radius: var(--wdt-radius);
  overflow: hidden;
  background: #e9e9e9;
}

.bts-player__video,
.bts-player__still,
.bts-player iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.bts-player__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.45), transparent 55%);
  cursor: pointer;
  transition: opacity 300ms ease;
}

.bts-player__play span {
  display: grid;
  place-items: center;
  width: clamp(3.75rem, 6vw, 5.25rem);
  height: clamp(3.75rem, 6vw, 5.25rem);
  border-radius: 50%;
  background: var(--wdt-orange);
  box-shadow: 0 0 0 0 rgba(255, 100, 51, 0.5);
  transition: transform 350ms var(--wdt-ease), box-shadow 350ms ease;
}

.bts-player__play span::before {
  content: '';
  width: 0;
  height: 0;
  margin-left: 0.2em;
  border-style: solid;
  border-width: 0.65em 0 0.65em 1.05em;
  border-color: transparent transparent transparent #fff;
}

.bts-player__play:hover span,
.bts-player__play:focus-visible span {
  transform: scale(1.08);
  box-shadow: 0 0 0 0.75rem rgba(255, 100, 51, 0.22);
}

.bts-player.is-playing .bts-player__play {
  opacity: 0;
  pointer-events: none;
}

/* --- copy strip --- */
.bts-side {
  min-width: 0;
}

.bts-copy {
  opacity: 0;
  transition: transform 750ms var(--wdt-ease), opacity 400ms ease;
}

.bts-copy.is-active {
  opacity: 1;
  transition: transform 750ms var(--wdt-ease), opacity 500ms ease 200ms;
}

.bts-copy__count {
  display: block;
  margin-bottom: 1rem;
  color: #8a8a8a;
  font-family: var(--wdt-font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.bts-copy__count i {
  margin: 0 0.25rem;
  color: var(--wdt-orange);
  font-style: normal;
}

.bts-copy__kicker {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--wdt-orange);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.bts-copy__title {
  margin: 0 0 0.9rem;
  font-family: var(--wdt-font-heading);
  font-size: clamp(1.5rem, 2.3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.bts-copy__text {
  max-width: 34rem;
  margin: 0 0 1.5rem;
  color: #4a4a4a;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.65;
}

.bts-copy__watch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--wdt-ink);
  border-radius: 999px;
  color: var(--wdt-ink);
  background: transparent;
  font-family: var(--wdt-font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease, transform 300ms var(--wdt-ease);
}

.bts-copy__watch:hover,
.bts-copy__watch:focus-visible {
  color: #fff;
  background: var(--wdt-ink);
  transform: translateY(-2px);
}

.bts-copy__watch span {
  transition: transform 300ms var(--wdt-ease);
}

.bts-copy__watch:hover span {
  transform: translate(2px, -2px);
}

/* --- controls --- */
.bts-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
  padding-top: clamp(1.25rem, 2vw, 2rem);
  border-top: 1px solid rgba(10, 10, 10, 0.1);
}

.bts-arrow {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(10, 10, 10, 0.18);
  border-radius: 50%;
  color: var(--wdt-ink);
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 250ms ease, background 250ms ease;
}

.bts-arrow:hover,
.bts-arrow:focus-visible {
  border-color: var(--wdt-orange);
  background: rgba(255, 100, 51, 0.12);
}

.bts-arrow span {
  display: inline-block;
  transition: transform 250ms var(--wdt-ease);
}

.bts-arrow--prev:hover span { transform: translateX(-2px); }
.bts-arrow--next:hover span { transform: translateX(2px); }

.bts-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bts-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.2);
  cursor: pointer;
  transition: width 300ms var(--wdt-ease), background 250ms ease;
}

.bts-dot:hover,
.bts-dot:focus-visible {
  background: rgba(10, 10, 10, 0.45);
}

.bts-dot.is-active {
  width: 1.75rem;
  background: var(--wdt-orange);
}

@media (max-width: 900px) {
  .bts-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }

  /* Heading first, then the film, then its story and the controls. */
  .bts-side {
    display: contents;
  }

  .bts-title {
    order: -1;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .bts-media {
    order: 0;
  }

  .bts-track--copy {
    order: 1;
  }

  .bts-nav {
    order: 2;
    justify-content: center;
    margin-top: 0;
    padding-top: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bts-slide,
  .bts-copy {
    transition: none;
  }
}

/* Links to pages that are not built yet: look normal, do nothing on click. */
a[data-soon] {
  cursor: default;
}

/* ==========================================================================
   Performance marketing highlights (patterns/ppc-highlights.php)
   Built to the client's reference: copy left, dark campaign dashboard and a
   real-estate ad card right, trust tiles and four reasons in a strip below.
   Dashboard numbers count up via .results-count.
   ========================================================================== */

.ppc-hl {
  position: relative;
  box-sizing: border-box;
  padding-top: clamp(2rem, 3vw, 3.5rem);
  padding-bottom: clamp(2rem, 3vw, 3.5rem);
  color: var(--wdt-ink);
  background: #fff;
  overflow: hidden;
}

.ppc-hl .ppc-hl__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  padding-right: clamp(1.25rem, 4vw, 4.5rem);
  padding-left: clamp(1.25rem, 4vw, 4.5rem);
}

.ppc-hl__top {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

/* --- Heading (a step smaller than the other section headings) --- */

/* Heading row, laid out like the awards section: title left, light lead right. */
.ppc-hl__head {
  display: grid;
  grid-template-columns: auto minmax(16rem, 1fr);
  align-items: end;
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
  column-gap: clamp(2.5rem, 5vw, 5rem);
  row-gap: 1rem;
}

.ppc-hl__lead {
  max-width: 37rem;
  margin: 0 0 0.35rem;
  color: #555555;
  font-size: clamp(1.1rem, 1.35vw, 1.4rem);
  font-weight: 300;
  line-height: 1.45;
}

.ppc-hl__title {
  margin: 0;
  font-family: var(--wdt-font-heading);
  font-size: clamp(2.3rem, 4.4vw, 4.3rem);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 0.98;
  white-space: nowrap; /* two lines exactly; the break is in the markup */
}

.ppc-hl__title em {
  color: var(--wdt-orange);
  font-style: normal;
  font-weight: inherit;
}

.ppc-hl__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.75rem;
  gap: 1.25rem 1.75rem;
}

.ppc-hl__cta {
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1rem 2rem -0.9rem rgba(255, 100, 51, 0.7);
}

/* --- Why choose us: four numbered reasons --- */

.ppc-hl__points-label {
  margin: 0 0 0.9rem;
  color: var(--wdt-orange);
  font-family: var(--wdt-font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.ppc-hl__points {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 34rem;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.6rem;
}

.ppc-hl__points li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  align-items: baseline;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(10, 10, 10, 0.12);
  column-gap: 0.5rem;
}

.ppc-hl__point-num {
  grid-row: 1 / span 2;
  color: var(--wdt-orange);
  font-family: var(--wdt-font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.ppc-hl__points b {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--wdt-font-heading);
  font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ppc-hl__points p {
  margin: 0;
  color: #5a5a5a;
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.45;
}

.ppc-hl__note {
  display: flex;
  align-items: center;
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: #5a5a5a;
  font-size: 0.82rem;
  line-height: 1.4;
  gap: 0.45rem;
}

.ppc-hl__note svg {
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  fill: none;
  stroke: var(--wdt-orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Visual: dashboard beside the ad card, same height --- */

/* Dashboard a touch wider than the ad card, both the same height. */
.ppc-hl__visual {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
}

.ppc-hl__dash {
  position: relative;
  min-width: 0;
  box-sizing: border-box;
  padding: clamp(1.1rem, 1.6vw, 1.6rem);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
  background: linear-gradient(160deg, #1c1c1f 0%, #0c0c0d 100%);
  box-shadow: 0 2.5rem 4.5rem -2rem rgba(0, 0, 0, 0.45);
  container-type: inline-size;
}

.ppc-hl__dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.ppc-hl__dash-head h3 {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ppc-hl__range {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  font-family: var(--wdt-font-heading);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  gap: 0.4rem;
}

.ppc-hl__range svg {
  width: 0.75rem;
  height: 0.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ppc-hl__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  gap: 0.5rem;
}

.ppc-hl__kpis li {
  padding: 0.7rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
}

.ppc-hl__kpis b {
  display: block;
  font-family: var(--wdt-font-heading);
  font-size: clamp(1.3rem, 1.75vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.ppc-hl__kpi-label {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  line-height: 1.25;
}

.ppc-hl__delta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.6rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.4rem;
  color: #39d98a;
  background: rgba(57, 217, 138, 0.12);
  font-family: var(--wdt-font-heading);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 600;
  gap: 0.25rem;
}

.ppc-hl__delta svg {
  width: 0.65rem;
  height: 0.65rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ppc-hl__delta--down {
  color: #ff7a5c;
  background: rgba(255, 100, 51, 0.14);
}

/* Narrow dashboard: tiles go 2x2 and the chart callout gets out of the way. */
@container (max-width: 21rem) {
  .ppc-hl__kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ppc-hl__callout {
    display: none;
  }
}

/* Chart */

.ppc-hl__chart {
  position: relative;
  padding: 0.4rem 0 1.4rem;
}

.ppc-hl__lines {
  display: block;
  width: 100%;
  height: clamp(8rem, 12vw, 11rem);
  overflow: visible;
}

.ppc-hl__line {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.ppc-hl__line--avg {
  stroke: #8f8f94;
  stroke-width: 2.5;
}

.ppc-hl__line--us {
  stroke: var(--wdt-orange);
}

.ppc-hl__area {
  opacity: 0;
  transition: opacity 900ms ease 1200ms;
}

.ppc-hl.is-visible .ppc-hl__line--avg {
  animation: wdt-ppc-draw 1500ms var(--wdt-ease) 350ms forwards;
}

.ppc-hl.is-visible .ppc-hl__line--us {
  animation: wdt-ppc-draw 1700ms var(--wdt-ease) 450ms forwards;
}

.ppc-hl.is-visible .ppc-hl__area {
  opacity: 1;
}

@keyframes wdt-ppc-draw {
  to { stroke-dashoffset: 0; }
}

/* Glowing end point of the orange line (560/600 across, 30/200 down). */
.ppc-hl__dot {
  position: absolute;
  top: calc(0.4rem + 15% * 0.9);
  left: 93.3%;
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--wdt-orange);
  box-shadow: 0 0 0 0.35rem rgba(255, 100, 51, 0.28), 0 0 1.2rem rgba(255, 100, 51, 0.8);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 500ms var(--wdt-ease) 2000ms;
}

.ppc-hl.is-visible .ppc-hl__dot {
  transform: translate(-50%, -50%) scale(1);
}

.ppc-hl__callout {
  position: absolute;
  top: 0.75rem;
  right: 0;
  margin: 0;
  padding: 0.7rem 0.95rem;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background: rgba(24, 24, 26, 0.94);
  box-shadow: 0 1rem 2rem -0.75rem rgba(0, 0, 0, 0.6);
  font-family: var(--wdt-font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 500ms ease 2100ms, transform 500ms var(--wdt-ease) 2100ms;
}

.ppc-hl.is-visible .ppc-hl__callout {
  opacity: 1;
  transform: none;
}

.ppc-hl__months {
  display: flex;
  justify-content: space-between;
  margin: 0.5rem 0 0;
  padding: 0 0.5%;
  list-style: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
}

.ppc-hl__legend {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  gap: 0.4rem 1.4rem;
}

.ppc-hl__legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ppc-hl__legend li::before {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #8f8f94;
  content: "";
}

.ppc-hl__legend .is-us::before {
  background: var(--wdt-orange);
}

/* Ad card */

.ppc-hl__ad {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid rgba(10, 10, 10, 0.06);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 2.25rem 4rem -1.5rem rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.ppc-hl__ad-head {
  display: flex;
  align-items: center;
  padding: 0.8rem 0.95rem;
  font-family: var(--wdt-font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  gap: 0.6rem;
}

.ppc-hl__ad-head i {
  display: grid;
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.45rem;
  color: #f5b400;
  background: var(--wdt-ink);
  place-items: center;
}

.ppc-hl__ad-head i svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ppc-hl__ad-tag {
  margin-left: auto;
  color: #9a9a9a;
  font-family: var(--wdt-font-heading);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.ppc-hl__ad-head b {
  margin-left: 0.6rem;
  color: #9a9a9a;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  line-height: 0.5;
}

.ppc-hl__ad-art {
  position: relative;
  flex: 1 1 auto;
  min-height: 12rem;
  background: #1a1a1a;
  overflow: hidden;
}

.ppc-hl__ad-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

/* Soft darkening top and bottom so the headline and the inset panel read. */
.ppc-hl__ad-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0.35) 100%);
  content: "";
  pointer-events: none;
}

.ppc-hl__ad-art p {
  position: absolute;
  z-index: 1;
  top: 1.1rem;
  left: 1.1rem;
  right: 1.1rem;
  margin: 0;
  color: #fff;
}

.ppc-hl__ad-art b {
  display: block;
  font-family: var(--wdt-font-heading);
  font-size: clamp(1.3rem, 1.6vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-shadow: 0 0.15rem 0.9rem rgba(0, 0, 0, 0.45);
}

.ppc-hl__ad-art small {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  line-height: 1.35;
  opacity: 0.92;
  text-shadow: 0 0.1rem 0.6rem rgba(0, 0, 0, 0.5);
}

/* Stats panel floats over the bottom of the photo, like the reference. */
.ppc-hl__ad-stats {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0.8rem 0.3rem;
  list-style: none;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 1rem 2rem -1rem rgba(0, 0, 0, 0.5);
  text-align: center;
}

.ppc-hl__ad-stats li + li {
  border-left: 1px solid rgba(10, 10, 10, 0.08);
}

.ppc-hl__ad-stats b {
  display: block;
  font-family: var(--wdt-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.ppc-hl__ad-stats span {
  display: block;
  margin-top: 0.2rem;
  color: #6b6b6b;
  font-size: 0.66rem;
}

/* --- Responsive --- */

@media (max-width: 1180px) {
  .ppc-hl__head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .ppc-hl__title {
    white-space: normal;
  }

  .ppc-hl__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .ppc-hl__visual {
    max-width: 58rem;
  }
}

@media (max-width: 680px) {
  .ppc-hl__visual {
    grid-template-columns: minmax(0, 1fr);
  }

  .ppc-hl__ad-art {
    aspect-ratio: 4 / 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ppc-hl__line {
    stroke-dashoffset: 0;
    animation: none !important;
  }

  .ppc-hl__area,
  .ppc-hl__dot,
  .ppc-hl__callout {
    opacity: 1;
    transition: none;
  }

  .ppc-hl__dot {
    transform: translate(-50%, -50%) scale(1);
  }
}
