:root {
  --nd-red: #ff0717;
  --nd-black: #020202;
  --nd-panel: #090909;
  --nd-panel-2: #060606;
  --nd-white: #f4f3f2;
  --nd-muted: #b8b7b8;
  --nd-line: #343434;
}

html,
body {
  background: var(--nd-black);
}

.nextdot-site {
  margin: 0;
  background: var(--nd-black);
  color: var(--nd-white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.nextdot-site #header,
.nextdot-site .ct-header,
.nextdot-site .site-header,
.nextdot-site .entry-header,
.nextdot-site .ct-footer,
.nextdot-site footer:not(.nd-footer) {
  display: none !important;
}

.nextdot-site .site-content,
.nextdot-site .ct-container,
.nextdot-site .ct-container-full {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.nextdot-site .entry-content,
.nextdot-site main,
.nextdot-site article {
  margin-top: 0;
  margin-bottom: 0;
}

.nextdot-site * {
  box-sizing: border-box;
}

.nd-page {
  overflow: hidden;
  background: var(--nd-black);
  padding-bottom: 24px;
}

.nd-shell {
  width: min(calc(100% - 120px), 1500px);
  margin-inline: auto;
}

/* HERO */
.nd-hero {
  position: relative;
  min-height: 760px;
  padding-top: 58px;
}

.nd-brand {
  width: 280px;
}

.nd-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nd-orb {
  position: absolute;
  top: 152px;
  right: 8%;
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--nd-red);
  box-shadow:
    0 0 34px 14px rgba(255, 7, 23, .26),
    0 0 85px 34px rgba(255, 7, 23, .12);
  animation: nd-orb-glow 5s ease-in-out infinite;
}

@keyframes nd-orb-glow {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.10);
    filter: brightness(1.25);
  }
}

.nd-hero h1 {
  margin: 34px 0 60px;
  max-width: 510px;
  color: var(--nd-white) !important;
  font-size: clamp(36px, 3.05vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1.7px;
}

.nd-hero h1 span {
  color: var(--nd-red) !important;
}

.nd-disciplines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1100px, 86%);
  margin-top: 100px;
}

.nd-disciplines article {
  position: relative;
  min-height: 128px;
  padding-inline: 54px;
}

.nd-disciplines article:first-child {
  padding-left: 0;
}

.nd-disciplines article:last-child {
  padding-right: 0;
}

.nd-disciplines article + article {
  border-left: 1px solid var(--nd-line);
}

.nd-disciplines i,
.nd-footer i {
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--nd-red);
  box-shadow: 0 0 12px rgba(255, 7, 23, .55);
}

.nd-disciplines h2 {
  margin: 0 0 9px;
  color: var(--nd-white) !important;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.5px;
}

.nd-disciplines p {
  margin: 0;
  color: var(--nd-muted) !important;
  font-size: 20px;
  line-height: 1.3;
}

/* CARDS */
.nd-cards {
  display: grid;
  gap: 14px;
}

.nd-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.015);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 46%, rgba(91,0,8,.10), transparent 36%),
    linear-gradient(112deg, #0a0a0a 0%, #070707 62%, #080505 100%);
}

.nd-about {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) 34px minmax(0, .94fr);
  align-items: stretch;
  min-height: 335px;
  padding: 42px 46px 40px;
}

.nd-about-intro {
  align-self: center;
  padding-right: 54px;
}

.nd-about-rule {
  display: block;
  width: 48px;
  height: 1px;
  margin-bottom: 20px;
  background: var(--nd-red);
  opacity: .72;
}

.nd-about h2 {
  margin: 0 0 30px;
  color: var(--nd-white) !important;
  font-size: clamp(38px, 3.55vw, 51px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -2.25px;
}

.nd-about h2 strong {
  color: var(--nd-red);
  font-weight: 300;
}

.nd-about p,
.nd-card p:not(.nd-kicker) {
  margin: 0;
  color: var(--nd-muted) !important;
  font-size: 18px;
  line-height: 1.42;
}

.nextdot-site .nd-page .nd-about-intro p {
  max-width: 480px;
  font-size: clamp(27px, 2.35vw, 28px) !important;
}

.nd-about-divider,
.nd-marker {
  position: relative;
  width: 24px;
  border-left: 1px solid #484848;
}

.nd-about-divider {
  justify-self: center;
}

.nd-about-divider b,
.nd-marker b {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 9px;
  height: 9px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--nd-red);
  box-shadow: 0 0 12px rgba(255, 7, 23, .62);
}

.nd-about-copy {
  align-self: center;
  padding-left: 30px;
}

.nd-about-copy p + p {
  margin-top: 27px;
}

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

.nd-service-card {
  display: flex;
  min-height: 345px;
  padding: 38px 34px 36px 38px;
}

.nd-card-copy {
  max-width: 450px;
  padding-right: 24px;
}

