/*
 * The site's shared styles: the base, the header and footer, buttons, cards and motion used by
 * every page this plugin renders, and the homepage's sections (front-page.php). The inner pages'
 * own sections are in pages.css. Tokens come from tokens.css.
 *
 * The look follows baherangroup.com and ohubet.com, in Delta's colours: a floating frosted header,
 * a dark hero panel with a photo collage, a white stats card that overlaps it, then sections that
 * alternate white, soft grey and navy. Every section opens with the same header: an eyebrow, an h2
 * with one accent phrase, and a lede aligned to the bottom on the right.
 *
 * Motion: the hero rises in a stagger, the photos open like shutters and the stats card lands with
 * a slight overshoot; sections fade up as they scroll in; glows drift slowly in the background.
 * Elements start hidden only once html has .dl-js (set in <head>), so the page is complete without
 * JavaScript. prefers-reduced-motion turns all of it off.
 *
 * The theme's stylesheets are unloaded on this page (see delta-restyle.php). The base rules below
 * use :where(.dl) so that any class rule outranks them. Sizes are in px.
 */

/* ---------------------------------------------------------------- Base */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body.dl {
  --dl-gutter: clamp(16px, 4vw, 40px);
  --dl-max: 1280px;
  --dl-inset: max(var(--dl-gutter), calc((100% - var(--dl-max)) / 2));
  margin: 0;
  font-family: var(--dp-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--dp-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

:where(.dl) img,
:where(.dl) video,
:where(.dl) iframe,
:where(.dl) svg {
  display: block;
  max-width: 100%;
}

:where(.dl) a {
  color: inherit;
}

:where(.dl) h1,
:where(.dl) h2,
:where(.dl) h3 {
  margin: 0;
  font-family: var(--dp-font);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: inherit;
  text-wrap: balance;
}

:where(.dl) p,
:where(.dl) dl,
:where(.dl) dd,
:where(.dl) figure {
  margin: 0;
}

:where(.dl) p {
  text-wrap: pretty;
}

:where(.dl) ul,
:where(.dl) ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:where(.dl) button {
  font: inherit;
}

.dl :focus-visible {
  outline: 3px solid var(--dp-blue);
  outline-offset: 3px;
}

.dl ::selection {
  color: var(--dp-ink);
  background: var(--dp-yellow);
}

.dl-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.dl-skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  font-weight: 700;
  color: #fff !important;
  background: var(--dp-ink);
  border-radius: var(--dp-r-pill);
}

.dl-skip:focus {
  top: 16px;
}

.dl-wrap {
  width: min(100% - 2 * var(--dl-gutter), var(--dl-max));
  margin-inline: auto;
}

.dl-section {
  position: relative;
  padding-block: clamp(80px, 9vw, 120px);
}

/* ---------------------------------------------------------------- Type */

/* Eyebrow: a short rule and a small, tracked, uppercase label. */
.dl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dp-blue-deep);
}

.dl-eyebrow--light {
  color: var(--dp-blue-light);
}

.dl-eyebrow__rule {
  flex: none;
  width: 32px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* A live dot, as on Ohubet's "news" chip. */
.dl-live {
  position: relative;
  flex: none;
  width: 9px;
  height: 9px;
  background: var(--dp-yellow);
  border-radius: 50%;
}

.dl-live::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dp-yellow);
  border-radius: 50%;
}

.dl-h2 {
  max-width: 20ch;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

/* One phrase per headline in the brand blue, as gradient text. The gradient is 2.8 times the
   text's width with a bright "oil sheen" band in the middle; at rest the text shows one plain blue
   end of it, and the sheen animations (see Motion) slide the band across. Both ends match, so the
   loop never jumps. */
.dl-accent {
  color: var(--dp-blue-strong);
  background-image: linear-gradient(100deg,
    var(--dp-blue-strong) 0%, var(--dp-blue) 18%, var(--dp-blue-strong) 34%,
    #59c4f2 43%, #bfe9fb 48%, #ffd25e 51%, #59c4f2 57%,
    var(--dp-blue-strong) 66%, var(--dp-blue) 84%, var(--dp-blue-strong) 100%);
  background-size: 280% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.dl-head--dark .dl-accent,
.dl-hero .dl-accent,
.dl-numcard--dark .dl-accent {
  color: var(--dp-blue-light);
  background-image: linear-gradient(100deg,
    var(--dp-blue-light) 0%, #59c4f2 18%, var(--dp-blue-light) 34%,
    #c9eefc 43%, #ffffff 47%, #ffe08a 51%, #ffb877 54%, #8fd3f4 60%,
    var(--dp-blue-light) 66%, #59c4f2 84%, var(--dp-blue-light) 100%);
}

.dl-lede {
  max-width: 38rem;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.6;
  color: var(--dp-muted);
}

/* Section header: eyebrow and h2 on the left, the lede aligned to their bottom on the right. */
.dl-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: end;
  gap: 20px 56px;
  margin-bottom: clamp(40px, 5vw, 60px);
}

.dl-head__main {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.dl-head__side {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.dl-head--dark {
  color: #fff;
}

.dl-head--dark .dl-lede {
  color: var(--dp-subtle);
}

.dl-head--stack {
  grid-template-columns: minmax(0, 1fr);
}

.dl-head--center {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.dl-head--center .dl-head__main {
  justify-items: center;
}

/* ---------------------------------------------------------------- Buttons, chips, tiles */

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--dp-r-pill);
  cursor: pointer;
  /* --bx/--by: the magnetic pull towards the pointer (home.js). */
  translate: var(--bx, 0px) var(--by, 0px);
  transition: background-color 0.25s var(--dp-ease), color 0.25s var(--dp-ease), border-color 0.25s var(--dp-ease), box-shadow 0.3s var(--dp-ease), transform 0.3s var(--dp-ease), translate 0.45s var(--dp-ease-out);
}

.dl-btn:hover {
  transform: translateY(-2px);
}

/* A band of light sweeps across the solid buttons on hover. */
.dl-btn--orange,
.dl-btn--blue,
.dl-menu > li:has(> a[href$="#contact"]) > a {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.dl-btn--orange::after,
.dl-btn--blue::after,
.dl .dl-menu > li:has(> a[href$="#contact"]) > a::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: auto;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  border-radius: inherit;
  transform: translateX(-120%);
  transition: transform 0.8s var(--dp-ease);
  pointer-events: none;
}

.dl-btn--orange:hover::after,
.dl-btn--blue:hover::after,
.dl .dl-menu > li:has(> a[href$="#contact"]) > a:hover::after {
  transform: translateX(120%);
}

.dl-btn:active {
  transform: scale(0.98);
}

.dl-btn__icon {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--dp-ease);
}

.dl-btn:hover .dl-btn__icon {
  transform: translateX(3px);
}

.dl-btn--orange {
  color: var(--dp-ink) !important;
  background: var(--dp-orange);
  box-shadow: var(--dp-shadow-cta);
}

.dl-btn--orange:hover {
  background: #ff9640;
  box-shadow: 0 18px 34px -12px rgba(245, 130, 31, 0.7);
}

.dl-btn--blue {
  color: #fff !important;
  background: var(--dp-blue-strong);
  box-shadow: var(--dp-shadow-blue);
}

.dl-btn--blue:hover {
  background: var(--dp-ink);
  box-shadow: 0 14px 30px -12px rgba(11, 37, 56, 0.55);
}

/* Outline on dark backgrounds. */
.dl-btn--ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.5);
}

.dl-btn--ghost:hover {
  color: var(--dp-ink) !important;
  background: #fff;
  border-color: #fff;
}

.dl-btn--small {
  min-height: 44px;
  padding: 9px 20px;
  font-size: 14.5px;
}

.dl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dl .dl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dl-chips--static li {
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dp-ink);
  background: var(--dp-surface-2);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-r-pill);
}

.dl-tag {
  display: inline-flex;
  justify-self: start;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dp-yellow);
  background: rgba(255, 203, 8, 0.1);
  border: 1px solid rgba(255, 203, 8, 0.28);
  border-radius: var(--dp-r-pill);
}

/* An icon on a soft blue square. */
.dl-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  color: var(--dp-blue-strong);
  background: var(--dp-blue-wash);
  border-radius: 16px;
  transition: background-color 0.35s var(--dp-ease), color 0.35s var(--dp-ease), transform 0.5s var(--dp-ease-land);
}

.dl-tile--sm {
  width: 40px;
  height: 40px;
  border-radius: var(--dp-r-tile);
}

.dl-tile--sm .dl-icon {
  width: 22px;
  height: 22px;
}

.dl-tile--glass {
  color: var(--dp-blue-light);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.dl-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* A frosted caption chip on a photo. */
.dl-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px 7px 11px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dp-ink);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--dp-r-pill);
  box-shadow: 0 10px 24px -12px rgba(11, 37, 56, 0.5);
}

.dl-caption__icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--dp-blue-strong);
  stroke-width: 2.4;
}

/* Soft glows, drawn as radial gradients so they cost no blur filter. */
.dl-orb {
  position: absolute;
  z-index: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 149, 218, 0.38), rgba(0, 149, 218, 0) 68%);
}

.dl-orb--a {
  top: -260px;
  left: -200px;
}

.dl-orb--b {
  right: -220px;
  bottom: -280px;
  background: radial-gradient(circle, rgba(143, 211, 244, 0.22), rgba(143, 211, 244, 0) 68%);
}

.dl-orb--c {
  top: -180px;
  right: 8%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(0, 149, 218, 0.22), rgba(0, 149, 218, 0) 68%);
}

/* ---------------------------------------------------------------- Header: a floating frosted bar */

.dl-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 50;
  padding-inline: var(--dl-gutter);
  pointer-events: none;
}

.admin-bar .dl-header {
  top: 46px;
}

@media (max-width: 782px) {
  .admin-bar .dl-header {
    top: 60px;
  }
}

.dl-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1248px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 10px 0 18px;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: var(--dp-shadow-float);
  transition: background-color 0.3s var(--dp-ease), box-shadow 0.3s var(--dp-ease);
}

.dl-header.is-scrolled .dl-header__bar {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--dp-shadow-lift);
}

/* The fuel gauge: the brand line is uncovered from the left as the page scrolls (--dl-progress,
   0 to 1, from home.js), so blue fills first, then yellow, then orange. */
.dl-gauge {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 3px;
  background: var(--dp-brand-line);
  border-radius: 3px;
  clip-path: inset(0 calc((1 - var(--dl-progress, 0)) * 100%) 0 0 round 3px);
  pointer-events: none;
  transition: opacity 0.3s;
}

.dl-header.is-open .dl-gauge {
  opacity: 0;
}

.dl-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--dp-ink) !important;
}

.dl-logo img {
  width: 40px;
  height: auto;
}

.dl-logo--light {
  color: #fff !important;
}

/* The colour logo sits on a white tile on dark backgrounds. */
.dl-logo--light img {
  width: 48px;
  padding: 5px;
  background: #fff;
  border-radius: 14px;
}

.dl-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.dl-menu > li {
  position: relative;
}

.dl-menu a {
  display: block;
  padding: 10px 11px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  color: var(--dp-ink);
  transition: color 0.2s var(--dp-ease), background-color 0.2s var(--dp-ease);
}

.dl-menu > li > a {
  position: relative;
  white-space: nowrap;
}

.dl-menu > li > a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  background: var(--dp-blue-strong);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--dp-ease-out);
}

.dl-menu > li > a:hover,
.dl-menu > li > a:focus-visible {
  color: var(--dp-blue-deep);
}

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

/* The logo already goes home, so the menu's "Home" item is hidden here. */
.dl-menu > li:has(> a[href$="#up"]) {
  display: none;
}

/* "Contact US" becomes the call to action at the end of the bar. */
.dl-menu > li:has(> a[href$="#contact"]) {
  order: 99;
  margin-left: 8px;
}

.dl-menu > li:has(> a[href$="#contact"]) > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 20px;
  font-weight: 700;
  color: var(--dp-ink);
  background: var(--dp-orange);
  border-radius: var(--dp-r-pill);
  box-shadow: var(--dp-shadow-cta);
}

.dl-menu > li:has(> a[href$="#contact"]) > a::after {
  display: none;
}

.dl-menu > li:has(> a[href$="#contact"]) > a:hover {
  color: var(--dp-ink);
  background: #ff9640;
}

/* Drop-down panel. The ::before bridges the gap so the pointer can travel to it. */
.dl-menu > li.menu-item-has-children::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.dl-menu .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: -8px;
  min-width: 280px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: 20px;
  box-shadow: var(--dp-shadow-float);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--dp-ease), transform 0.25s var(--dp-ease), visibility 0.25s;
}

.dl-menu li:hover > .sub-menu,
.dl-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dl-menu .sub-menu a {
  padding: 11px 14px;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: var(--dp-r-tile);
}

.dl-menu .sub-menu a:hover {
  color: var(--dp-blue-deep);
  background: var(--dp-blue-wash);
}

.dl-menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px 0 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  background: var(--dp-ink);
  border: 0;
  border-radius: var(--dp-r-pill);
  cursor: pointer;
}

.dl-burger,
.dl-burger::before,
.dl-burger::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--dp-ease), background-color 0.2s;
}

.dl-burger {
  position: relative;
}

.dl-burger::before,
.dl-burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.dl-burger::before {
  top: -5px;
}

.dl-burger::after {
  top: 5px;
}

.dl-header.is-open .dl-burger {
  background: transparent;
}

.dl-header.is-open .dl-burger::before {
  transform: translateY(5px) rotate(45deg);
}

.dl-header.is-open .dl-burger::after {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------------------------------------------------------------- Hero: the dark panel */

.dl-hero {
  padding: 96px 0 0;
}

.admin-bar .dl-hero {
  padding-top: 128px;
}

.dl-hero__panel {
  --dl-pad: clamp(24px, 4.6vw, 64px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(32px, 4.6vw, 64px);
  padding: var(--dl-pad) var(--dl-pad) calc(var(--dl-pad) + 72px);
  overflow: hidden;
  color: #fff;
  background: var(--dp-glow-dark);
  border-radius: var(--dp-r-panel);
  isolation: isolate;
}

/* The logo's three colours along the top edge. */
.dl-hero__panel::before,
.dl-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3;
  height: 3px;
  background: var(--dp-brand-line);
}

/* A soft light that follows the pointer across the dark panels (--px/--py from home.js). */
[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(480px circle at var(--px, 50%) var(--py, 50%), rgba(143, 211, 244, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.6s var(--dp-ease);
  pointer-events: none;
}

[data-spotlight].is-lit::after {
  opacity: 1;
}

/* The orbs lean a little towards the pointer (--mx/--my, -1 to 1, from home.js). */
.dl-hero__panel .dl-orb,
.dl-panel .dl-orb {
  translate: calc(var(--mx, 0) * 48px) calc(var(--my, 0) * 36px);
  transition: translate 1.4s var(--dp-ease-out);
}

.dl-hero__text {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 26px;
}

.dl-eyebrow--live {
  gap: 10px;
  padding: 8px 15px 8px 12px;
  color: #fff;
  letter-spacing: 0.14em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--dp-r-pill);
}

.dl-hero__title {
  font-size: clamp(46px, 6.6vw, 92px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #fff;
}

/* Each line is a mask its words rise out of. The padding keeps descenders inside it. */
.dl-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}

.dl-line > span {
  display: inline-block;
}

.dl-hero__lead {
  max-width: 44ch;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.6;
  color: var(--dp-subtle);
}

.dl-hero__text .dl-actions {
  margin-top: 4px;
}

/* The collage: the station, a tall HQ, and a small video card. */
.dl-hero__media {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 14px;
  /* Short enough that the stats card shows on the first screen of a 1440 by 900 display. */
  height: clamp(360px, 34vw, 500px);
  /* The collage tilts towards the pointer like a pane of glass. */
  transform: perspective(1400px) rotateY(calc(var(--mx, 0) * 5deg)) rotateX(calc(var(--my, 0) * -4deg));
  transition: transform 0.9s var(--dp-ease-out);
}

/* A slowly turning ring of light behind the photos, as on Baheran. */
.dl-halo {
  position: absolute;
  inset: 8% 4%;
  z-index: -1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 149, 218, 0) 0deg, rgba(0, 149, 218, 0.7) 90deg, rgba(143, 211, 244, 0.45) 170deg, rgba(245, 130, 31, 0.4) 250deg, rgba(0, 149, 218, 0) 360deg);
  filter: blur(46px);
  opacity: 0.7;
}