.nd-kicker {
  margin: 0 0 16px;
  color: var(--nd-red) !important;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.nd-service-card h2 {
  margin: 0 0 20px;
  color: var(--nd-white) !important;
  font-size: clamp(27px, 2.35vw, 34px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1.25px;
}

.nd-service-card .nd-marker {
  margin-left: auto;
  flex: 0 0 24px;
}

/* CLIENTS */
.nd-clients {
  padding: 34px 0 18px;
}

.nd-clients-title {
  margin-bottom: 14px;
  color: #d4d3d3 !important;
  letter-spacing: 2px;
}

.nd-client-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: repeat(3, 83px);
}

/* Reference has only the four continuous vertical separators. */
.nd-client-grid::before {
  content: "";
  position: absolute;
  inset: 4px 0 4px 0;
  pointer-events: none;
  background:
    linear-gradient(to right,
      transparent 19.94%, #292929 19.94%, #292929 20.06%, transparent 20.06%,
      transparent 39.94%, #292929 39.94%, #292929 40.06%, transparent 40.06%,
      transparent 59.94%, #292929 59.94%, #292929 60.06%, transparent 60.06%,
      transparent 79.94%, #292929 79.94%, #292929 80.06%, transparent 80.06%);
  opacity: .72;
}

.nd-client-logo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 83px;
  padding: 8px 24px;
}

.nd-client-logo img {
  display: block;
  width: 150px;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .42;
}

/* FOOTER */
.nd-footer {
  display: grid;
  grid-template-columns: 1fr auto 14px;
  align-items: center;
  gap: 26px;
  min-height: 56px;
  border-top: 1px solid #2a2a2a;
  color: var(--nd-white);
  font-size: 13px;
}

.nd-footer p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--nd-white) !important;
}

.nd-footer p i {
  flex: 0 0 auto;
  margin: 0;
}

.nd-footer > a {
  color: var(--nd-white);
  text-decoration: none;
}

.nd-footer > i {
  width: 10px;
  height: 10px;
  margin: 0;
}

/* Blocksy/WordPress colour overrides */
.nextdot-site .nd-page h1,
.nextdot-site .nd-page h2,
.nextdot-site .nd-page h3,
.nextdot-site .nd-page h4 {
  color: var(--nd-white) !important;
}

.nextdot-site .nd-page p {
  color: var(--nd-muted);
}

.nextdot-site .nd-page .nd-kicker,
.nextdot-site .nd-page .nd-about h2 strong,
.nextdot-site .nd-page .nd-hero h1 span {
  color: var(--nd-red) !important;
}

@media (max-width: 980px) {
  .nd-shell {
    width: min(calc(100% - 64px), 1280px);
  }

  .nd-hero {
    min-height: 660px;
  }

  .nd-disciplines {
    width: 84%;
  }

  .nd-about {
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    padding-inline: 34px;
  }

  .nd-about-intro {
    padding-right: 28px;
  }

  .nd-about-copy {
    padding-left: 20px;
  }

  .nd-client-logo {
    padding-inline: 16px;
  }
}

@media (max-width: 750px) {
  .nd-shell {
    width: min(calc(100% - 40px), 1280px);
  }

  .nd-hero {
    min-height: auto;
    padding-top: 34px;
    padding-bottom: 56px;
  }

  .nd-brand {
    width: 125px;
  }

  .nd-orb {
    top: 118px;
    right: 4%;
    width: 104px;
  }

  .nd-hero h1 {
    margin: 31px 0 37px;
    font-size: 31px;
  }

  .nd-disciplines {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nd-disciplines article {
    min-height: 0;
    padding: 0;
  }

  .nd-disciplines article + article {
    padding: 18px 0 0;
    border-top: 1px solid #333;
    border-left: 0;
  }

  .nd-about {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 30px 24px;
  }

  .nd-about-intro {
    padding-right: 0;
  }

  .nd-about h2 {
    font-size: 39px;
    margin-bottom: 22px;
  }

  .nd-about-divider {
    display: none;
  }

  .nd-about-copy {
    padding: 27px 0 0;
  }

  .nd-supporting {
    grid-template-columns: 1fr;
  }

  .nd-service-card {
    min-height: 0;
    padding: 28px 22px;
  }

  .nd-service-card h2 {
    font-size: 29px;
  }

  .nd-marker {
    display: none;
  }

  .nd-client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 84px;
  }

  .nd-client-grid::before {
    inset: 4px 0;
    background: linear-gradient(to right, transparent 49.86%, #292929 49.86%, #292929 50.14%, transparent 50.14%);
  }

  .nd-client-logo {
  height: 84px;
  padding: 8px 12px;
}

.nd-client-logo img {
  width: 120px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .42;
  }

  .nd-footer {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 0;
    font-size: 12px;
  }

  .nd-footer > i {
    display: none;
  }
}