/* Each photo sits at its own depth (--depth): nearer ones move further with the pointer and drift
   up faster as the page scrolls (--sy, 0 to 1). */
.dl-shot {
  --depth: 1;
  position: relative;
  overflow: hidden;
  background: var(--dp-ink-raised);
  border-radius: 20px;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.7);
  translate: calc(var(--mx, 0) * var(--depth) * 9px) calc(var(--my, 0) * var(--depth) * 9px + var(--sy, 0) * var(--depth) * -32px);
  transition: translate 0.9s var(--dp-ease-out);
}

/* A hairline ring on top of the picture. */
.dl-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.dl-shot img,
.dl-shot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dl-shot--station {
  grid-column: 1;
  grid-row: 1;
}

/* Taller than its frame and pinned to the top, so the untidy verge at the bottom of the photo
   stays out of view, with a little more contrast for the overcast day. */
.dl-shot--station img {
  height: 135%;
  object-position: 36% 0;
  filter: contrast(1.08) saturate(1.2);
}

.dl-shot--hq {
  --depth: 1.7;
  grid-column: 2;
  grid-row: 1 / span 2;
}

.dl-shot--hq img {
  object-position: 50% 40%;
}

/* The DP mark shows while the video loads. The source is small and dark, so it stays at this size
   with a lift. */
.dl-shot--video {
  --depth: 2.4;
  grid-column: 1;
  grid-row: 2;
  background: var(--dp-ink-raised) url("../../uploads/2019/10/Delta_Petroleum_Plc_Final-logo_color.png") center / 64px no-repeat;
}

.dl-shot--video video {
  object-position: 30% 50%;
  filter: brightness(1.5) contrast(1.08) saturate(1.1);
}

/* ---------------------------------------------------------------- Stats card */

.dl-stats {
  position: relative;
  z-index: 2;
  width: calc(100% - 2 * clamp(12px, 4vw, 56px));
  margin: -72px auto 0;
  padding: clamp(20px, 2.4vw, 30px) clamp(8px, 1.2vw, 14px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: 28px;
  box-shadow: var(--dp-shadow-float);
}

/* The brand line along the top, drawn in once the card has landed. */
.dl-stats::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--dp-brand-line);
  transform-origin: left;
}

.dl-stats__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dl-stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 4px;
  padding: 4px clamp(14px, 2vw, 28px);
}

.dl-stat + .dl-stat {
  border-left: 1px solid var(--dp-line);
}

.dl-stat dt {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dp-muted);
}

/* The number: an invisible copy of the final value holds the width while the visible one counts. */
.dl-num {
  display: grid;
  justify-items: start;
  font-size: clamp(36px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.dl-num__size,
.dl-num__show {
  grid-area: 1 / 1;
}

.dl-num__size {
  visibility: hidden;
}

.dl-num__show {
  color: var(--dp-blue-strong);
  background: var(--dp-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------------------------------------------------------------- Station strip */

.dl-strip {
  overflow: hidden;
  padding: clamp(28px, 3.4vw, 44px) 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.dl-strip__track {
  display: flex;
  gap: 10px;
  width: max-content;
}

.dl-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px 9px 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--dp-ink);
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-r-pill);
}

.dl-strip__icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--dp-blue);
  stroke-width: 2.2;
}

/* ---------------------------------------------------------------- About: a bento grid */

.dl-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 16px;
}

.dl-bento__photo {
  position: relative;
  grid-column: 1 / span 5;
  grid-row: 1 / span 2;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--dp-r-card);
  background: var(--dp-surface-2);
}

.dl-bento__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 34% 50%;
  filter: saturate(0.95) contrast(1.05);
  transition: transform 0.9s var(--dp-ease);
}

.dl-bento__photo:hover img {
  transform: scale(1.04);
}

/* Baheran's colour grade: blue light from the top, navy shade at the foot. */
.dl-graded::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 37, 56, 0) 55%, rgba(11, 37, 56, 0.55)),
    linear-gradient(165deg, rgba(0, 149, 218, 0.38), rgba(11, 37, 56, 0.3));
  mix-blend-mode: soft-light;
}

.dl-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  padding: 14px 20px 16px;
  line-height: 1.1;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: var(--dp-shadow-float);
}

.dl-badge__k {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dp-blue-deep);
}

.dl-badge strong {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--dp-blue-strong);
  background: var(--dp-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dl-badge__v {
  font-size: 13px;
  font-weight: 600;
  color: var(--dp-muted);
}

.dl-numcard {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(24px, 2.6vw, 34px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-r-card);
  box-shadow: var(--dp-shadow-card);
  transition: transform 0.5s var(--dp-ease), box-shadow 0.5s var(--dp-ease), border-color 0.3s var(--dp-ease);
}

.dl-numcard:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 149, 218, 0.35);
  box-shadow: var(--dp-shadow-lift);
}

/* Photo on the left; vision across the top right; mission and values under it; leadership along
   the bottom. */
.dl-numcard--vision {
  grid-column: 6 / span 7;
}

.dl-numcard--mission {
  grid-column: 6 / span 3;
}

.dl-numcard--values {
  grid-column: 9 / span 4;
}

.dl-numcard--leaders {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  align-items: center;
  gap: 12px 40px;
}

.dl-numcard--leaders .dl-arrow-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-right: 90px;
}

.dl-numcard--leaders .dl-arrow-links a,
.dl-numcard--leaders .dl-arrow-links li:last-child a {
  padding: 14px 18px;
  background: var(--dp-surface-2);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-r-media);
  transition: color 0.2s var(--dp-ease), background-color 0.2s var(--dp-ease), border-color 0.2s var(--dp-ease);
}

.dl-numcard--leaders .dl-arrow-links a:hover {
  background: var(--dp-blue-wash);
  border-color: rgba(0, 149, 218, 0.35);
}

.dl-numcard h3:not(.dl-eyebrow) {
  padding-right: 64px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dl-numcard__text {
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--dp-ink);
}

.dl-numcard__n {
  position: absolute;
  top: 10px;
  right: 22px;
  font-size: 68px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(11, 37, 56, 0.06);
  transition: color 0.4s var(--dp-ease);
}

.dl-numcard:hover .dl-numcard__n {
  color: rgba(0, 149, 218, 0.14);
}

.dl-numcard--dark {
  min-height: 250px;
  align-content: end;
  color: #fff;
  background: var(--dp-glow-dark);
  border-color: transparent;
}

.dl-numcard--dark .dl-numcard__n {
  color: rgba(255, 255, 255, 0.07);
  font-size: 120px;
}

.dl-numcard--dark:hover .dl-numcard__n {
  color: rgba(143, 211, 244, 0.16);
}

.dl .dl-numcard__aim {
  max-width: 30ch;
  padding-right: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.dl-arrow-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  color: var(--dp-ink);
  border-bottom: 1px solid var(--dp-line);
  transition: color 0.2s var(--dp-ease);
}

.dl-arrow-links li:last-child a {
  border-bottom: 0;
  padding-bottom: 0;
}

.dl-arrow-links a:hover {
  color: var(--dp-blue-deep);
}

.dl-arrow-links__icon {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--dp-blue-strong);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--dp-ease);
}

.dl-arrow-links a:hover .dl-arrow-links__icon {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------- Delta Lubes (navy) */

.dl-products {
  overflow: hidden;
  color: #fff;
  background: var(--dp-glow-dark);
}

.dl-products .dl-wrap,
.dl-products .dl-rail {
  position: relative;
  z-index: 1;
}

.dl-rail-nav {
  display: flex;
  gap: 10px;
}

.dl-round {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, opacity 0.25s, transform 0.25s;
}

.dl-round svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dl-round:hover:not(:disabled) {
  color: var(--dp-ink);
  background: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.dl-round:disabled {
  opacity: 0.3;
  cursor: default;
}

/* The rail starts on the page's left margin and runs off the right edge. */
.dl .dl-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(272px, 27vw, 360px);
  gap: 18px;
  overflow-x: auto;
  padding: 8px var(--dl-inset) 18px;
  scroll-padding-inline: var(--dl-inset);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.dl-card {
  scroll-snap-align: start;
}

/* The card tilts under the pointer (--rx/--ry from home.js) and a glare follows it (--gx/--gy). */
.dl-card a {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--dp-ease), background-color 0.3s var(--dp-ease), border-color 0.3s var(--dp-ease);
}

.dl-card a:hover {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 149, 218, 0.65);
}

.dl-card a.is-tilting {
  transition: transform 0.12s linear, background-color 0.3s var(--dp-ease), border-color 0.3s var(--dp-ease);
}

.dl-card a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.13), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s var(--dp-ease);
  pointer-events: none;
}

.dl-card a:hover::after {
  opacity: 1;
}

.dl-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #fff;
  border-radius: 20px;
}

.dl-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--dp-ease);
}

.dl-card a:hover .dl-card__media img {
  transform: scale(1.06);
}

.dl-card__body {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 10px;
  padding: 20px 12px 12px;
}

.dl-card__use {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dp-blue-light);
}

.dl-card__name {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.dl-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
}

.dl-card__arrow {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--dp-blue-light);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--dp-ease);
}

.dl-card a:hover .dl-card__arrow {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------- Station services */

.dl-services {
  background: var(--dp-surface-2);
}

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

.dl-service {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px 24px 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-r-card);
  box-shadow: var(--dp-shadow-card);
  transition: transform 0.5s var(--dp-ease), box-shadow 0.5s var(--dp-ease), border-color 0.3s var(--dp-ease);
}

.dl-service:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 149, 218, 0.35);
  box-shadow: var(--dp-shadow-lift);
}

.dl-service__n {
  position: absolute;
  top: 6px;
  right: 16px;
  font-size: 76px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(11, 37, 56, 0.05);
  transition: color 0.4s var(--dp-ease);
}

.dl-service:hover .dl-service__n {
  color: rgba(0, 149, 218, 0.12);
}

.dl-service .dl-tile {
  margin-bottom: 12px;
}

.dl-service:hover .dl-tile {
  color: #fff;
  background: var(--dp-blue-strong);
  transform: rotate(-12deg) scale(1.1);
}

.dl-service h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dl-service p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--dp-muted);
}

.dl-service__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: var(--dp-blue-deep);
}

.dl-service__link:hover .dl-arrow-links__icon {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------- Read more */

/* A native <details>, so it opens without JavaScript; site.js animates its height. */
.dl-more {
  width: 100%;
  max-width: 38rem;
}

.dl-more > summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--dp-blue-deep);
  list-style: none;
  cursor: pointer;
  background: #fff;
  border: 1.5px solid var(--dp-line);
  border-radius: var(--dp-r-pill);
  transition: border-color 0.2s var(--dp-ease), background-color 0.2s var(--dp-ease);
}

.dl-more > summary::-webkit-details-marker {
  display: none;
}

.dl-more > summary:hover {
  background: var(--dp-blue-wash);
  border-color: rgba(0, 149, 218, 0.45);
}

.dl-more__icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  transition: transform 0.4s var(--dp-ease-land);
}

.dl-more[open] .dl-more__icon {
  transform: rotate(135deg);
}

.dl-more__body {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 22px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dp-ink);
  background: var(--dp-surface-2);
  border-left: 3px solid var(--dp-blue);
  border-radius: 0 var(--dp-r-media) var(--dp-r-media) 0;
  overflow: hidden;
}

/* ---------------------------------------------------------------- Why choose Delta */

.dl-reasons__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
  gap: 40px clamp(40px, 6vw, 88px);
}

.dl-reasons .dl-head {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.dl-reasons .dl-head .dl-btn {
  justify-self: start;
  margin-top: 6px;
}

.dl-reasons__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dl-reason {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 112px;
  padding: 22px 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-r-card);
  box-shadow: var(--dp-shadow-card);
  transition: transform 0.5s var(--dp-ease), box-shadow 0.5s var(--dp-ease), border-color 0.3s var(--dp-ease);
}

.dl-reason:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 149, 218, 0.35);
  box-shadow: var(--dp-shadow-lift);
}

.dl-reason:hover .dl-tile {
  color: #fff;
  background: var(--dp-blue-strong);
  transform: rotate(-12deg) scale(1.1);
}

.dl-reason h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.dl-reason__n {
  position: absolute;
  right: 18px;
  bottom: -14px;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(11, 37, 56, 0.05);
  transition: color 0.4s var(--dp-ease);
  pointer-events: none;
}

.dl-reason:hover .dl-reason__n {
  color: rgba(0, 149, 218, 0.12);
}

/* ---------------------------------------------------------------- Station finder */

.dl-stations {
  background: var(--dp-glow-light);
}

.dl-finder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 16px;
  height: clamp(540px, 50vw, 620px);
  padding: 14px;
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-r-panel);
  box-shadow: var(--dp-shadow-float);
}

.dl-finder__board {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
  padding: 10px 4px 4px 10px;
}

.dl-search {
  position: relative;
  display: block;
  margin-right: 6px;
}

.dl-search__icon {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--dp-muted);
  stroke-width: 2.4;
  stroke-linecap: round;
  transform: translateY(-50%);
  pointer-events: none;
}

.dl-search input {
  width: 100%;
  height: 54px;
  padding: 0 20px 0 50px;
  font: 500 16px/1 var(--dp-font);
  color: var(--dp-ink);
  background: var(--dp-surface-2);
  border: 1.5px solid var(--dp-line);
  border-radius: var(--dp-r-pill);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.dl-search input:focus {
  background: #fff;
  border-color: var(--dp-blue-strong);
  box-shadow: 0 0 0 4px rgba(0, 149, 218, 0.18);
}

.dl .dl-plates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  grid-auto-rows: min-content;
  align-content: start;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 8px 28px 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--dp-line) transparent;
  /* Fades out at the foot, so it reads as a list that scrolls. */
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(180deg, #000 calc(100% - 48px), transparent);
}

.dl-plate-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 9px 14px 9px 12px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  color: var(--dp-ink) !important;
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-r-pill);
  transition: background-color 0.2s var(--dp-ease), border-color 0.2s var(--dp-ease), color 0.2s var(--dp-ease), box-shadow 0.2s var(--dp-ease), transform 0.2s var(--dp-ease);
}

.dl-plate-btn__icon {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--dp-blue);
  stroke-width: 2.2;
  transition: stroke 0.2s;
}

.dl-plate-btn:hover {
  background: var(--dp-blue-wash);
  border-color: rgba(0, 149, 218, 0.45);
  transform: translateY(-1px);
}

.dl-plate-btn[aria-pressed="true"] {
  color: #fff !important;
  background: var(--dp-blue-strong);
  border-color: var(--dp-blue-strong);
  box-shadow: var(--dp-shadow-blue);
}

.dl-plate-btn[aria-pressed="true"] .dl-plate-btn__icon {
  stroke: #fff;
}

.dl-finder__empty {
  align-self: start;
  margin-right: 6px;
  padding: 16px 18px;
  font-size: 15.5px;
  background: var(--dp-surface-2);
  border-radius: var(--dp-r-media);
}

.dl-finder__empty a {
  font-weight: 700;
  color: var(--dp-blue-deep);
}

.dl-finder__map {
  position: relative;
  overflow: hidden;
  background: #dfe6ed;
  border-radius: var(--dp-r-card);
}

.dl-finder__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  transition: opacity 0.35s var(--dp-ease);
}

.dl-finder__map.is-loading iframe {
  opacity: 0.35;
}

.dl-finder__bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 10px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: var(--dp-shadow-float);
}

.dl-finder__where {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.dl-finder__name {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---------------------------------------------------------------- Customers and suppliers */

.dl-trusted {
  overflow: hidden;
  background: var(--dp-surface-2);
}

.dl-trusted .dl-head {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.dl-marquee + .dl-marquee {
  margin-top: 28px;
}

.dl .dl-marquee__label {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  color: var(--dp-muted);
}

.dl-marquee__window {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.dl-marquee__track {
  display: flex;
  width: max-content;
}

.dl-marquee__track li {
  display: grid;
  place-items: center;
  width: 188px;
  height: 104px;
  margin-right: 14px;
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: 20px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.dl-marquee__track li:hover {
  border-color: rgba(0, 149, 218, 0.35);
  box-shadow: var(--dp-shadow-card);
}

.dl-marquee__track img {
  max-width: 116px;
  max-height: 64px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* ---------------------------------------------------------------- Dealer and Delta Club */

.dl-panel {
  position: relative;
  padding: clamp(32px, 5.6vw, 72px);
  overflow: hidden;
  color: #fff;
  background: var(--dp-glow-dark);
  border-radius: var(--dp-r-panel);
  isolation: isolate;
}

.dl-panel > .dl-head,
.dl-panel > .dl-partner__grid {
  position: relative;
  z-index: 1;
}

.dl-partner__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dl-offer {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 16px;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--dp-r-card);
  transition: background-color 0.3s var(--dp-ease), border-color 0.3s var(--dp-ease), transform 0.5s var(--dp-ease);
}

.dl-offer:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 149, 218, 0.55);
  transform: translateY(-4px);
}

.dl-offer:hover .dl-tile {
  transform: rotate(-12deg) scale(1.1);
}

.dl-offer h3 {
  margin-top: -4px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dl-offer p:not(.dl-eyebrow) {
  max-width: 40ch;
  margin-bottom: 8px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--dp-subtle);
}

/* ---------------------------------------------------------------- Contact */

.dl-contact {
  background: var(--dp-surface-2);
}

.dl-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: 48px clamp(40px, 5vw, 72px);
}

.dl-contact__info .dl-head {
  margin-bottom: 32px;
}

.dl-details {
  display: grid;
  gap: 12px;
}

.dl-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: 20px;
  transition: border-color 0.3s var(--dp-ease), box-shadow 0.3s var(--dp-ease);
}

.dl-detail:hover {
  border-color: rgba(0, 149, 218, 0.35);
  box-shadow: var(--dp-shadow-card);
}

.dl-detail .dl-tile {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.dl-detail .dl-icon {
  width: 24px;
  height: 24px;
}

.dl-detail h3 {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dp-blue-deep);
}

.dl-detail p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--dp-ink);
}

.dl-detail a {
  font-weight: 600;
  text-decoration: none;
  color: var(--dp-ink);
}

.dl-detail a:hover {
  color: var(--dp-blue-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dl-detail__sub {
  margin-right: 6px;
  font-size: 14px;
  color: var(--dp-muted);
}

/* The form card. Contact Form 7's markup comes from WordPress (with the theme's bootstrap-style
   wrappers), so its layout is set here. */
.dl-contact__form {
  padding: clamp(24px, 3.4vw, 44px);
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: 28px;
  box-shadow: var(--dp-shadow-float);
}

.dl-interest {
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--dp-line);
}

.dl .dl-interest__label {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dp-blue-deep);
}

.dl-chip {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--dp-ink);
  background: #fff;
  border: 1.5px solid var(--dp-line);
  border-radius: var(--dp-r-pill);
  cursor: pointer;
  transition: background-color 0.2s var(--dp-ease), border-color 0.2s var(--dp-ease), color 0.2s var(--dp-ease), box-shadow 0.2s var(--dp-ease);
}

.dl-chip:hover {
  border-color: var(--dp-blue);
  background: var(--dp-blue-wash);
}

.dl-chip[aria-pressed="true"] {
  color: #fff;
  background: var(--dp-blue-strong);
  border-color: var(--dp-blue-strong);
  box-shadow: var(--dp-shadow-blue);
}

.dl-contact__form .wpcf7 .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  margin: 0;
}

.dl-contact__form .wpcf7 [class*="col-"] {
  width: auto;
  padding: 0;
  float: none;
}

.dl-contact__form .wpcf7 .col-sm-12,
.dl-contact__form .wpcf7 [class*="col-md-12"] {
  grid-column: 1 / -1;
}

.dl-contact__form .wpcf7 p {
  margin: 0 0 18px;
}

.dl-contact__form .wpcf7 p > br {
  display: none;
}

.dl-contact__form .wpcf7 label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--dp-ink);
}

.dl-contact__form .wpcf7-form-control-wrap {
  display: block;
}

.dl-contact__form input[type="text"],
.dl-contact__form input[type="email"],
.dl-contact__form input[type="tel"],
.dl-contact__form textarea {
  width: 100%;
  padding: 14px 18px;
  font: 400 16px/1.45 var(--dp-font);
  color: var(--dp-ink);
  background: var(--dp-surface-2);
  border: 1.5px solid var(--dp-line);
  border-radius: var(--dp-r-media);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.dl-contact__form textarea {
  height: 160px;
  resize: vertical;
}

.dl-contact__form input:focus,
.dl-contact__form textarea:focus {
  background: #fff;
  border-color: var(--dp-blue-strong);
  box-shadow: 0 0 0 4px rgba(0, 149, 218, 0.18);
}

.dl-contact__form .wpcf7-submit {
  min-height: 54px;
  padding: 14px 34px;
  font: 700 15.5px/1 var(--dp-font);
  color: var(--dp-ink);
  background: var(--dp-orange);
  border: 0;
  border-radius: var(--dp-r-pill);
  box-shadow: var(--dp-shadow-cta);
  cursor: pointer;
  transition: background-color 0.25s, transform 0.3s var(--dp-ease), box-shadow 0.3s;
}

.dl-contact__form .wpcf7-submit:hover {
  background: #ff9640;
  transform: translateY(-2px);
}

.dl-contact__form .wpcf7-spinner {
  vertical-align: middle;
}

.dl-contact__form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 14px;
  color: #b42318;
}

.dl-contact__form .wpcf7-response-output {
  margin: 8px 0 0 !important;
  padding: 12px 16px !important;
  font-size: 15px;
  border-radius: var(--dp-r-media);
}

/* As in Contact Form 7's own stylesheet: no empty message box before the form is sent. */
.dl-contact__form form:is(.init, .resetting, .submitting) .wpcf7-response-output {
  display: none;
}

/* ---------------------------------------------------------------- Footer */

/* Compact: four short columns, with everything the old footer said. */
.dl-footer {
  position: relative;
  padding: clamp(56px, 6vw, 80px) 0 0;
  overflow: hidden;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--dp-subtle);
  background: var(--dp-glow-dark);
}

.dl-footer address {
  font-style: normal;
}

.dl-footer__phones {
  margin-top: 12px;
}

.dl .dl-footer__phones li,
.dl .dl-footer__emails li {
  margin-bottom: 4px;
}

.dl-footer__emails li {
  display: grid;
}

.dl-footer__emails span {
  font-size: 12.5px;
  color: rgba(179, 196, 212, 0.75);
}

.dl-footer .dl-footer__find {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 8px 16px 8px 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--dp-r-pill);
  transition: background-color 0.25s, border-color 0.25s;
}

.dl-footer .dl-footer__find:hover {
  color: #fff;
  background: rgba(0, 149, 218, 0.2);
  border-color: rgba(0, 149, 218, 0.6);
}

.dl-footer__find-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--dp-blue-light);
  stroke-width: 2.2;
}

.dl-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--dp-brand-line);
}

.dl-footer__grid,
.dl-footer__base {
  position: relative;
  z-index: 1;
}

.dl-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 2.6fr) minmax(0, 2.6fr) minmax(0, 3fr);
  gap: 32px 40px;
  padding-bottom: clamp(40px, 5vw, 64px);
}

.dl-footer__brand {
  display: grid;
  align-content: start;
  gap: 16px;
}

.dl-footer__brand p {
  max-width: 36ch;
}

.dl-footer .dl-eyebrow {
  margin-bottom: 14px;
}

.dl-footer li {
  margin-bottom: 8px;
}

.dl-footer a {
  text-decoration: none;
  color: var(--dp-subtle);
  transition: color 0.2s;
}

.dl-footer nav a:hover,
.dl-footer li a:hover {
  color: #fff;
}

.dl-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 0 30px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dl-footer .dl-footer__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--dp-r-pill);
  transition: background-color 0.25s, color 0.25s;
}

.dl-footer .dl-footer__top:hover {
  color: var(--dp-ink);
  background: #fff;
}

.dl-footer__top-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The developer credit, with an underline that draws in on hover. */
.dl-credit a {
  font-weight: 700;
  color: #fff;
  background: linear-gradient(var(--dp-blue-light), var(--dp-blue-light)) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.4s var(--dp-ease), color 0.2s;
}

.dl-footer .dl-credit a:hover {
  color: var(--dp-blue-light);
  background-size: 100% 1.5px;
}

/* A giant, faint wordmark behind the base of the footer. */
.dl-footer__mark {
  position: absolute;
  left: 50%;
  bottom: -0.2em;
  z-index: 0;
  font-size: clamp(96px, 19vw, 272px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.04);
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}

.dl-footer__mark > span {
  display: inline-block;
}

/* ---------------------------------------------------------------- Motion */

@media (prefers-reduced-motion: no-preference) {
  /* Load sequence: the bar drops in, the hero text rises in a stagger, the photos open like
     shutters from the bottom while their pictures settle, and the stats card lands. */
  .dl-js .dl-header__bar {
    opacity: 0;
    transform: translateY(-16px);
  }

  .dl-js .dl-enter {
    opacity: 0;
    transform: translateY(22px);
  }

  .dl-js .dl-header__bar,
  .dl-js .dl-enter {
    transition: opacity 0.9s var(--dp-ease), transform 0.9s var(--dp-ease), background-color 0.3s var(--dp-ease), box-shadow 0.3s var(--dp-ease);
  }

  .dl-js .dl-enter {
    transition-delay: calc(var(--i, 0) * 120ms + 120ms);
  }

  .dl-js .dl-shot {
    clip-path: inset(100% 0 0 0 round 20px);
    transition: clip-path 1.2s var(--dp-ease-out), translate 0.9s var(--dp-ease-out);
    transition-delay: calc(var(--i, 0) * 150ms + 300ms), 0s;
  }

  .dl-js .dl-shot > img,
  .dl-js .dl-shot > video {
    transform: scale(1.16);
    transition: transform 2.2s var(--dp-ease-out);
    transition-delay: calc(var(--i, 0) * 150ms + 300ms);
  }

  .dl-js .dl-shot .dl-caption {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s var(--dp-ease), transform 0.6s var(--dp-ease);
    transition-delay: calc(var(--i, 0) * 150ms + 1.2s);
  }

  .dl-js .dl-stats {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.8s var(--dp-ease), transform 1s var(--dp-ease-land);
    transition-delay: 0.75s;
  }

  .dl-ready .dl-header__bar,
  .dl-ready .dl-enter,
  .dl-ready .dl-shot > img,
  .dl-ready .dl-shot > video,
  .dl-ready .dl-shot .dl-caption,
  .dl-ready .dl-stats {
    opacity: 1;
    transform: none;
  }

  .dl-ready .dl-shot {
    clip-path: inset(0 0 0 0 round 20px);
  }

  /* After the entrance, the station picture keeps a slow drift. */
  .dl-ready .dl-shot--station > img {
    animation: dl-drift 22s ease-in-out 3s infinite alternate;
  }

  /* Ambient light. */
  .dl-halo {
    animation: dl-spin 12s linear infinite;
  }

  .dl-orb--a {
    animation: dl-float-a 28s var(--dp-ease-sine) infinite alternate;
  }

  .dl-orb--b {
    animation: dl-float-b 34s var(--dp-ease-sine) infinite alternate;
  }

  .dl-orb--c {
    animation: dl-float-b 30s var(--dp-ease-sine) infinite alternate;
  }

  .dl-live::after {
    animation: dl-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
  }

  /* Marquees. */
  .dl-strip__track {
    animation: dl-scroll 150s linear infinite;
  }

  .dl-marquee__track {
    animation: dl-scroll-quarter 40s linear infinite;
  }

  .dl-marquee--reverse .dl-marquee__track {
    animation-duration: 52s;
    animation-direction: reverse;
  }

  .dl-strip:hover .dl-strip__track,
  .dl-marquee:hover .dl-marquee__track {
    animation-play-state: paused;
  }

  /* Scroll reveals: fade up, staggered by --i. */
  .dl-js [data-reveal] {
    transition: opacity 0.8s var(--dp-ease), transform 0.8s var(--dp-ease), box-shadow 0.5s var(--dp-ease), border-color 0.3s var(--dp-ease), background-color 0.3s var(--dp-ease);
    transition-delay: calc(var(--i, 0) * 70ms);
  }

  .dl-js [data-reveal]:not(.is-in) {
    opacity: 0;
    transform: translateY(28px);
  }

  /* Once the entrance is over (home.js adds .is-settled), hovers respond without the stagger. */
  .dl-js [data-reveal].is-settled {
    transition-delay: 0s;
  }

  .dl-js .dl-rail .dl-card,
  .dl-js .dl-plates li {
    transition: opacity 0.8s var(--dp-ease), transform 0.8s var(--dp-ease);
  }

  .dl-js .dl-rail .dl-card {
    transition-delay: calc(var(--i, 0) * 90ms);
  }

  .dl-js .dl-plates li {
    transition-delay: calc(min(var(--i, 0), 24) * 20ms + 200ms);
  }

  .dl-js .dl-rail:not(.is-in) .dl-card {
    opacity: 0;
    transform: translateX(60px);
  }

  .dl-js .dl-plates:not(.is-in) li {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
}

/* ---------------------------------------------------------------- Signature moves
 *
 * Each section gets its own entrance, drawn from fuel and the forecourt:
 * - Hero: the headline lines rise out of masks; an oil-like sheen then runs across "Ethiopia"
 *   every few seconds. The collage tilts and its photos shift in depth with the pointer.
 * - Stats: the figures rise in turn and the brand line draws along the card's top.
 * - Section headers: the eyebrow's rule draws, the h2 comes into focus, the accent sheens once.
 * - About: the photo opens like a shutter; the "Our aim" card fills from the bottom like a tank;
 *   the values pop in and the leadership links slide in.
 * - Services: each icon tile springs in and its icon draws itself, and draws again on hover.
 * - Station finder: picking a town drops the pin.
 * - Join us: the panel unfolds to full size.
 * - Footer: the brand line draws across and the DELTA letters rise one by one.
 */

@media (prefers-reduced-motion: no-preference) {
  /* Hero headline. */
  .dl-js .dl-line > span {
    transform: translateY(108%);
    transition: transform 1.15s var(--dp-ease-out);
    transition-delay: calc(var(--l, 0) * 130ms + 220ms);
  }

  .dl-ready .dl-line > span {
    transform: none;
  }

  .dl-ready .dl-sheen {
    animation: dl-sheen 9s var(--dp-ease) 1.5s infinite;
  }

  /* Stats card. */
  .dl-js .dl-stats::before {
    transform: scaleX(0);
    transition: transform 1.4s var(--dp-ease-out) 1.25s;
  }

  .dl-js .dl-stat {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s var(--dp-ease), transform 0.7s var(--dp-ease);
    transition-delay: calc(var(--i, 0) * 110ms + 1s);
  }

  .dl-ready .dl-stats::before,
  .dl-ready .dl-stat {
    opacity: 1;
    transform: none;
  }

  /* Section headers: the parts arrive in turn instead of the block as a whole. */
  .dl-js .dl-head[data-reveal]:not(.is-in) {
    opacity: 1;
    transform: none;
  }

  .dl-js .dl-head .dl-eyebrow,
  .dl-js .dl-head .dl-h2,
  .dl-js .dl-head > .dl-lede,
  .dl-js .dl-head .dl-head__side {
    transition: opacity 0.9s var(--dp-ease), transform 0.9s var(--dp-ease), filter 0.9s var(--dp-ease);
  }

  .dl-js .dl-head .dl-h2 {
    transition-delay: 0.12s;
  }

  .dl-js .dl-head > .dl-lede,
  .dl-js .dl-head .dl-head__side {
    transition-delay: 0.3s;
  }

  .dl-js .dl-head:not(.is-in) .dl-eyebrow {
    opacity: 0;
    transform: translateY(10px);
  }

  .dl-js .dl-head:not(.is-in) .dl-h2 {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(10px);
  }

  .dl-js .dl-head:not(.is-in) > .dl-lede,
  .dl-js .dl-head:not(.is-in) .dl-head__side {
    opacity: 0;
    transform: translateY(18px);
  }

  .dl-js .dl-head .dl-eyebrow__rule {
    transform-origin: left;
    transition: transform 0.9s var(--dp-ease-out) 0.25s;
  }

  .dl-js .dl-head--center .dl-eyebrow__rule:last-child {
    transform-origin: right;
  }

  .dl-js .dl-head:not(.is-in) .dl-eyebrow__rule {
    transform: scaleX(0);
  }

  .dl-head.is-in .dl-accent {
    animation: dl-sheen-once 1.8s var(--dp-ease) 0.6s both;
  }

  /* About: the photo opens like a shutter while the picture settles. */
  .dl-js .dl-bento__photo[data-reveal] {
    clip-path: inset(0 0 0 0 round 24px);
    transition: clip-path 1.3s var(--dp-ease-out);
  }

  .dl-js .dl-bento__photo[data-reveal]:not(.is-in) {
    opacity: 1;
    transform: none;
    clip-path: inset(100% 0 0 0 round 24px);
  }

  .dl-js .dl-bento__photo img {
    transition: transform 1.8s var(--dp-ease-out);
  }

  .dl-js .dl-bento__photo.is-settled img {
    transition-duration: 0.9s;
  }

  .dl-js .dl-bento__photo:not(.is-in) img {
    transform: scale(1.2);
  }

  .dl-js .dl-bento__photo .dl-badge,
  .dl-js .dl-bento__photo .dl-caption {
    transition: opacity 0.6s var(--dp-ease) 0.8s, transform 0.8s var(--dp-ease-land) 0.8s;
  }

  .dl-js .dl-bento__photo:not(.is-in) .dl-badge {
    opacity: 0;
    transform: translateY(-14px) scale(0.9);
  }

  .dl-js .dl-bento__photo:not(.is-in) .dl-caption {
    opacity: 0;
    transform: translateY(10px);
  }

  /* About: "Our aim" fills from the bottom like a tank, then its words rise. */
  .dl-js .dl-numcard--dark[data-reveal] {
    clip-path: inset(0 0 0 0 round 24px);
    transition: clip-path 1.4s var(--dp-ease-out), transform 0.5s var(--dp-ease), box-shadow 0.5s var(--dp-ease);
  }

  .dl-js .dl-numcard--dark[data-reveal]:not(.is-in) {
    opacity: 1;
    transform: none;
    clip-path: inset(100% 0 0 0 round 24px);
  }

  /* Clipping would also cut off the shadow, so it comes off once the card has filled. */
  .dl-js .dl-numcard--dark.is-settled {
    clip-path: none;
  }

  .dl-js .dl-numcard--dark > :not(.dl-numcard__n) {
    transition: opacity 0.8s var(--dp-ease) 0.6s, transform 0.8s var(--dp-ease) 0.6s;
  }

  .dl-js .dl-numcard--dark:not(.is-in) > :not(.dl-numcard__n) {
    opacity: 0;
    transform: translateY(20px);
  }

  .dl-numcard--dark.is-in .dl-accent {
    animation: dl-sheen-once 1.8s var(--dp-ease) 1.2s both;
  }

  /* About: the big numbers slide down into place; values pop in; links slide in. */
  .dl-js .dl-numcard__n,
  .dl-js .dl-service__n {
    transition: color 0.4s var(--dp-ease), opacity 1s var(--dp-ease) 0.3s, transform 1.1s var(--dp-ease-out) 0.3s;
  }

  .dl-js .dl-numcard:not(.is-in) .dl-numcard__n {
    opacity: 0;
    transform: translateY(-28px);
  }

  .dl-js .dl-service:not(.is-in) .dl-service__n {
    opacity: 0;
    transform: translateX(28px);
  }

  .dl-js .dl-chips--static li,
  .dl-js .dl-arrow-links li {
    transition: opacity 0.5s var(--dp-ease), transform 0.65s var(--dp-ease-land);
    transition-delay: calc(var(--c, 0) * 70ms + 0.4s);
  }

  .dl-js .dl-numcard:not(.is-in) .dl-chips--static li {
    opacity: 0;
    transform: scale(0.8) translateY(8px);
  }

  .dl-js .dl-numcard:not(.is-in) .dl-arrow-links li {
    opacity: 0;
    transform: translateX(-16px);
  }

  /* Services: the tile springs in, then its icon draws itself (pathLength="1" on every shape). */
  .dl-js :is(.dl-service, .dl-reason, .dl-infocard) .dl-tile {
    transition: background-color 0.35s var(--dp-ease), color 0.35s var(--dp-ease), opacity 0.5s var(--dp-ease), transform 0.75s var(--dp-ease-land);
    transition-delay: 0s, 0s, calc(var(--i, 0) * 70ms + 0.25s), calc(var(--i, 0) * 70ms + 0.25s);
  }

  .dl-js :is(.dl-service, .dl-reason, .dl-infocard).is-settled .dl-tile {
    transition-delay: 0s;
  }

  .dl-js :is(.dl-service, .dl-reason, .dl-infocard):not(.is-in) .dl-tile {
    opacity: 0;
    transform: scale(0.5) rotate(-25deg);
  }

  .dl-js :is(.dl-service, .dl-reason, .dl-infocard) .dl-icon > * {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1.5s var(--dp-ease) calc(var(--i, 0) * 70ms + 0.45s);
  }

  .dl-js :is(.dl-service, .dl-reason, .dl-infocard):not(.is-in) .dl-icon > * {
    stroke-dashoffset: 1;
  }

  .dl-js :is(.dl-service, .dl-reason, .dl-infocard).is-settled:hover .dl-icon > * {
    animation: dl-redraw 0.9s var(--dp-ease) both;
  }

  /* Station finder: picking a town drops the pin and slides the name in. */
  .dl-tile.is-dropping {
    animation: dl-drop 0.75s var(--dp-ease-land);
  }

  .dl-finder__name.is-swapping {
    animation: dl-swap 0.5s var(--dp-ease);
  }

  .dl-finder__map iframe {
    transition: opacity 0.35s var(--dp-ease), transform 0.5s var(--dp-ease);
  }

  .dl-finder__map.is-loading iframe {
    transform: scale(0.985);
  }

  /* Join us: the panel unfolds to full size. */
  .dl-js .dl-panel[data-observe] {
    clip-path: inset(0 0 0 0 round 32px);
    transition: clip-path 1.3s var(--dp-ease-out);
  }

  .dl-js .dl-panel[data-observe]:not(.is-in) {
    clip-path: inset(8% 6% 8% 6% round 48px);
  }

  /* Contact: the detail cards come in from the left. */
  .dl-js [data-reveal="left"]:not(.is-in) {
    transform: translateX(-32px);
  }

  /* Footer: the brand line draws across and the wordmark rises letter by letter. */
  .dl-js .dl-footer::before {
    transform-origin: left;
    transition: transform 1.6s var(--dp-ease-out);
  }

  .dl-js .dl-footer:not(.is-in)::before {
    transform: scaleX(0);
  }

  .dl-js .dl-footer__mark > span {
    transition: transform 1.3s var(--dp-ease-out), opacity 1.3s var(--dp-ease);
    transition-delay: calc(var(--l, 0) * 90ms + 0.2s);
  }

  .dl-js .dl-footer:not(.is-in) .dl-footer__mark > span {
    opacity: 0;
    transform: translateY(60%);
  }

  .dl-footer__top:hover .dl-footer__top-icon {
    animation: dl-bob 0.9s var(--dp-ease) infinite;
  }
}

@keyframes dl-sheen {
  0% { background-position: 100% 0; }
  26%,
  100% { background-position: 0% 0; }
}

@keyframes dl-sheen-once {
  from { background-position: 100% 0; }
  to { background-position: 0% 0; }
}

@keyframes dl-redraw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes dl-drop {
  0% { transform: translateY(-22px) scale(0.85); opacity: 0; }
  55% { transform: translateY(3px) scale(1.08, 0.9); opacity: 1; }
  80% { transform: translateY(-2px) scale(0.97, 1.03); }
  100% { transform: none; }
}

@keyframes dl-swap {
  from { opacity: 0; transform: translateY(10px); }
}

@keyframes dl-bob {
  50% { transform: translateY(-3px); }
}

@keyframes dl-scroll {
  to { transform: translateX(-50%); }
}

@keyframes dl-scroll-quarter {
  to { transform: translateX(-25%); }
}

@keyframes dl-drift {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.08) translate(-1.5%, 1%); }
}

@keyframes dl-spin {
  to { transform: rotate(360deg); }
}

@keyframes dl-float-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(180px, 120px) scale(1.15); }
}

@keyframes dl-float-b {
  from { transform: translate(0, 0) scale(1.1); }
  to { transform: translate(-160px, -90px) scale(0.95); }
}

@keyframes dl-ping {
  75%,
  100% { transform: scale(2.6); opacity: 0; }
}

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

  .dl *,
  .dl *::before,
  .dl *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  /* No marquee: one copy of each row, wrapped. */
  .dl-strip {
    display: none;
  }

  .dl-marquee__track {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 0;
    width: auto;
  }

  .dl-marquee__window {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .dl-marquee__track li[aria-hidden="true"] {
    display: none;
  }
}

/* ---------------------------------------------------------------- Smaller screens */

@media (max-width: 1180px) {
  .dl-stats__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 22px;
  }

  .dl-stat:nth-child(4) {
    border-left: 0;
  }

  .dl-bento__photo {
    grid-row: 1 / span 3;
  }

  .dl-numcard--mission,
  .dl-numcard--values {
    grid-column: 6 / span 7;
  }

  .dl-numcard--leaders .dl-arrow-links {
    margin-right: 0;
  }
}

@media (max-width: 1140px) {
  .dl-header__bar {
    flex-wrap: wrap;
    gap: 0 16px;
    max-height: calc(100vh - 28px);
    padding: 0 10px 0 16px;
    overflow-y: auto;
  }

  .dl-logo {
    min-height: 62px;
  }

  .dl-menu-toggle {
    display: inline-flex;
  }

  /* The menu opens inside the bar. */
  .dl-nav {
    display: none;
    flex-basis: 100%;
    padding: 4px 6px 16px;
    border-top: 1px solid var(--dp-line);
  }

  .dl-header.is-open .dl-nav {
    display: block;
  }

  .dl-header.is-open .dl-header__bar {
    background: rgba(255, 255, 255, 0.97);
  }

  .dl .dl-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .dl-menu a {
    padding: 14px 4px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid var(--dp-line);
  }

  .dl-menu > li > a::after,
  .dl-menu > li.menu-item-has-children::before {
    display: none;
  }

  .dl-menu .sub-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dl-menu .sub-menu a {
    padding: 11px 4px;
    font-size: 16px;
    font-weight: 500;
    color: var(--dp-muted);
    border-radius: 0;
  }

  .dl-menu .sub-menu a:hover {
    background: transparent;
  }

  .dl-menu > li:has(> a[href$="#contact"]) {
    margin: 16px 0 0;
  }

  .dl-menu > li:has(> a[href$="#contact"]) > a {
    display: flex;
    justify-content: center;
    min-height: 52px;
    border-bottom: 0;
  }
}

@media (max-width: 900px) {
  .dl-hero__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .dl-hero__media {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 54vw 46vw;
    height: auto;
  }

  .dl-shot--station {
    grid-column: 1 / -1;
  }

  .dl-shot--hq {
    grid-column: 2;
    grid-row: 2;
  }

  .dl-stats__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }

  .dl-stat:nth-child(odd) {
    border-left: 0;
  }

  .dl-stat:nth-child(4) {
    border-left: 1px solid var(--dp-line);
  }

  .dl-stat:last-child {
    grid-column: 1 / -1;
  }

  .dl-head,
  .dl-contact__grid,
  .dl-partner__grid,
  .dl-reasons__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dl-reasons .dl-head {
    position: static;
  }

  .dl-bento__photo {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 380px;
  }

  .dl-numcard--vision,
  .dl-numcard--leaders {
    grid-column: 1 / -1;
  }

  .dl-numcard--mission {
    grid-column: 1 / span 6;
  }

  .dl-numcard--values {
    grid-column: 7 / span 6;
  }

  .dl-numcard--leaders {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .dl-finder {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }

  .dl .dl-plates {
    max-height: 300px;
  }

  .dl-finder__map {
    height: 420px;
  }

  .dl-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .dl-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  body.dl {
    font-size: 16px;
  }

  .dl-header {
    top: 10px;
  }

  .dl-logo {
    min-height: 56px;
    font-size: 16.5px;
  }

  .dl-logo img {
    width: 34px;
  }

  .dl-hero {
    padding-top: 84px;
  }

  .dl-hero__panel {
    border-radius: 26px;
  }

  .dl-hero__media {
    gap: 10px;
    grid-template-rows: 60vw 52vw;
  }

  .dl-actions .dl-btn {
    flex: 1 1 100%;
  }

  .dl-stat {
    padding-inline: 14px;
  }

  .dl-stat dt {
    font-size: 13.5px;
  }

  .dl-numcard--mission,
  .dl-numcard--values {
    grid-column: 1 / -1;
  }

  .dl .dl-numcard--leaders .dl-arrow-links,
  .dl-reasons__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .dl-reason {
    min-height: 0;
  }

  .dl-services__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .dl-contact__form .wpcf7 .row {
    grid-template-columns: minmax(0, 1fr);
  }

  .dl-finder {
    padding: 10px;
    border-radius: var(--dp-r-card);
  }

  .dl .dl-plates {
    grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  }

  .dl-plate-btn {
    font-size: 14px;
  }

  .dl-marquee__track li {
    width: 150px;
    height: 88px;
    margin-right: 10px;
  }

  .dl-marquee__track img {
    max-width: 100px;
    max-height: 54px;
  }

  .dl-finder__bar {
    flex-direction: column;
    align-items: stretch;
  }

  .dl-finder__bar .dl-btn {
    width: 100%;
  }

  .dl-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
